ba06f8bb |
1 | \batchmode |
2 | \nonstopmode |
3 | \documentclass[oneside]{article} |
4 | \n |
5 | % Packages required by doxygen |
6 | \usepackage{calc} |
7 | \usepackage{doxygen} |
8 | \usepackage{graphicx} |
9 | \usepackage[utf8]{inputenc} |
10 | \usepackage{makeidx} |
11 | \usepackage{multicol} |
12 | \usepackage{multirow} |
13 | \usepackage{textcomp} |
14 | \usepackage{amsmath} |
15 | \usepackage[table]{xcolor} |
16 | \usepackage{indentfirst} |
17 | |
18 | % Font selection |
19 | \usepackage[T1]{fontenc} |
20 | \usepackage{mathptmx} |
21 | \usepackage[scaled=.90]{helvet} |
22 | \usepackage{courier} |
23 | \usepackage{amssymb} |
24 | \usepackage{sectsty} |
25 | \renewcommand{\familydefault}{\sfdefault} |
26 | \allsectionsfont{% |
27 | \fontseries{bc}\selectfont% |
28 | \color{darkgray}% |
29 | } |
30 | \renewcommand{\DoxyLabelFont}{% |
31 | \fontseries{bc}\selectfont% |
32 | \color{darkgray}% |
33 | } |
cdec5927 |
34 | \newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}} |
ba06f8bb |
35 | |
36 | % Page & text layout |
37 | \usepackage{geometry} |
38 | \geometry{% |
39 | a4paper,% |
40 | top=2.5cm,% |
41 | bottom=2.5cm,% |
42 | left=2.5cm,% |
43 | right=2.5cm% |
44 | } |
45 | \tolerance=750 |
46 | \hfuzz=15pt |
47 | \hbadness=750 |
48 | \setlength{\emergencystretch}{15pt} |
49 | \setlength{\parindent}{0cm} |
50 | \setlength{\parskip}{0.2cm} |
51 | \makeatletter |
52 | \renewcommand{\paragraph}{% |
53 | \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{% |
cdec5927 |
54 | \normalfont\normalsize\bfseries\SS@parafont% |
ba06f8bb |
55 | }% |
56 | } |
57 | \renewcommand{\subparagraph}{% |
58 | \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{% |
cdec5927 |
59 | \normalfont\normalsize\bfseries\SS@subparafont% |
ba06f8bb |
60 | }% |
61 | } |
62 | \makeatother |
63 | |
64 | % Headers & footers |
65 | \usepackage{fancyhdr} |
66 | \pagestyle{fancyplain} |
67 | \fancyhead[LE]{\fancyplain{}{\bfseries\thepage}} |
68 | \fancyhead[CE]{\fancyplain{}{}} |
69 | \fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}} |
70 | \fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}} |
71 | \fancyhead[CO]{\fancyplain{}{}} |
72 | \fancyhead[RO]{\fancyplain{}{\bfseries\thepage}} |
73 | \fancyfoot[LE]{\fancyplain{}{}} |
74 | \fancyfoot[CE]{\fancyplain{}{}} |
75 | \fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize (c) Open CASCADE DEFYEAR}} |
76 | \fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize (c) Open CASCADE DEFYEAR}} |
77 | \fancyfoot[CO]{\fancyplain{}{}} |
78 | \fancyfoot[RO]{\fancyplain{}{}} |
79 | \renewcommand{\footrulewidth}{0.4pt} |
80 | \renewcommand{\sectionmark}[1]{% |
81 | \markright{\thesection\ #1}% |
82 | } |
83 | |
84 | % Indices & bibliography |
85 | \usepackage{natbib} |
86 | \usepackage[titles]{tocloft} |
87 | \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} |
88 | \setcounter{tocdepth}{3} |
89 | \setcounter{secnumdepth}{5} |
90 | \makeindex |
91 | |
92 | % Hyperlinks (required, but should be loaded last) |
93 | \usepackage{ifpdf} |
94 | \ifpdf |
95 | \usepackage[pdftex,pagebackref=true]{hyperref} |
96 | \else |
97 | \usepackage[ps2pdf,pagebackref=true]{hyperref} |
98 | \fi |
99 | \hypersetup{% |
100 | colorlinks=true,% |
bfa7a685 |
101 | linkcolor=blue,% |
ba06f8bb |
102 | citecolor=black,% |
103 | urlcolor=blue,% |
104 | unicode% |
105 | } |
106 | |
107 | % Custom commands |
108 | \newcommand{\clearemptydoublepage}{% |
109 | \newpage{\pagestyle{empty}\cleardoublepage}% |
110 | } |
cdec5927 |
111 | |
112 | |
113 | %===== C O N T E N T S ===== |
114 | |
ba06f8bb |
115 | \begin{document} |
cdec5927 |
116 | |
ba06f8bb |
117 | % Titlepage & ToC |
118 | \hypersetup{pageanchor=false} |
119 | \pagenumbering{roman} |
120 | \begin{titlepage} |
121 | \vspace*{7cm} |
122 | \begin{center}% |
123 | \includegraphics[width=0.75\textwidth, height=0.2\textheight]{../../../dox/resources/occt_logo.png}\\ |
124 | {\Large Open C\-A\-S\-C\-A\-D\-E Technology \\\\\Large DEFCASVERSION }\\ |
125 | \vspace*{1cm} |
126 | {\Large DEFDOCLABEL}\\ |
127 | \vspace*{1cm} |
128 | \vspace*{0.5cm} |
129 | {\small \today}\ |
130 | \end{center} |
131 | \end{titlepage} |
132 | \clearpage |
133 | \pagenumbering{roman} |
ba06f8bb |
134 | \newpage |
135 | \pagenumbering{arabic} |
bfa7a685 |
136 | \begingroup |
137 | \hypersetup{pageanchor=true, linkcolor=black, colorlinks=true} |
138 | \tableofcontents |
139 | \endgroup |
ba06f8bb |
140 | |
141 | \let\stdsection\section |
142 | \renewcommand\section{\pagebreak\stdsection} |
143 | \hypertarget{DEFFILENAME}{} |
144 | \input{DEFFILENAME} |
145 | |
146 | % Index |
147 | \newpage |
148 | \phantomsection |
149 | \addcontentsline{toc}{part}{Index} |
150 | \printindex\n |
151 | \end{document} |