-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbook.tex
115 lines (97 loc) · 3 KB
/
book.tex
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
% Changing book to article will make the footers match on each page,
% rather than alternate every other.
%
% Note that the article class does not have chapters.
\documentclass[12pt,twoside,openany,twocolumn]{book}
\usepackage[a4paper]{geometry} % was a5paper before
\usepackage[layout=true]{dnd}
\usepackage[german]{babel}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{pdfpages}
\usepackage{nameref}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{tikz}
\usepackage[bottom]{footmisc}
\usetikzlibrary{shapes.arrows, fadings}
\usepackage{titlesec}
\setlength{\parskip}{1em}
%custom commands
\tikzfading[name=fade right,
left color=transparent!0, right color=transparent!100]
\newcommand{\magic}[1]{
\noindent
\begin{tikzpicture}
% Background
\fill [uppergold,path fading=fade right] (\linewidth,1.6em) rectangle (-0.2,0) ;
\node[anchor=west,xshift=0, yshift=0.7em,rectangle, inner sep=11pt] {\color{black} \large \textsc{#1}};
\draw[line width=0.2 mm] (-0.2,0.57) -- (8.5,0.57);
\end{tikzpicture}
}
\newcounter{jumpmarker} \setcounter{jumpmarker}{0}
\renewcommand{\thejumpmarker}{\arabic{jumpmarker}}
\newcommand{\block}[2]{
\refstepcounter{jumpmarker}
\paragraph [\thejumpmarker]{\thejumpmarker\ - #2} % with headline
%\paragraph [\arabic{jumpmarker}]{\arabic{jumpmarker}} % without headline
\label{#1}
}
\newcounter{itemmarker} \setcounter{itemmarker}{0}
\renewcommand{\theitemmarker}{\arabic{itemmarker}}
\newcommand{\inventory}[1]{
\refstepcounter{itemmarker}
G\theitemmarker
\label{#1}
}
\newcommand{\getItem}[1]{(G\ref{#1})}
\newcounter{eventmarker} \setcounter{eventmarker}{0}
\renewcommand{\theeventmarker}{\arabic{eventmarker}}
\newcommand{\setEvent}[1]{
\refstepcounter{eventmarker}(E\theeventmarker)
\label{#1}
}
\newcommand{\getEvent}[1]{(E\ref{#1})}
\newcommand{\goto}[1]{[\ref{#1}]}
%----------------------------- Start document -----------------------------
\begin{document}
\fontfamily{ppl}\selectfont % Set text font
% Front page
\begin{titlepage}
\centering
\null
\vfill
\vfill
\includegraphics[width=\textwidth]{img/cover_title} % also works with logo.pdf
\vfill
%{\bfseries\Large
% TripleTwenty.net\\
% Björn Schmidt\\
% \vskip1cm
% Version 1.0
%}
\vfill
\includegraphics[width=\textwidth]{img/cover_author} % also works with logo.pdf
\end{titlepage}
\newpage
\input{content/bestarium}
\input{content/intro}
\input{content/content_forest}
\input{content/content_tower}
\input{content/content_machine}
\input{content/content_elf}
\onecolumn
\input{content/appendix}
%add the default character sheet
\newpage
\begin{figure}
\makebox[\textwidth][c]{\includegraphics[width=1.2\textwidth]{content/silvana-rendered_01.pdf}}%
\end{figure}
%\begin{figure}
% \makebox[\textwidth][c]{\includegraphics[width=1.2\textwidth]{content/silvana-rendered_02.pdf}}%
%\end{figure}
%\begin{figure}
% \makebox[\textwidth][c]{\includegraphics[width=1.2\textwidth]{content/silvana-rendered_03.pdf}}%
%\end{figure}
% End document
\end{document}