summaryrefslogtreecommitdiff
path: root/info/examples/Einfuehrung2/08-06-2.ltx2crop
blob: 95284c1039dd8bbd65b04b896734033e5d3c5a56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  2. Auflage
%% 
%%  Beispiel 08-06-2 auf Seite 324.
%% 
%%  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[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}