summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung/08-06-7.ltx2crop
blob: 4e469a3b1a1117a1498def19f939d88a1c4c2aa8 (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
%% 
%%  Ein Beispiel der DANTE-Edition
%% 
%%  Beispiel 08-06-7 auf Seite 348.
%% 
%%  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}
\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

\usepackage{caption}

\begin{document}
\begin{figure}
  \centering\rule{0.75\linewidth}{2mm}
  \caption{Eine Beschriftung}
\end{figure}
\begin{figure}
  \centering\rule{0.75\linewidth}{2mm}
  \captionsetup{justification=raggedleft}
  \caption{Eine Beschriftung}
\end{figure}
\begin{figure}
  \centering\rule{0.75\linewidth}{2mm}
  \captionsetup{singlelinecheck=false,
	justification=raggedleft}
  \caption{Eine Beschriftung}
\end{figure}
\end{document}