summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung/05-02-2.ltx2
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/einfuehrung/05-02-2.ltx2')
-rw-r--r--Master/texmf-dist/doc/latex/einfuehrung/05-02-2.ltx240
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/einfuehrung/05-02-2.ltx2 b/Master/texmf-dist/doc/latex/einfuehrung/05-02-2.ltx2
new file mode 100644
index 00000000000..f73efdb2800
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/einfuehrung/05-02-2.ltx2
@@ -0,0 +1,40 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%% Beispiel 05-02-2 auf Seite 127.
+%%
+%% 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,2
+%%
+\documentclass[a5paper]{exaarticle2}
+\pagestyle{empty}
+\setlength\parindent{0pt}
+\usepackage[T1]{fontenc}
+\usepackage[ngerman]{babel}
+\pagestyle{plain}
+
+\usepackage{geometry,calc,graphicx,blindtext,xcolor}
+\renewcommand\thepage{{\Huge\arabic{page}}}
+\newlength\Left \setlength\Left{0.5\paperwidth}
+\addtolength\Left{-1in}\addtolength\Left{-\oddsidemargin}
+\newlength\Top \setlength\Top{-0.5\paperheight}
+\addtolength\Top{1in} \addtolength\Top{\topskip}
+
+\begin{document}
+\section{foo}\blindtext[1]\newpage\thispagestyle{empty}
+\mbox{}% In den horizontalen Modus wechseln
+\makeatletter%
+\put(\strip@pt\Left,\strip@pt\Top){\makebox(0,0){\frame{%
+ \includegraphics[width=\paperwidth-2cm,height=\paperheight-2cm]{tiger}}}}
+\put(\strip@pt\Left,\strip@pt\Top){\color{blue}\circle*{15}}
+\makeatother
+\end{document}