diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tabellen/06-00-2.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-tabellen/06-00-2.ltx | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tabellen/06-00-2.ltx b/Master/texmf-dist/doc/latex/latex-tabellen/06-00-2.ltx new file mode 100644 index 00000000000..c1062061a39 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-tabellen/06-00-2.ltx @@ -0,0 +1,40 @@ +%% +%% A DANTE-Edition example +%% +%% Beispiel 06-00-2 auf Seite 179. +%% +%% 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{355.65944pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} +\setlength\textwidth{300pt} + +\usepackage{tabularx,booktabs,ragged2e} +\newcommand{\raggedcolumn}{\RaggedRight\hspace{0pt}} +\newcommand{\centercolumn}{\Centering\hspace{0pt}} + +\begin{document} +\renewcommand*{\tabularxcolumn}[1]{b{#1}}% +\begin{tabularx}{\textwidth}{@{}*{3}{>{\raggedcolumn}X}*{3} +{>{\raggedcolumn}X}@{}}\toprule +Überschrift 1 & Überschrift 2 & Überschrift 3 & +Überschrift 4 & Überschrift 5 & Überschrift +6, die etwas länger als gewöhnlich ist\\\midrule +foo & bar & baz & gg & gg & gg\\\midrule +foo & bar & baz & gg & gg & dd\\\bottomrule +\end{tabularx} +\end{document} |