Samstag, 25. März 2017

latex multirow hline

\documentclass{article}
\usepackage{multirow}
\begin{document}
\begin{tabular}{|l|l|l|}
\hline
Teacher & Title & Year \\
\hline
\hline
\multirow{3}{*}{Dave Miller} & First steps \LaTeX{} & 2004 \\ \hline
 & \LaTeX{} course & 2005 \\ \hline
 & \LaTeX{} seminar & 2009 \\ 
\hline
\end{tabular}
\end{document}
latex multirow and cline
\documentclass{article}
\usepackage{multirow}
\begin{document}
\begin{tabular}{|l|l|l|}
\hline
Teacher & Title & Year \\
\hline
\hline
\multirow{3}{*}{Dave Miller} & First steps \LaTeX{} & 2004 \\ \cline{2-3}
 & \LaTeX{} course & 2005 \\ \cline{2-3}
 & \LaTeX{} seminar & 2009 \\ 
\hline
\end{tabular} 
\end{document}

Keine Kommentare:

Kommentar veröffentlichen