How do you create a table just like above, with different number of visible columns depending on the rows.


  • 1
    Welcome to TeX.SX! Can you show an intended application? Usually such tables are better realized in different formats. – egreg Feb 11 '17 at 22:04

See: enter link description here

% Kommentieren Sie die folgende Zeile aus um das Einbinden von Grafiken zu ermöglichen (.png, .jpg)
% Kommentieren Sie die folgende Zeile ein um KEINE Umlaute zu ermöglichen
% Das Dokument beginnt hier

\multicolumn{2}{c|}{} & \multicolumn{3}{c|}{numbers} \\
\multicolumn{2}{c|}{} & 1 & 2 & 3 \\
\multirow{3}{*}{\begin{sideways} letters~ \end{sideways}} & A & A1 & A2 & A3 \\
& B & B1 & B2 & B3 \\
& C & C1 & C2 & C3 \\
%\caption{Table caption.}


enter image description here


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.