doxygen_header.tex

branch
protocol5
changeset 165
718a8c4df538
parent 162
c9c0f1b62e42
equal deleted inserted replaced
160:cf514fa0f1cc 165:718a8c4df538
1 % Latex header for doxygen 1.8.9.1
2 %\documentclass[twoside]{book}
3 \documentclass{article}
4
5 % Packages required by doxygen
6 \usepackage{fixltx2e}
7 \usepackage{calc}
8 \usepackage{doxygen}
9 \usepackage[export]{adjustbox} % also loads graphicx
10 \usepackage{graphicx}
11 \usepackage[utf8]{inputenc}
12 \usepackage{makeidx}
13 \usepackage{multicol}
14 \usepackage{multirow}
15 \PassOptionsToPackage{warn}{textcomp}
16 \usepackage{textcomp}
17 \usepackage[nointegrals]{wasysym}
18 \usepackage[table]{xcolor}
19 \usepackage{titling}
20 \date{\today}
21
22 % Font selection
23 \usepackage[T1]{fontenc}
24 \usepackage{courier}
25 \usepackage{amssymb}
26 \usepackage{sectsty}
27 \usepackage{helvet}
28 \renewcommand\familydefault\sfdefault
29 %\allsectionsfont{%
30 % \fontseries{bc}\selectfont%
31 % \color{darkgray}%
32 %}
33 \renewcommand{\DoxyLabelFont}{%
34 \fontseries{bc}\selectfont%
35 \color{darkgray}%
36 }
37 \newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}}
38
39 % Page & text layout
40 \usepackage{geometry}
41 \geometry{%
42 a4paper,%
43 top=2cm,%
44 bottom=2cm,%
45 left=2cm,%
46 right=2cm%
47 }
48 \tolerance=750
49 \hfuzz=15pt
50 \hbadness=750
51 %\setlength{\emergencystretch}{15pt}
52 %\setlength{\parindent}{0cm}book
53 %\setlength{\parskip}{0.2cm}
54 \makeatletter
55 \renewcommand{\paragraph}{%
56 \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{%
57 \normalfont\normalsize\bfseries\SS@parafont%
58 }%
59 }
60 \renewcommand{\subparagraph}{%
61 \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{%
62 \normalfont\normalsize\bfseries\SS@subparafont%
63 }%
64 }
65 \makeatother
66 \usepackage{titling}
67
68 % Headers & footers
69 \usepackage{fancyhdr}
70 \pagestyle{fancyplain}
71 \fancyhead[LE]{\fancyplain{}{\bfseries\thepage}}
72 \fancyhead[CE]{\fancyplain{}{}}
73 \fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}}
74 \fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}}
75 \fancyhead[CO]{\fancyplain{}{}}
76 \fancyhead[RO]{\fancyplain{}{\bfseries\thepage}}
77 \fancyfoot[LE]{\fancyplain{}{}}
78 \fancyfoot[CE]{\fancyplain{}{}}
79 \fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated for ZFC9000 by Doxygen }}
80 \fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated for ZFC9000 by Doxygen }}
81 \fancyfoot[CO]{\fancyplain{}{}}
82 \fancyfoot[RO]{\fancyplain{}{}}
83 \renewcommand{\footrulewidth}{0.4pt}
84 %\renewcommand{\chaptermark}[1]{%
85 % \markboth{#1}{}%
86 %}
87 \renewcommand{\sectionmark}[1]{%
88 \markright{\thesection\ #1}%
89 }
90
91 % Indices & bibliography
92 \usepackage{natbib}
93 \usepackage[titles]{tocloft}
94 \setcounter{tocdepth}{3}
95 \setcounter{secnumdepth}{5}
96 \makeindex
97
98 % Hyperlinks (required, but should be loaded last)
99 \usepackage{ifpdf}
100 \ifpdf
101 \usepackage[pdftex,pagebackref=true]{hyperref}
102 \else
103 \usepackage[ps2pdf,pagebackref=true]{hyperref}
104 \fi
105 \hypersetup{%
106 colorlinks=true,%
107 linkcolor=blue,%
108 citecolor=blue,%
109 unicode%
110 }
111
112 % Custom commands
113 \newcommand{\clearemptydoublepage}{%
114 \newpage{\pagestyle{empty}\cleardoublepage}%
115 }
116
117 \DeclareUnicodeCharacter{0391}{\ensuremath\Alpha}
118 \DeclareUnicodeCharacter{0392}{\ensuremath\Beta}
119 \DeclareUnicodeCharacter{0393}{\ensuremath\Gamma}
120 \DeclareUnicodeCharacter{0394}{\ensuremath\Delta}
121 \DeclareUnicodeCharacter{0395}{\ensuremath\Epsilon}
122 \DeclareUnicodeCharacter{0396}{\ensuremath\Zeta}
123 \DeclareUnicodeCharacter{0397}{\ensuremath\Eta}
124 \DeclareUnicodeCharacter{0398}{\ensuremath\Theta}
125 \DeclareUnicodeCharacter{0399}{\ensuremath\Iota}
126 \DeclareUnicodeCharacter{039A}{\ensuremath\Kappa}
127 \DeclareUnicodeCharacter{039B}{\ensuremath\Lambda}
128 \DeclareUnicodeCharacter{039C}{\ensuremath\Mu}
129 \DeclareUnicodeCharacter{039D}{\ensuremath\Nu}
130 \DeclareUnicodeCharacter{039E}{\ensuremath\Xi}
131 \DeclareUnicodeCharacter{039F}{\ensuremath\Omicron}
132 \DeclareUnicodeCharacter{03A0}{\ensuremath\Pi}
133 \DeclareUnicodeCharacter{03A1}{\ensuremath\Rho}
134 \DeclareUnicodeCharacter{03A3}{\ensuremath\Sigma}
135 \DeclareUnicodeCharacter{03A4}{\ensuremath\Tau}
136 \DeclareUnicodeCharacter{03A5}{\ensuremath\Upsilon}
137 \DeclareUnicodeCharacter{03A6}{\ensuremath\Phi}
138 \DeclareUnicodeCharacter{03A7}{\ensuremath\Chi}
139 \DeclareUnicodeCharacter{03A8}{\ensuremath\Psi}
140 \DeclareUnicodeCharacter{03A9}{\ensuremath\Omega}
141 \DeclareUnicodeCharacter{03B1}{\ensuremath\alpha}
142 \DeclareUnicodeCharacter{03B2}{\ensuremath\beta}
143 \DeclareUnicodeCharacter{03B3}{\ensuremath\gamma}
144 \DeclareUnicodeCharacter{03B4}{\ensuremath\delta}
145 \DeclareUnicodeCharacter{03B5}{\ensuremath\varepsilon}
146 \DeclareUnicodeCharacter{03B6}{\ensuremath\zeta}
147 \DeclareUnicodeCharacter{03B7}{\ensuremath\eta}
148 \DeclareUnicodeCharacter{03B8}{\ensuremath\theta}
149 \DeclareUnicodeCharacter{03B9}{\ensuremath\iota}
150 \DeclareUnicodeCharacter{03BA}{\ensuremath\kappa}
151 \DeclareUnicodeCharacter{03BB}{\ensuremath\lambda}
152 \DeclareUnicodeCharacter{03BC}{\ensuremath\mu}
153 \DeclareUnicodeCharacter{03BD}{\ensuremath\nu}
154 \DeclareUnicodeCharacter{03BE}{\ensuremath\xi}
155 \DeclareUnicodeCharacter{03BF}{\ensuremath\omicron}
156 \DeclareUnicodeCharacter{03C0}{\ensuremath\pi}
157 \DeclareUnicodeCharacter{03C1}{\ensuremath\rho}
158 \DeclareUnicodeCharacter{03C2}{\ensuremath\varsigma}
159 \DeclareUnicodeCharacter{03C3}{\ensuremath\sigma}
160 \DeclareUnicodeCharacter{03C4}{\ensuremath\tau}
161 \DeclareUnicodeCharacter{03C5}{\ensuremath\upsilon}
162 \DeclareUnicodeCharacter{03C6}{\ensuremath\varphi}
163 \DeclareUnicodeCharacter{03C7}{\ensuremath\chi}
164 \DeclareUnicodeCharacter{03C8}{\ensuremath\psi}
165 \DeclareUnicodeCharacter{03C9}{\ensuremath\omega}
166 \DeclareUnicodeCharacter{03D5}{\ensuremath\phi}
167 \DeclareUnicodeCharacter{03D6}{\ensuremath\varpi}
168 \DeclareUnicodeCharacter{03F5}{\ensuremath\epsilon}
169
170 %\let\oldsubsection\subsection
171 %\renewcommand\subsection{\clearpage\oldsubsection}
172
173 %===== C O N T E N T S =====
174
175 \begin{document}
176
177 % Titlepage & ToC
178 \hypersetup{pageanchor=false,
179 bookmarks=true,
180 bookmarksnumbered=true,
181 pdfencoding=unicode
182 }
183 \pagenumbering{roman}
184 \begin{titlepage}
185 \vspace*{7cm}
186 \begin{center}%
187 {\Large Vilebrush documentation}\\
188 \vspace*{1cm}
189 {\large 1.0}\\
190 \vspace*{0.5cm}
191 {\small \thedate}\\
192 \end{center}
193 \end{titlepage}
194 \clearemptydoublepage
195 \tableofcontents
196 \clearemptydoublepage
197 \pagenumbering{arabic}
198 \hypersetup{pageanchor=true}
199
200 %--- Begin generated contents ---

mercurial