main.tex 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. % A4 paper
  2. % main font size 12
  3. % article format
  4. \documentclass[a4paper, 12pt,onecolumn]{article}
  5. % packages to be included
  6. % used to allow [H] to display images
  7. \usepackage{float}
  8. % used for displaying images
  9. \usepackage{graphicx}
  10. % \usepackage{pgfgantt}
  11. % used to refer to images, tables, etc
  12. \usepackage{hyperref}
  13. % package used to control the margin of the page
  14. \usepackage{geometry}
  15. % package used to include pdf files
  16. \usepackage{pdfpages}
  17. % package used to turn page landscape
  18. \usepackage{pdflscape}
  19. % package used to allow tables to flow over page boundaries
  20. \usepackage{longtable}
  21. \usepackage{subcaption}
  22. \usepackage[toc,page]{appendix}
  23. \usepackage{listings}
  24. \usepackage{color}
  25. \usepackage{epstopdf}
  26. \usepackage{xcolor}
  27. % define colours
  28. \definecolor{codegreen}{rgb}{0,0.6,0}
  29. \definecolor{codegray}{rgb}{0.5,0.5,0.5}
  30. \definecolor{codepurple}{rgb}{0.58,0,0.82}
  31. % say how the code should be formatted if put into report
  32. \lstdefinestyle{mystyle}
  33. {
  34. backgroundcolor = \color{white},
  35. commentstyle = \color{codegreen},
  36. keywordstyle = \color{blue},
  37. numberstyle = \tiny\color{codegray},
  38. stringstyle = \color{codepurple},
  39. basicstyle = \footnotesize,
  40. breakatwhitespace = false,
  41. breaklines = true,
  42. postbreak=\mbox{\textcolor{red}{$\hookrightarrow$}\space},
  43. columns=fullflexible,
  44. captionpos = b,
  45. keepspaces = true,
  46. numbers = left,
  47. numbersep = 5pt,
  48. showspaces = false,
  49. showstringspaces = false,
  50. showtabs = false,
  51. tabsize = 2
  52. }
  53. % set the style to be the custom style defined above
  54. \lstset{style = mystyle}
  55. % no indentation
  56. \setlength\parindent{0pt}
  57. \begin{document}
  58. % Adding the Title, Authour and Date
  59. \title{Final project report }
  60. \author{}
  61. \date{\today}
  62. \maketitle
  63. % start on new page
  64. \newpage
  65. \tableofcontents
  66. \newpage
  67. % include all the files
  68. \input{executive_summary.tex}
  69. \input{business_case.tex}
  70. \input{design_methodology_and_implementation.tex}
  71. \input{experimental_results.tex}
  72. \input{engineering_trade_offs.tex}
  73. \bibliographystyle{IEEEtran}
  74. \bibliography{references.bib}
  75. \input{appendices}
  76. \end{document}