Samstag, 25. März 2017

tabulary multirow

tabulary multirow fail
\documentclass{article}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{tabulary}
\begin{document}
\begin{tabulary}{0.8\textwidth}{RCL}
\toprule
Teacher & Title & Year \\
\midrule
\multirow{3}{*}{ 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{tabulary}
\end{document}
tabulary right multirow
\documentclass{article}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{tabulary}
\begin{document}
\begin{tabulary}{0.8\textwidth}{RCL}
\toprule
Teacher & Title & Year \\
\midrule
\multirow{3}{=}{ 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{tabulary}
\end{document}
tabulary center multirow
\documentclass{article}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{tabulary}
\begin{document}
\begin{tabulary}{0.8\textwidth}{CLR}
\toprule
Teacher & Title & Year \\
\midrule
\multirow{3}{=}{ 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{tabulary}
\end{document}
tabulary left multirow
\documentclass{article}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{tabulary}
\begin{document}
\begin{tabulary}{0.8\textwidth}{LRC}
\toprule
Teacher & Title & Year \\
\midrule
\multirow{3}{=}{ 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{tabulary}
\end{document}

Keine Kommentare:

Kommentar veröffentlichen

Hinweis: Nur ein Mitglied dieses Blogs kann Kommentare posten.