aboutsummaryrefslogtreecommitdiffstats
path: root/buch/common/content.tex
blob: cbbf3399006e59494ba7e69b0d31000b3b4cffb3 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
%
% buch.tex -- Buch zum mathematischen Seminar Spezielle Funktionen
%
% (c) 2022 Prof. Dr. Andreas Mueller, OST Ostschweizer Fachhochschule
%
\documentclass{book}
\input{common/packages.tex}

% additional packages used by the individual papers, add a line for
% each paper
\input{papers/common/addpackages.tex}

% PDF info
\hypersetup{
pdftitle={Mathematisches Seminar Spezielle Funktionen},
pdfauthor={Andreas Müller}
}

% workaround for biblatex bug
\makeatletter
\def\blx@maxline{77}
\makeatother
\addbibresource{chapters/references.bib}

% Bibresources for each article
\input{papers/common/addbibresources.tex}

% make sure the last index starts on an odd page
\AtEndDocument{\clearpage\ifodd\value{page}\else\null\clearpage\fi}
\makeindex

%\pgfplotsset{compat=1.12}
\setlength{\headheight}{15pt} % fix headheight warning
\DeclareGraphicsRule{*}{mps}{*}{}
\begin{document}

% cover page
\ifthenelse{\boolean{includecover}}{
\incgraph[documentpaper][width=\paperwidth,height=\paperheight]{../cover/buchcover.jpg}
\newpage\null\thispagestyle{empty}\newpage
}{}

\input{common/titlepage.tex}

% add common macros
\input{common/macros.tex}

\mainmatter
\input{chapters/part1.tex}

\input{papers/part2.tex}

\vfill
\pagebreak
\ifodd\value{page}\else\null\clearpage\fi
\lhead{Index}
\rhead{}
\addcontentsline{toc}{chapter}{\indexname}
\InputIfFileExists{buch.ind}{}{}

% cover page
\ifthenelse{\boolean{includecover}}{
\newpage\null\thispagestyle{empty}\newpage
\incgraph[documentpaper][width=\paperwidth,height=\paperheight]{../cover/backcover.jpg}
}{}

\end{document}