File: 08-06-6.ltx2crop

package info (click to toggle)
texlive-lang 2016.20170123-5
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,093,148 kB
  • ctags: 15,901
  • sloc: perl: 46,074; xml: 29,603; makefile: 5,248; sh: 3,179; python: 2,949; ansic: 2,846; ruby: 945; lisp: 726; awk: 636; java: 159; sed: 142; cpp: 12
file content (71 lines) | stat: -rw-r--r-- 2,659 bytes parent folder | download | duplicates (2)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  2. Auflage
%% 
%%  Beispiel 08-06-6 auf Seite 329.
%% 
%%  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[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{128.77953pt}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{fancybox}
\setlength\textwidth{6cm}
\setlength\textheight{8cm}
\usepackage{xcolor}\let\Rule\rule
\renewcommand\rule[2]{{\color{lightgray}\Rule{#1}{#2}}}
\AtBeginDocument{\addtolength\abovecaptionskip{-3pt}
\addtolength\belowcaptionskip{-2pt}}
\fancypage{\setlength\fboxsep{4pt}\fbox}{}
\makeatletter\renewcommand\fps@figure{!ht}\makeatother
%StartShownPreambleCommands
\usepackage{caption}
\usepackage{ragged2e}% ragged2e wegen Centering
\DeclareCaptionJustification{Centering}{\Centering}
\newcommand\Rest{die, wie hier deutlich zu sehen ist, auch ohne weiteres
mehrere Zeilen lang sein kann.}
%StopShownPreambleCommands
\begin{document}
\begin{figure} \centering\rule{0.75\linewidth}{2mm}
\caption{Eine standardmäßige Beschriftung ohne Formatierung}
\end{figure} \begin{figure}
\centering\rule{0.75\linewidth}{2mm}  \captionsetup{justification=justified}
\caption{Eine \emph{justified} Beschriftung, \Rest}
\end{figure} \begin{figure}
\centering\rule{0.75\linewidth}{2mm}  \captionsetup{justification=centering}
\caption{Eine \emph{centering} Beschriftung, \Rest}
\end{figure} \begin{figure}
\centering\rule{0.75\linewidth}{2mm}  \captionsetup{justification=centerlast}
\caption{Eine \emph{centerlast} Beschriftung, \Rest}
\end{figure} \begin{figure}
\centering\rule{0.75\linewidth}{2mm}  \captionsetup{justification=centerfirst}
\caption{Eine \emph{centerfirst} Beschriftung, \Rest}
\end{figure} \begin{figure}
\centering\rule{0.75\linewidth}{2mm}  \captionsetup{justification=raggedright}
\caption{Eine \emph{raggedright} Beschriftung, \Rest}
\end{figure} \begin{figure}
\centering\rule{0.75\linewidth}{2mm}  \captionsetup{justification=RaggedRight}
\caption{Eine \emph{RaggedRight} Beschriftung, \Rest}
\end{figure} \begin{figure}
\centering\rule{0.75\linewidth}{2mm}  \captionsetup{justification=raggedleft}
\caption{Eine \emph{raggedleft} Beschriftung, \Rest}
\end{figure} \begin{figure}
\centering\rule{0.75\linewidth}{2mm}  \captionsetup{justification=Centering}
\caption{Eine \emph{eigene} Beschriftung, \Rest}
\end{figure}
\end{document}