summaryrefslogtreecommitdiff
path: root/doc/manual.sty
blob: 916f2f217d2fc932aa8bee249a50304ae4c7752e (plain)
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
% Use helvetica font instead of times roman
\RequirePackage{helvet}
\RequirePackage{tocloft}
\providecommand{\rmdefault}{phv}
\providecommand{\bfdefault}{bc}
\usepackage[T1]{fontenc}

% Setup fancy headings
\RequirePackage{fancyhdr}
\newcommand{\clearemptydoublepage}{%
  \newpage{\pagestyle{empty}\cleardoublepage}%
}
% Used by @image
% (only if inline is specified)
\newlength{\DoxyInlineHeightChar}
\settoheight{\DoxyInlineHeightChar}{H}
\renewenvironment{DoxyInlineImage}{%
\settoheight{\DoxyInlineHeightChar}{H}
}{%
}

% Headers & footers
\pagestyle{fancyplain}
\renewcommand{\footrulewidth}{0.4pt}
%
\fancypagestyle{fancyplain}{
\fancyhf{}
\fancyhead[LE, RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\fancyfoot[LO, RE]{\bfseries\scriptsize Generated by Doxygen @VERSION@ }
}
%
\fancypagestyle{plain}{
\fancyhf{}
\fancyfoot[LO, RE]{\bfseries\scriptsize Generated by Doxygen @VERSION@ }
\renewcommand{\headrulewidth}{0pt}}
%
\pagestyle{fancyplain}
\renewcommand{\chaptermark}[1]{%
  \markboth{#1}{}%
}
\renewcommand{\sectionmark}[1]{%
  \markright{\thesection\ #1}%
}
%
\usepackage{regexpatch}
\xpatchcmd{\part}{plain}{empty}{}{}