Samstag, 25. März 2017

multirow zu viel Inhalt

\documentclass{article}
\usepackage{multirow}
\usepackage{booktabs}
\begin{document}
\begin{tabular}{lll}
\toprule
Teacher & Title & Year \\
\midrule
\multirow{3}{2cm}{ neither \textbackslash newline nor 
\textbackslash linebreak nor \textbackslash\textbackslash will work
 in multirow} & First steps \LaTeX{} & 2004 \\ 
 & \LaTeX{} course & 2005 \\ 
 & \LaTeX{} seminar & 2009 \\ 
\bottomrule
\end{tabular}
\end{document}
multirow angepasst für zu viel Inhalt
 
\documentclass{article}
\usepackage{multirow}
\usepackage{booktabs}
\begin{document}
\begin{tabular}{lll}
\toprule
Teacher & Title & Year \\
\midrule
\multirow{3}{2cm}{ neither \textbackslash newline nor 
\textbackslash linebreak nor \textbackslash\textbackslash will 
work in multirow} & \rule[-10pt]{0pt}{20pt}First steps 
\LaTeX{} & 2004 \\ 
 & \rule[-10pt]{0pt}{28pt}\LaTeX{} course & 2005 \\ 
 & \rule[-10pt]{0pt}{28pt}\LaTeX{} seminar & 2009 \\ 
\bottomrule
\end{tabular}
\end{document}

Keine Kommentare:

Kommentar veröffentlichen