summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung2/08-05-2.ltx2crop
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/einfuehrung2/08-05-2.ltx2crop')
-rw-r--r--Master/texmf-dist/doc/latex/einfuehrung2/08-05-2.ltx2crop50
1 files changed, 50 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/einfuehrung2/08-05-2.ltx2crop b/Master/texmf-dist/doc/latex/einfuehrung2/08-05-2.ltx2crop
new file mode 100644
index 00000000000..427966d828b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/einfuehrung2/08-05-2.ltx2crop
@@ -0,0 +1,50 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%% 2. Auflage
+%%
+%% Beispiel 08-05-2 auf Seite 317.
+%%
+%% 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,3
+%%
+%%
+\documentclass[ngerman]{exaarticle}
+\pagestyle{empty}
+\setlength\textwidth{128.77953pt}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage{babel}
+\usepackage{textdemo,fancybox}
+\setlength\textwidth{6cm}
+\setlength\textheight{8cm}
+\usepackage{xcolor}\let\Rule\rule
+\renewcommand\rule[2]{{\color{lightgray}\Rule{#1}{#2}}}
+\fancypage{\setlength\fboxsep{4pt}\fbox}{}
+\AtBeginDocument{\sloppy}
+%StartShownPreambleCommands
+\usepackage{varioref}
+%StopShownPreambleCommands
+\begin{document}
+\noindent\texttt{belowcaptionskip} $\rightarrow$ \the\belowcaptionskip\\
+ \texttt{abovecaptionskip} $\rightarrow$ \the\abovecaptionskip
+\setlength\abovecaptionskip{5pt plus 3pt minus 1pt}
+\let\belowcaptionskip\abovecaptionskip\par \textDemo
+\begin{figure}[htb] \centering\rule{0.75\linewidth}{1cm}
+\caption{Ein breiter, schwarzer Strich}\label{fig:demo}
+\end{figure} \textDemo \begin{table}[!h]
+\caption{Ein breite, schwarze Tabelle}\label{tab:demo}
+\centering\rule{0.75\linewidth}{2.75cm}
+\end{table}
+\textDemo \vfill
+Siehe auch Abbildung~\vref{fig:demo} und Tabelle~\vref{tab:demo}\ldots
+\end{document}