Posts

Showing posts from December 17, 2018

vertical alignment of a turned cell

Image
up vote 1 down vote favorite I know using turn command and a sample code like this: usepackage{rotating} begin{turn}{90} Supervised Learning end{turn}} we can rotate a text inside a cell, however, I couldn't find a way to vertically center this rotated text. Any suggestions is appreciated. Here is the sample MWE: begin{table} centering begin{tabular}{|>{centeringarraybackslash}m{0.5cm}|c|>{centeringarraybackslash}m{8cm}|} hline multicolumn{2}{|c|}{Classification} & References \ hline %multirow{2}{*}{{begin{turn}{90}Supervised Learningend{turn}}} multirow{2}{*}{rotatebox[origin=c]{90}{Supervised Learning}} end{tabular} caption{A Classification} label{tab:Machine_Learning_models} end{table} tables ro