-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOpen-Advice2.tex
More file actions
86 lines (80 loc) · 1.85 KB
/
Open-Advice2.tex
File metadata and controls
86 lines (80 loc) · 1.85 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
\documentclass[a5paper,DIV=12,BCOR=9mm,headsepline,headings=small,cleardoubleempty,10pt]{scrbook}
\usepackage{scrpage2}
\usepackage{Open-Advice 2}
\usepackage[utf8]{inputenc}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{tabularx}
\usepackage[english]{babel}
\usepackage[raiselinks=true,
bookmarks=true,
bookmarksopenlevel=1,
bookmarksopen=true,
bookmarksnumbered=true,
hyperindex=true,
plainpages=false,
pdfpagelabels=true,
pdfborder={0 0 0.5}
]{hyperref}
\usepackage[textsize=tiny]{todonotes}
% Meta data
\newcommand{\booktitle}{Open Advice 2}
\newcommand{\booksubtitle}{ADD SUBTITLE}
\newcommand{\bookeditor}{Lydia Pintscher}
\newcommand{\bookyear}{2013}
\newcommand{\bookisbn}{ADD ISBN}
\newcommand{\bookurl}{http://open-advice.org}
\newcommand{\bookauthors}{ADD AUTHORS}
\hypersetup{
pdfauthor={\bookauthors},
pdftitle={\booktitle},
pdfsubject={Open Source, Free Software},
pdfkeywords={Open Source, Free Software},
pdflang=en,
colorlinks,
linkcolor=black,
anchorcolor=black,
filecolor=black,
urlcolor=black,
citecolor=black,
bookmarksnumbered=true,
pdfpagelayout=TwoColumnRight
}
\ifusinght
\else
\usepackage{xmpincl}
\includexmp{Open-Advice}
\usepackage{pdfpages}
\fi
\pagestyle{scrheadings}
\ihead[]{\headmark}
\ohead[]{\pagemark}
%\cfoot[]{Open Advise 2}
\ifoot[]{ }
\ofoot[]{ }
% Use a nicer-Looking design for the TOC
\usepackage{tocstyle}
\usetocstyle{KOMAlike}
% Avoid typographical unpleasantries
\clubpenalty = 10000
\widowpenalty = 10000
\displaywidowpenalty = 10000
% Avoids line-overshooting at the cost of "Word-like" spacing
\setlength{\emergencystretch}{0.25em}
\begin{document}
\ifusinght
\else
\includepdf[noautoscale]{frontcover}
\fi
\frontmatter
\input{topmatter}
\input{foreword}
\input{thankyou}
\tableofcontents
\listoftodos
\mainmatter
%\input{foo}
\input{closingwords}
\backmatter
\end{document}