summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung2/05-02-10.ltx2
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/einfuehrung2/05-02-10.ltx2')
-rw-r--r--Master/texmf-dist/doc/latex/einfuehrung2/05-02-10.ltx245
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/einfuehrung2/05-02-10.ltx2 b/Master/texmf-dist/doc/latex/einfuehrung2/05-02-10.ltx2
new file mode 100644
index 00000000000..1600b1954d5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/einfuehrung2/05-02-10.ltx2
@@ -0,0 +1,45 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%% 2. Auflage
+%%
+%% Beispiel 05-02-10 auf Seite 125.
+%%
+%% 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[parskip=half,pagesize]{screxabook}
+\pagestyle{empty}
+\setlength\parindent{0pt}
+\usepackage[T1]{fontenc}
+\usepackage[ngerman]{babel}
+\usepackage{blindtext,xcolor}
+%StartShownPreambleCommands
+\documentclass[parskip=half,pagesize]{scrbook}
+\usepackage{graphicx,mwe}
+\usepackage[ilines]{scrlayer-scrpage}
+\DeclareNewLayer[{%
+ background,oddpage,topmargin,contents={\hfill
+ \includegraphics[width=3cm,height=3cm]{example-image}}}]{Logo.odd}
+\DeclareNewLayer[{%
+ background,evenpage,topmargin,contents={%
+ \includegraphics[width=3cm,height=3cm]{example-image}}}]{Logo.even}
+\AddLayersToPageStyle{@everystyle@}{Logo.odd,Logo.even}
+%StopShownPreambleCommands
+\begin{document}
+\title{Beispiel für ein Logo auf jeder Seite}
+\author{Markus Kohm}
+\date{Juli 2014}
+\maketitle
+\blinddocument
+\end{document}