暂无描述

refman.tex 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. \documentclass[twoside]{book}
  2. % Packages required by doxygen
  3. \usepackage{fixltx2e}
  4. \usepackage{calc}
  5. \usepackage{doxygen}
  6. \usepackage[export]{adjustbox} % also loads graphicx
  7. \usepackage{graphicx}
  8. \usepackage[utf8]{inputenc}
  9. \usepackage{makeidx}
  10. \usepackage{multicol}
  11. \usepackage{multirow}
  12. \PassOptionsToPackage{warn}{textcomp}
  13. \usepackage{textcomp}
  14. \usepackage[nointegrals]{wasysym}
  15. \usepackage[table]{xcolor}
  16. % Font selection
  17. \usepackage[T1]{fontenc}
  18. \usepackage[scaled=.90]{helvet}
  19. \usepackage{courier}
  20. \usepackage{amssymb}
  21. \usepackage{sectsty}
  22. \renewcommand{\familydefault}{\sfdefault}
  23. \allsectionsfont{%
  24. \fontseries{bc}\selectfont%
  25. \color{darkgray}%
  26. }
  27. \renewcommand{\DoxyLabelFont}{%
  28. \fontseries{bc}\selectfont%
  29. \color{darkgray}%
  30. }
  31. \newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}}
  32. % Page & text layout
  33. \usepackage{geometry}
  34. \geometry{%
  35. a4paper,%
  36. top=2.5cm,%
  37. bottom=2.5cm,%
  38. left=2.5cm,%
  39. right=2.5cm%
  40. }
  41. \tolerance=750
  42. \hfuzz=15pt
  43. \hbadness=750
  44. \setlength{\emergencystretch}{15pt}
  45. \setlength{\parindent}{0cm}
  46. \setlength{\parskip}{0.2cm}
  47. \makeatletter
  48. \renewcommand{\paragraph}{%
  49. \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{%
  50. \normalfont\normalsize\bfseries\SS@parafont%
  51. }%
  52. }
  53. \renewcommand{\subparagraph}{%
  54. \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{%
  55. \normalfont\normalsize\bfseries\SS@subparafont%
  56. }%
  57. }
  58. \makeatother
  59. % Headers & footers
  60. \usepackage{fancyhdr}
  61. \pagestyle{fancyplain}
  62. \fancyhead[LE]{\fancyplain{}{\bfseries\thepage}}
  63. \fancyhead[CE]{\fancyplain{}{}}
  64. \fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}}
  65. \fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}}
  66. \fancyhead[CO]{\fancyplain{}{}}
  67. \fancyhead[RO]{\fancyplain{}{\bfseries\thepage}}
  68. \fancyfoot[LE]{\fancyplain{}{}}
  69. \fancyfoot[CE]{\fancyplain{}{}}
  70. \fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Mon Jun 8 2015 15\+:29\+:47 for My Project by Doxygen }}
  71. \fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Mon Jun 8 2015 15\+:29\+:47 for My Project by Doxygen }}
  72. \fancyfoot[CO]{\fancyplain{}{}}
  73. \fancyfoot[RO]{\fancyplain{}{}}
  74. \renewcommand{\footrulewidth}{0.4pt}
  75. \renewcommand{\chaptermark}[1]{%
  76. \markboth{#1}{}%
  77. }
  78. \renewcommand{\sectionmark}[1]{%
  79. \markright{\thesection\ #1}%
  80. }
  81. % Indices & bibliography
  82. \usepackage{natbib}
  83. \usepackage[titles]{tocloft}
  84. \setcounter{tocdepth}{3}
  85. \setcounter{secnumdepth}{5}
  86. \makeindex
  87. % Hyperlinks (required, but should be loaded last)
  88. \usepackage{ifpdf}
  89. \ifpdf
  90. \usepackage[pdftex,pagebackref=true]{hyperref}
  91. \else
  92. \usepackage[ps2pdf,pagebackref=true]{hyperref}
  93. \fi
  94. \hypersetup{%
  95. colorlinks=true,%
  96. linkcolor=blue,%
  97. citecolor=blue,%
  98. unicode%
  99. }
  100. % Custom commands
  101. \newcommand{\clearemptydoublepage}{%
  102. \newpage{\pagestyle{empty}\cleardoublepage}%
  103. }
  104. %===== C O N T E N T S =====
  105. \begin{document}
  106. % Titlepage & ToC
  107. \hypersetup{pageanchor=false,
  108. bookmarks=true,
  109. bookmarksnumbered=true,
  110. pdfencoding=unicode
  111. }
  112. \pagenumbering{roman}
  113. \begin{titlepage}
  114. \vspace*{7cm}
  115. \begin{center}%
  116. {\Large My Project }\\
  117. \vspace*{1cm}
  118. {\large Generated by Doxygen 1.8.9.1}\\
  119. \vspace*{0.5cm}
  120. {\small Mon Jun 8 2015 15:29:47}\\
  121. \end{center}
  122. \end{titlepage}
  123. \clearemptydoublepage
  124. \tableofcontents
  125. \clearemptydoublepage
  126. \pagenumbering{arabic}
  127. \hypersetup{pageanchor=true}
  128. %--- Begin generated contents ---
  129. \chapter{Class Index}
  130. \input{annotated}
  131. \chapter{File Index}
  132. \input{files}
  133. \chapter{Class Documentation}
  134. \input{classfilemanip}
  135. \chapter{File Documentation}
  136. \input{movie_8cpp}
  137. \input{movie_8h}
  138. %--- End generated contents ---
  139. % Index
  140. \backmatter
  141. \newpage
  142. \phantomsection
  143. \clearemptydoublepage
  144. \addcontentsline{toc}{chapter}{Index}
  145. \printindex
  146. \end{document}