| 1 |
% Handle batch mode |
| 2 |
% to overcome problems with too many open files |
| 3 |
\let\mypdfximage\pdfximage\def\pdfximage{\immediate\mypdfximage} |
| 4 |
\pdfminorversion=7 |
| 5 |
% Set document class depending on configuration |
| 6 |
\documentclass[twoside]{book} |
| 7 |
%% moved from doxygen.sty due to workaround for LaTex 2019 version and unmaintained tabu package |
| 8 |
\usepackage{ifthen} |
| 9 |
\ifx\requestedLaTeXdate\undefined |
| 10 |
\usepackage{array} |
| 11 |
\else |
| 12 |
\usepackage{array}[=2016-10-06] |
| 13 |
\fi |
| 14 |
%% |
| 15 |
% Packages required by doxygen |
| 16 |
\makeatletter |
| 17 |
\providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion} |
| 18 |
% suppress package identification of infwarerr as it contains the word "warning" |
| 19 |
\let\@@protected@wlog\protected@wlog |
| 20 |
\def\protected@wlog#1{\wlog{package info suppressed}} |
| 21 |
\RequirePackage{infwarerr} |
| 22 |
\let\protected@wlog\@@protected@wlog |
| 23 |
\makeatother |
| 24 |
\IfFormatAtLeastTF{2016/01/01}{}{\usepackage{fixltx2e}} % for \textsubscript |
| 25 |
\IfFormatAtLeastTF{2015/01/01}{\pdfsuppresswarningpagegroup=1}{} |
| 26 |
\usepackage{doxygen} |
| 27 |
\usepackage{graphicx} |
| 28 |
\usepackage[utf8]{inputenc} |
| 29 |
\usepackage{makeidx} |
| 30 |
\PassOptionsToPackage{warn}{textcomp} |
| 31 |
\usepackage{textcomp} |
| 32 |
\usepackage[nointegrals]{wasysym} |
| 33 |
\usepackage{ifxetex} |
| 34 |
% NLS support packages |
| 35 |
% Define default fonts |
| 36 |
% Font selection |
| 37 |
\usepackage[T1]{fontenc} |
| 38 |
% set main and monospaced font |
| 39 |
\usepackage[scaled=.90]{helvet} |
| 40 |
\usepackage{courier} |
| 41 |
\renewcommand{\familydefault}{\sfdefault} |
| 42 |
\doxyallsectionsfont{% |
| 43 |
\fontseries{bc}\selectfont% |
| 44 |
\color{darkgray}% |
| 45 |
} |
| 46 |
\renewcommand{\DoxyLabelFont}{% |
| 47 |
\fontseries{bc}\selectfont% |
| 48 |
\color{darkgray}% |
| 49 |
} |
| 50 |
\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}} |
| 51 |
% Arguments of doxygenemoji: |
| 52 |
% 1) ':<text>:' form of the emoji, already LaTeX-escaped |
| 53 |
% 2) file with the name of the emoji without the .png extension |
| 54 |
% in case image exist use this otherwise use the ':<text>:' form |
| 55 |
\newcommand{\doxygenemoji}[2]{% |
| 56 |
\IfFileExists{./#2.png}{\raisebox{-0.1em}{\includegraphics[height=0.9em]{./#2.png}}}{#1}% |
| 57 |
} |
| 58 |
% Page & text layout |
| 59 |
\usepackage{geometry} |
| 60 |
\geometry{% |
| 61 |
a4paper,% |
| 62 |
top=2.5cm,% |
| 63 |
bottom=2.5cm,% |
| 64 |
left=2.5cm,% |
| 65 |
right=2.5cm% |
| 66 |
} |
| 67 |
\usepackage{changepage} |
| 68 |
% Allow a bit of overflow to go unnoticed by other means |
| 69 |
\tolerance=750 |
| 70 |
\hfuzz=15pt |
| 71 |
\hbadness=750 |
| 72 |
\setlength{\emergencystretch}{15pt} |
| 73 |
\setlength{\parindent}{0cm} |
| 74 |
\newcommand{\doxynormalparskip}{\setlength{\parskip}{3ex plus 2ex minus 2ex}} |
| 75 |
\newcommand{\doxytocparskip}{\setlength{\parskip}{1ex plus 0ex minus 0ex}} |
| 76 |
\doxynormalparskip |
| 77 |
% Redefine paragraph/subparagraph environments, using sectsty fonts |
| 78 |
\makeatletter |
| 79 |
\renewcommand{\paragraph}{% |
| 80 |
\@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{% |
| 81 |
\normalfont\normalsize\bfseries\SS@parafont% |
| 82 |
}% |
| 83 |
} |
| 84 |
\renewcommand{\subparagraph}{% |
| 85 |
\@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{% |
| 86 |
\normalfont\normalsize\bfseries\SS@subparafont% |
| 87 |
}% |
| 88 |
} |
| 89 |
\makeatother |
| 90 |
\makeatletter |
| 91 |
\newcommand\hrulefilll{\leavevmode\leaders\hrule\hskip 0pt plus 1filll\kern\z@} |
| 92 |
\makeatother |
| 93 |
% Headers & footers |
| 94 |
\usepackage{fancyhdr} |
| 95 |
\pagestyle{fancyplain} |
| 96 |
\renewcommand{\footrulewidth}{0.4pt} |
| 97 |
\fancypagestyle{fancyplain}{ |
| 98 |
\fancyhf{} |
| 99 |
\fancyhead[LE, RO]{\bfseries\thepage} |
| 100 |
\fancyhead[LO]{\bfseries\rightmark} |
| 101 |
\fancyhead[RE]{\bfseries\leftmark} |
| 102 |
\fancyfoot[LO, RE]{\bfseries\scriptsize Generated by Doxygen } |
| 103 |
} |
| 104 |
\fancypagestyle{plain}{ |
| 105 |
\fancyhf{} |
| 106 |
\fancyfoot[LO, RE]{\bfseries\scriptsize Generated by Doxygen } |
| 107 |
\renewcommand{\headrulewidth}{0pt} |
| 108 |
} |
| 109 |
\pagestyle{fancyplain} |
| 110 |
\renewcommand{\chaptermark}[1]{% |
| 111 |
\markboth{#1}{}% |
| 112 |
} |
| 113 |
\renewcommand{\sectionmark}[1]{% |
| 114 |
\markright{\thesection\ #1}% |
| 115 |
} |
| 116 |
% ToC, LoF, LoT, bibliography, and index |
| 117 |
% Indices & bibliography |
| 118 |
\usepackage{natbib} |
| 119 |
\usepackage[titles]{tocloft} |
| 120 |
\setcounter{tocdepth}{3} |
| 121 |
\setcounter{secnumdepth}{5} |
| 122 |
% creating indexes |
| 123 |
\makeindex |
| 124 |
\usepackage{newunicodechar} |
| 125 |
\makeatletter |
| 126 |
\def\doxynewunicodechar#1#2{% |
| 127 |
\@tempswafalse |
| 128 |
\edef\nuc@tempa{\detokenize{#1}}% |
| 129 |
\if\relax\nuc@tempa\relax |
| 130 |
\nuc@emptyargerr |
| 131 |
\else |
| 132 |
\edef\@tempb{\expandafter\@car\nuc@tempa\@nil}% |
| 133 |
\nuc@check |
| 134 |
\if@tempswa |
| 135 |
\@namedef{u8:\nuc@tempa}{#2}% |
| 136 |
\fi |
| 137 |
\fi |
| 138 |
} |
| 139 |
\makeatother |
| 140 |
\doxynewunicodechar{⁻}{${}^{-}$}% Superscript minus |
| 141 |
\doxynewunicodechar{²}{${}^{2}$}% Superscript two |
| 142 |
\doxynewunicodechar{³}{${}^{3}$}% Superscript three |
| 143 |
% Hyperlinks |
| 144 |
% Hyperlinks (required, but should be loaded last) |
| 145 |
\ifpdf |
| 146 |
\usepackage[pdftex,pagebackref=true]{hyperref} |
| 147 |
\else |
| 148 |
\ifxetex |
| 149 |
\usepackage[pagebackref=true]{hyperref} |
| 150 |
\else |
| 151 |
\usepackage[ps2pdf,pagebackref=true]{hyperref} |
| 152 |
\fi |
| 153 |
\fi |
| 154 |
\hypersetup{% |
| 155 |
colorlinks=true,% |
| 156 |
linkcolor=blue,% |
| 157 |
citecolor=blue,% |
| 158 |
unicode,% |
| 159 |
pdftitle={i\+Var},% |
| 160 |
pdfsubject={}% |
| 161 |
} |
| 162 |
% Custom commands used by the header |
| 163 |
% Custom commands |
| 164 |
\newcommand{\clearemptydoublepage}{% |
| 165 |
\newpage{\pagestyle{empty}\cleardoublepage}% |
| 166 |
} |
| 167 |
% caption style definition |
| 168 |
\usepackage{caption} |
| 169 |
\captionsetup{labelsep=space,justification=centering,font={bf},singlelinecheck=off,skip=4pt,position=top} |
| 170 |
% in page table of contents |
| 171 |
\IfFormatAtLeastTF{2023/05/01}{\usepackage[deeplevels]{etoc}}{\usepackage[deeplevels]{etoc_doxygen}} |
| 172 |
\etocsettocstyle{\doxytocparskip}{\doxynormalparskip} |
| 173 |
\etocsetlevel{subsubsubsection}{4} |
| 174 |
\etocsetlevel{subsubsubsubsection}{5} |
| 175 |
\etocsetlevel{subsubsubsubsubsection}{6} |
| 176 |
\etocsetlevel{subsubsubsubsubsubsection}{7} |
| 177 |
\etocsetlevel{paragraph}{8} |
| 178 |
\etocsetlevel{subparagraph}{9} |
| 179 |
% prevent numbers overlap the titles in toc |
| 180 |
\renewcommand{\numberline}[1]{#1~} |
| 181 |
% End of preamble, now comes the document contents |
| 182 |
%===== C O N T E N T S ===== |
| 183 |
\begin{document} |
| 184 |
\raggedbottom |
| 185 |
% Titlepage & ToC |
| 186 |
% To avoid duplicate page anchors due to reuse of same numbers for |
| 187 |
% the index (be it as roman numbers) |
| 188 |
\hypersetup{pageanchor=false, |
| 189 |
bookmarksnumbered=true, |
| 190 |
pdfencoding=unicode |
| 191 |
} |
| 192 |
\pagenumbering{alph} |
| 193 |
\begin{titlepage} |
| 194 |
\vspace*{7cm} |
| 195 |
\begin{center}% |
| 196 |
{\Large i\+Var}\\ |
| 197 |
\vspace*{1cm} |
| 198 |
{\large Generated by Doxygen 1.10.0}\\ |
| 199 |
\end{center} |
| 200 |
\end{titlepage} |
| 201 |
\clearemptydoublepage |
| 202 |
\pagenumbering{roman} |
| 203 |
\tableofcontents |
| 204 |
\clearemptydoublepage |
| 205 |
\pagenumbering{arabic} |
| 206 |
% re-enable anchors again |
| 207 |
\hypersetup{pageanchor=true} |
| 208 |
%--- Begin generated contents --- |
| 209 |
\input{index} |
| 210 |
\input{installpage} |
| 211 |
\input{manualpage} |
| 212 |
\input{cookbookpage} |
| 213 |
%--- End generated contents --- |
| 214 |
% Index |
| 215 |
\backmatter |
| 216 |
\newpage |
| 217 |
\phantomsection |
| 218 |
\clearemptydoublepage |
| 219 |
\addcontentsline{toc}{chapter}{\indexname} |
| 220 |
\printindex |
| 221 |
% Required for some languages (in combination with latexdocumentpre from the header) |
| 222 |
\end{document} |