1

I currently made the following table; enter image description here

Which corresponds to this code:

\begin{table}[]
\begin{tabular}{lll}
&                                    &             \\
& \multicolumn{1}{l|}{Small Value}   & Big Value   \\ \cline{2-3} 
& \multicolumn{1}{l|}{Small Neutral} & Big Neutral \\ \cline{2-3} 
& \multicolumn{1}{l|}{Small Growth}  & Big Growth 
\end{tabular}
\end{table}

I would like to add some text above the vertical separation line, as well as to the left of the horizontal lines. Specifically, I would like something as follows:

enter image description here

Is this possible?

  • The text above the vertical line is quite easy if you replace your first empty line with & \multicolumn{2}{c}{Median ME} \\ . – leandriis Jun 27 at 8:00
  • Thank you that works. Would it perhaps be possible to do something similar with multirow for the text for the midrules? – Rik Jun 27 at 8:03
2

With the use of \multicolumn and \multirow as well as some simplification fo your code:

enter image description here

\documentclass{article}
\usepackage{multirow}

\begin{document}
\begin{table}
\begin{tabular}{ll|l}
                                                          & \multicolumn{2}{c}{Median ME}       \\
\multirow{2.2}{*}{70\textsuperscript{th} BE/ME percentile}& Small Value   & Big Value           \\ \cline{2-3} 
\multirow{2.2}{*}{30\textsuperscript{th} BE/ME percentile}& Small Neutral & Big Neutral         \\ \cline{2-3} 
                                                          & Small Growth  & Big Growth 
\end{tabular}
\end{table}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.