diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tabellen/02-11-11.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-tabellen/02-11-11.ltx | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tabellen/02-11-11.ltx b/Master/texmf-dist/doc/latex/latex-tabellen/02-11-11.ltx new file mode 100644 index 00000000000..eb725afde37 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-tabellen/02-11-11.ltx @@ -0,0 +1,44 @@ +%% +%% A DANTE-Edition example +%% +%% Beispiel 02-11-11 auf Seite 69. +%% +%% Copyright (C) 2010 H. Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +%%Run also: >> << +% Show page(s) 1 + +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{194.59192pt} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\setlength\parindent{0pt} + +\usepackage{multirow,makecell} + +\begin{document} +\begin{tabular}{ l c c }\hline +\multirowthead{4}{Erster Spaltenkopf} + & \multicolumn{2}{c}{\thead{Mehrspaltenkopf}}\\\cline{2-3} + & \thead{Zweiter und\\mehrzeiliger\\Spaltenkopf} & \thead{Dritter\\Spaltenkopf}\\\hline +Zellentext & A &\multirowcell{4}{28--31}\\ \cline{1-2} +\makecell{Mehrzeiliger \\ Zellentext} & B & \\ \hline +\makecell[l]{Linksbündiger \\ Zellentext} & C + & \multirowcell{4}[.5\normalbaselineskip][l]{37--43}\\\cline{1-2} +\makecell[r]{Rechtsbündiger \\ Zellentext} & D & \\\hline +\makecell[b]{Fußbündiger \\ Zellentext} & E + & \multirowcell{6}[\normalbaselineskip][r]{37--43\\52--58}\\\cline{1-2} +\makecell[{{p{5cm}}}]{langer langer langer + Zellentext mit fester Breite} & F & \\\cline{1-2} +\makecell[{{>{\setlength\parindent{1em}}p{5cm}}}]{langer langer langer + Zellentext mit fester Breite} & G & \\\hline +\end{tabular} +\end{document} |