summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung2/05-02-10.ltx2
blob: 1600b1954d58594620ef14a9cca3577aec61d551 (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
%% 
%%  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}