summaryrefslogtreecommitdiff
path: root/info/examples/Einfuehrung/08-06-2.ltx2crop
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/Einfuehrung/08-06-2.ltx2crop')
-rw-r--r--info/examples/Einfuehrung/08-06-2.ltx2crop56
1 files changed, 56 insertions, 0 deletions
diff --git a/info/examples/Einfuehrung/08-06-2.ltx2crop b/info/examples/Einfuehrung/08-06-2.ltx2crop
new file mode 100644
index 0000000000..895e8c428d
--- /dev/null
+++ b/info/examples/Einfuehrung/08-06-2.ltx2crop
@@ -0,0 +1,56 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%% 1. Auflage
+%%
+%% Beispiel 08-06-2 auf Seite 342.
+%%
+%% Copyright (C) 2012 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{166.324pt}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage[ngerman]{babel}
+\usepackage{fancybox}
+\usepackage{xcolor}\let\Rule\rule
+\renewcommand\rule[2]{{\color{lightgray}\Rule{#1}{#2}}}
+\setlength\textwidth{6cm}
+\setlength\textheight{8cm}
+\fancypage{\setlength\fboxsep{4pt}\fbox}{}
+\StartShownPreambleCommands
+\usepackage{caption} \DeclareCaptionFormat%
+ {NewLine}{\textbf{#1}\newline#3\par}
+\StopShownPreambleCommands
+\begin{document}
+\begin{table}\centering\rule{0.7\linewidth}{2mm}
+\caption{Eine standardmäßige Beschriftung,
+ die über mehrere Zeilen geht.}
+\end{table}
+\captionsetup{format=NewLine}
+\begin{table}\centering\rule{0.7\linewidth}{2mm}
+\caption{Eine formatierte Beschriftung,
+ die über mehrere Zeilen geht.}
+\end{table}
+\begin{table}\centering\rule{0.7\linewidth}{2mm}
+\captionsetup{indention=2em}
+\caption{Eine formatierte Beschriftung,
+ die über mehrere Zeilen geht.}
+\captionsetup{format=hang,indention=-2em}
+\captionof{figure}{Eine formatierte
+ Bildbeschriftung, die über mehrere
+ Zeilen geht.}
+\end{table}
+\end{document}