summaryrefslogtreecommitdiff
path: root/info/examples/Einfuehrung2/06-03-71.ltx2
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/Einfuehrung2/06-03-71.ltx2')
-rw-r--r--info/examples/Einfuehrung2/06-03-71.ltx254
1 files changed, 54 insertions, 0 deletions
diff --git a/info/examples/Einfuehrung2/06-03-71.ltx2 b/info/examples/Einfuehrung2/06-03-71.ltx2
new file mode 100644
index 0000000000..900143b6a4
--- /dev/null
+++ b/info/examples/Einfuehrung2/06-03-71.ltx2
@@ -0,0 +1,54 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%% 2. Auflage
+%%
+%% Beispiel 06-03-71 auf Seite 259.
+%%
+%% Copyright (C) 2016 Herbert 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.
+%%
+%%
+%% ====
+% Show page(s) 1,2
+%%
+%%
+\documentclass[]{exaarticle}
+\pagestyle{empty}
+\setlength\textwidth{172.40709pt}
+\usepackage[utf8]{inputenc}% adapt maybe
+\usepackage[paper=70mm:82mm,pagesize]{typearea}
+\setlength\parindent{0pt}
+\usepackage[ngerman]{babel}
+\usepackage{fancyhdr}
+\lhead{\small\texttt{\textbackslash caption}-Demo}
+\pagestyle{fancy}
+\setcounter{page}{1}
+\renewcommand\thepage{Seite \arabic{page}}
+%StartShownPreambleCommands
+\usepackage{longtable}
+\setlength\LTcapwidth{1in}
+%StopShownPreambleCommands
+\begin{document}
+Belangloser Text vor der nun einzufügenden \texttt{longtable}.
+\begin{longtable}{@{}l c r p{1.5cm}@{}}
+L & Z & R & Box\\\hline
+\endfirsthead
+\multicolumn{4}{@{}l}{\small\ldots\emph{Fortsetzung}}\\\hline L & Z & R & Box\\\hline
+\endhead
+\hline
+\multicolumn{4}{r@{}}{\small\emph{Fortsetzung nächste Seite} \ldots}
+\endfoot
+\endlastfoot% leerer letzter Fuß, keine Linie nach caption
+l & c & r & 1. Zeile\\ l & c & r & 2. Zeile\\ l & c & r & 3. Zeile\\
+l & c & r & 4. Zeile\\ l & c & r & 5. Zeile\\ l & c & r & 6. Zeile\\
+l & c & r & 7. Zeile\\ l & c & r & 8. Zeile\\ l & c & r & 9. Zeile\\
+l & c & r &10. Zeile\\ l & c & r &11. Zeile\\ l & c & r &12. Zeile\\\hline
+\caption{Tabellenunterschrift mit 1\,Inch Breite}
+\end{longtable}
+\end{document}