header.tex 3.5 KB

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