-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcccontact.tex
158 lines (130 loc) · 3.72 KB
/
cccontact.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
\documentclass[a5paper,11pt]{book}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{url}
\usepackage{hyperref}
\usepackage{shorttoc}
\usepackage{mdwlist} % list without bullet symbol \{itemize*}
\usepackage{wrapfig} % wrap text around image
\usepackage{csquotes} % for displayquote env
\usepackage{changepage} % for adjustwidth env
\usepackage{caption}
\captionsetup[figure]{font=footnotesize,labelfont=footnotesize}
\usepackage{geometry}
%\usepackage[margin=0.5cm, paperwidth=88.184mm, paperheight=113.854mm]{geometry}
\geometry{
paper=a5paper,
top=8pt,
bottom=42pt,
left=35pt,
right=40pt,
includeheadfoot
}
% enforce image resolution to be of 600DPI (600 is max by lulu)
\pdfpxdimen=1in
\divide\pdfpxdimen by 600
% enforce PDF version 1.3 which does not have transparencies (forbidden by lulu)
\pdfminorversion=3
\setcounter{secnumdepth}{0} % no numbering of sections
\usepackage{titletoc}
%\dottedcontents{section}[0em]{\bfseries}{2.9em}{1pc}
%\dottedcontents{subsection}[0em]{}{3.3em}{1pc}
\titlecontents{chapter}
[0.0em] %5.3
{\vspace{0.2em}} % vertically between
{\textbf{\thecontentslabel}~\textbf}%
{\hspace*{-5.5em}\textbf}% unnumbered chapters
{\titlerule*[1pc]{.}\contentspage}[\smallskip]%
\usepackage{fancyhdr}
\pagestyle{fancy}
%\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
%\renewcommand{\sectionmark}[1]{\markright{The Book Title}}
%\fancyhf{}
%\fancyhead[LEH,ROH]{}
%\fancyhead[LE]{\makebox[1.5em][l]{\thepage}\textbf{\nouppercase{Kapitel \thechapter: \leftmark}}}
%\fancyhead[RO]{\textbf{\nouppercase{\rightmark}}\makebox[1.5em][r]{\thepage}}
% https://www.overleaf.com/learn/latex/Headers_and_footers
\fancypagestyle{plain}{ %
\fancyhf{} % remove everything
\fancyfoot[LE,RO]{\thepage}
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\renewcommand{\footrulewidth}{0pt}
}
\fancypagestyle{fancy}{ %
\fancyhf{} % remove everything
\fancyfoot[LE,RO]{\thepage}
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\renewcommand{\footrulewidth}{0pt}
}
\fancypagestyle{empty}{ %
\fancyhf{} % remove everything
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\renewcommand{\footrulewidth}{0pt}
}
\newcommand{\chapterCoverImage}[1]{
\begin{figure}[h]
\begin{center}
% TODO uncomment to speed up things ;)
%{\pdfimageresolution=200\includegraphics[height=2.5in]{images/#1/cover}}
\end{center}\label{img:#1}
\end{figure}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{CrashCourseContact}
\date{\today}
\author{Christoph Pickl}
\input{glossary}
\begin{document}
\begin{titlepage}
\begin{center}
\vspace*{\fill}
\fontsize{22}{0}\selectfont
{\sffamily CRASH COURSE CONTACT}
\vskip 5mm
%\rule{\textwidth}{0.4pt}
\rule{84mm}{0.4pt}
\vskip 1mm
\fontsize{15}{22}\selectfont
{\sffamily Small Steps into \\ the Wonderful World \\ of Contact Improvisation}
\vskip 70mm
\vspace*{\fill}
\fontsize{9}{0}\selectfont
{\sffamily 2nd Edition - \today}
\end{center}
\end{titlepage}
\pagestyle{empty}
\cleardoublepage
\phantomsection
\pdfbookmark[1]{Contents}{toc}
\shorttoc{Contents}{0} % show chapters
\cleardoublepage
\renewcommand*\contentsname{Overview}
\setcounter{tocdepth}{1} % show sections
\tableofcontents
\clearpage
%\ifodd\value{page}\else
% \thispagestyle{empty}
%\fi
\pagestyle{fancy}
~
\vfill
\begin{center}
\textit{Moving in unity.}\\
\textit{In eternal spirals.}\\
\textit{Following the moment.}
\end{center}
\vfill
\newpage
\input{chapters/about}
\input{chapters/beginning}
\input{chapters/principles}
\input{chapters/technical}
\input{chapters/movement}
\input{chapters/mastery}
\input{chapters/social}
\input{chapters/anatomy}
\input{chapters/physics}
%\listoffigures
%\listoftables
\printglossaries
\end{document}