summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung2/08-07-12.ltx2crop
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/einfuehrung2/08-07-12.ltx2crop')
-rw-r--r--Master/texmf-dist/doc/latex/einfuehrung2/08-07-12.ltx2crop59
1 files changed, 59 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/einfuehrung2/08-07-12.ltx2crop b/Master/texmf-dist/doc/latex/einfuehrung2/08-07-12.ltx2crop
new file mode 100644
index 00000000000..1e12b0913c1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/einfuehrung2/08-07-12.ltx2crop
@@ -0,0 +1,59 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%% 2. Auflage
+%%
+%% Beispiel 08-07-12 auf Seite 349.
+%%
+%% 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
+%%
+%%
+\documentclass[]{exaarticle}
+\pagestyle{empty}
+\setlength\textwidth{169.16928pt}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage{fancybox}
+\usepackage[ngerman]{babel}
+\usepackage{xcolor}\let\Rule\rule
+\renewcommand\rule[2]{{\color{lightgray}\Rule{#1}{#2}}}
+\setlength\textwidth{9cm}
+\setlength\textheight{12cm}
+\fancypage{\setlength\fboxsep{4pt}\fbox}{}
+%StartShownPreambleCommands
+\usepackage{caption,floatrow}
+\captionsetup{font={sf,small},
+ justification=raggedright}
+\floatsetup[figure]{style=plain}
+%StopShownPreambleCommands
+\begin{document}
+\begin{figure}\centering
+\begin{tabular}{p{3cm}p{3cm}}
+\rule{3cm}{2cm} & \rule{3cm}{2cm}\\
+\rule{3cm}{2cm} & \RawCaption{\caption{%
+ Eine Beschriftung, die über mehrere Zeilen
+ geht}\label{foo}}
+\end{tabular}
+\end{figure}
+\begin{figure}[!htb]\centering
+\begin{tabular}{p{3cm}p{3cm}}
+\rule{3cm}{1.5cm} & \rule{3cm}{1.5cm}\\
+\rule{3cm}{1.5cm} & \caption{%
+ Eine Beschriftung, die über mehrere Zeilen
+ geht}\label{bar}
+\end{tabular}
+\end{figure}
+\noindent Die Abbildungen~\ref{foo} und
+\ref{bar} zeigen, dass es nicht egal ist,
+wie man die Beschriftung setzt, weil \ldots
+\end{document}