Advertisement
Guest User

Untitled

a guest
Feb 17th, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.92 KB | None | 0 0
  1. % A simple AAU report template.
  2. % 2015-05-08 v. 1.2.0
  3. % Copyright 2010-2015 by Jesper Kjær Nielsen <jkn@es.aau.dk>
  4. %
  5. % This is free software: you can redistribute it and/or modify
  6. % it under the terms of the GNU General Public License as published by
  7. % the Free Software Foundation, either version 3 of the License, or
  8. % (at your option) any later version.
  9. %
  10. % This is distributed in the hope that it will be useful,
  11. % but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. % GNU General Public License for more details.
  14. %
  15. % You can find the GNU General Public License at <http://www.gnu.org/licenses/>.
  16. %
  17. \documentclass[11pt,twoside,a4paper,openright]{report}
  18. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  19. % Language, Encoding and Fonts
  20. % http://en.wikibooks.org/wiki/LaTeX/Internationalization
  21. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  22. % Select encoding of your inputs. Depends on
  23. % your operating system and its default input
  24. % encoding. Typically, you should use
  25. % Linux : utf8 (most modern Linux distributions)
  26. % latin1
  27. % Windows: ansinew
  28. % latin1 (works in most cases)
  29. % Mac : applemac
  30. % Notice that you can manually change the input
  31. % encoding of your files by selecting "save as"
  32. % an select the desired input encoding.
  33. \usepackage[utf8]{inputenc}
  34. % Make latex understand and use the typographic
  35. % rules of the language used in the document.
  36. \usepackage[danish,english]{babel}
  37. % Use the palatino font
  38. \usepackage[sc]{mathpazo}
  39. \linespread{1.05} % Palatino needs more leading (space between lines)
  40. % Choose the font encoding
  41. \usepackage[T1]{fontenc}
  42. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  43. % Graphics and Tables
  44. % http://en.wikibooks.org/wiki/LaTeX/Importing_Graphics
  45. % http://en.wikibooks.org/wiki/LaTeX/Tables
  46. % http://en.wikibooks.org/wiki/LaTeX/Colors
  47. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  48. % load a colour package
  49. \usepackage{xcolor}
  50. \definecolor{aaublue}{RGB}{33,26,82}% dark blue
  51. % The standard graphics inclusion package
  52. \usepackage{graphicx}
  53. % Set up how figure and table captions are displayed
  54. \usepackage{caption}
  55. \captionsetup{%
  56. font=footnotesize,% set font size to footnotesize
  57. labelfont=bf % bold label (e.g., Figure 3.2) font
  58. }
  59. % Make the standard latex tables look so much better
  60. \usepackage{array,booktabs}
  61. % Enable the use of frames around, e.g., theorems
  62. % The framed package is used in the example environment
  63. \usepackage{framed}
  64.  
  65. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  66. % Mathematics
  67. % http://en.wikibooks.org/wiki/LaTeX/Mathematics
  68. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  69. % Defines new environments such as equation,
  70. % align and split
  71. \usepackage{amsmath}
  72. % Adds new math symbols
  73. \usepackage{amssymb}
  74. % Use theorems in your document
  75. % The ntheorem package is also used for the example environment
  76. % When using thmmarks, amsmath must be an option as well. Otherwise \eqref doesn't work anymore.
  77. \usepackage[framed,amsmath,thmmarks]{ntheorem}
  78.  
  79. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  80. % Page Layout
  81. % http://en.wikibooks.org/wiki/LaTeX/Page_Layout
  82. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  83. % Change margins, papersize, etc of the document
  84. \usepackage[
  85. inner=28mm,% left margin on an odd page
  86. outer=28mm,% right margin on an odd page
  87. ]{geometry}
  88. % Modify how \chapter, \section, etc. look
  89. % The titlesec package is very configureable
  90. \usepackage{titlesec}
  91. \titleformat{\chapter}[display]{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{5pt}{\Huge}
  92. \titleformat*{\section}{\normalfont\Large\bfseries}
  93. \titleformat*{\subsection}{\normalfont\large\bfseries}
  94. \titleformat*{\subsubsection}{\normalfont\normalsize\bfseries}
  95. %\titleformat*{\paragraph}{\normalfont\normalsize\bfseries}
  96. %\titleformat*{\subparagraph}{\normalfont\normalsize\bfseries}
  97.  
  98. % Clear empty pages between chapters
  99. \let\origdoublepage\cleardoublepage
  100. \newcommand{\clearemptydoublepage}{%
  101. \clearpage
  102. % {\pagestyle{empty}\origdoublepage}%
  103. }
  104. \let\cleardoublepage\clearemptydoublepage
  105.  
  106. % Change the headers and footers
  107. \usepackage{fancyhdr}
  108. \pagestyle{fancy}
  109. \fancyhf{} %delete everything
  110. \renewcommand{\headrulewidth}{0pt} %remove the horizontal line in the header
  111. \fancyhead[RE]{\small\nouppercase\leftmark} %even page - chapter title
  112. \fancyhead[LO]{\small\nouppercase\rightmark} %uneven page - section title
  113. \fancyhead[LE,RO]{\thepage} %page number on all pages
  114. % Do not stretch the content of a page. Instead,
  115. % insert white space at the bottom of the page
  116. \raggedbottom
  117. % Enable arithmetics with length. Useful when
  118. % typesetting the layout.
  119. \usepackage{calc}
  120.  
  121. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  122. % Bibliography
  123. % http://en.wikibooks.org/wiki/LaTeX/Bibliography_Management
  124. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  125. \usepackage[backend=bibtex,
  126. bibencoding=utf8,
  127. sorting=none
  128. %citestyle=authryear
  129. ]{biblatex}
  130. \addbibresource{bib/mybib}
  131.  
  132. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  133. % Misc
  134. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  135. % Add bibliography and index to the table of
  136. % contents
  137. \usepackage[nottoc]{tocbibind}
  138. % Add the command \pageref{LastPage} which refers to the
  139. % page number of the last page
  140. \usepackage{lastpage}
  141. % Add todo notes in the margin of the document
  142. \usepackage[
  143. % disable, %turn off todonotes
  144. colorinlistoftodos, %enable a coloured square in the list of todos
  145. textwidth=\marginparwidth, %set the width of the todonotes
  146. textsize=scriptsize, %size of the text in the todonotes
  147. ]{todonotes}
  148.  
  149. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  150. % Hyperlinks
  151. % http://en.wikibooks.org/wiki/LaTeX/Hyperlinks
  152. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  153. % Enable hyperlinks and insert info into the pdf
  154. % file. Hypperref should be loaded as one of the
  155. % last packages
  156. \usepackage{hyperref}
  157. \hypersetup{%
  158. pdfpagelabels=true,%
  159. plainpages=false,%
  160. pdfauthor={Author(s)},%
  161. pdftitle={Title},%
  162. pdfsubject={Subject},%
  163. bookmarksnumbered=true,%
  164. colorlinks=false,%
  165. citecolor=black,%
  166. filecolor=black,%
  167. linkcolor=black,% you should probably change this to black before printing
  168. urlcolor=black,%
  169. pdfstartview=FitH%
  170. }
  171. \usepackage{float}
  172. \usepackage{subcaption}
  173. \usepackage{gensymb}
  174. \usepackage{wrapfig}
  175. \usepackage{enumitem}
  176. \usepackage{graphics}
  177. \usepackage{adjustbox}
  178.  
  179.  
  180. %\documentclass{book}
  181. \usepackage{amsmath}
  182. \usepackage{varioref}
  183.  
  184. \usepackage[english]{babel}
  185. \usepackage[utf8]{inputenc}
  186. \usepackage{amsmath}
  187. \usepackage{csquotes}% Recommended
  188.  
  189. %\usepackage[style=authoryear-ibid,backend=biber]{biblatex}
  190.  
  191. %\usepackage{floatrow}
  192. % Table float box with bottom caption, box width adjusted to content
  193.  
  194. %\newfloatcommand{capbtabbox}{table}[][\FBwidth]
  195.  
  196. \usepackage{blindtext}
  197. \usepackage{graphicx}
  198. \usepackage{capt-of}% or \usepackage{caption}
  199. \usepackage{pdfpages}
  200. \usepackage[table]{xcolor}
  201. \usepackage{makecell}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement