report.tex 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. % Students template. Simone Libutti, Politecnico di milano, 2016
  2. % simone.libutti@polimi.it
  3. \documentclass[12pt, english]{scrartcl}
  4. \usepackage[a4paper,bindingoffset=0.2in,left=.5in,right=.5in,top=1in,bottom=1in,footskip=.5in]{geometry}
  5. \usepackage[english]{babel}
  6. \usepackage{graphicx}
  7. \usepackage{float}
  8. \usepackage{lipsum}
  9. \usepackage[bitstream-charter]{mathdesign}
  10. \usepackage[T1]{fontenc}
  11. \usepackage[svgpath=figures/vector/]{svg}
  12. \graphicspath{{./figures/raster/}{./figures/vector/}}
  13. \usepackage{tabularx}
  14. \usepackage{array}
  15. \newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
  16. \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
  17. \newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
  18. \newcolumntype{P}[1]{>{\raggedleft\arraybackslash}p{#1}}
  19. \usepackage{textcomp}
  20. \usepackage{xcolor}
  21. \usepackage{mathtools}
  22. \usepackage{numprint}
  23. \usepackage{amsmath}
  24. \usepackage[linesnumbered]{algorithm2e}
  25. \usepackage{multirow}
  26. \usepackage{multicol}
  27. \usepackage{prettyref}
  28. \usepackage{hyperref}
  29. \usepackage{textcomp}
  30. \usepackage{xcolor}
  31. \usepackage{listings}
  32. \usepackage[
  33. backend=biber,
  34. sorting=ynt
  35. ]{biblatex}
  36. \addbibresource{project_bibliography.bib}
  37. \lstset{basicstyle=\ttfamily,
  38. showstringspaces=false,
  39. commentstyle=\color{red},
  40. keywordstyle=\color{blue},
  41. language=Bash,
  42. breaklines=true
  43. }
  44. \newrefformat{fig}{Figure~\ref{#1}}
  45. \newrefformat{tab}{Table~\ref{#1}}
  46. \newrefformat{sec}{Section~\ref{#1}}
  47. \newrefformat{ssec}{Paragraph~\ref{#1}}
  48. \newrefformat{eq}{Equation~\ref{#1}}
  49. \newrefformat{alg}{Algorithm~\ref{#1}}
  50. \makeatletter
  51. \newcommand{\redub}{}
  52. \def\redub#1{%
  53. \@ifnextchar_%
  54. {\@redub{#1}}
  55. {\@latex@warning{Missing argument for \string\redub}\@redub{#1}_{}}%
  56. }
  57. \def\@redub#1_#2{%
  58. \colorlet{currentcolor}{.}%
  59. \color{black}%
  60. \underbrace{\color{currentcolor}#1}_{\color{black}#2}%
  61. \color{currentcolor}%
  62. }
  63. \makeatother
  64. %----------------------------------------------------------------------------------------
  65. % Put your info here
  66. %----------------------------------------------------------------------------------------
  67. \newcommand{\horrule}[1]{\rule{\linewidth}{#1}}
  68. \title{\normalfont \normalsize
  69. \textsc{Politecnico di Milano - Department of Electronics, Information and Bioengineering} \\[1cm]
  70. \includesvg{polimi} \\[1cm]
  71. \horrule{0.5pt} \\[0.4cm]
  72. \huge \textbf{OpenCL on ARM CPU} \\[.5cm] % The assignment title
  73. \large [ Coding Project ] \\ % Pick one: Monography and Coding Project
  74. \horrule{2pt} \\[0.5cm]
  75. \vfill
  76. \author{}
  77. \begin{tabular}{r l}
  78. \textbf{Student} & Andrea Gussoni \\
  79. \textbf{ID} & 853423 \\[0.5cm]
  80. \textbf{Course} & Advanced Operating Systems \\
  81. \textbf{Academic Year} & 2016-2017 \\[0.5cm]
  82. \textbf{Advisor} & Giuseppe Massari \\ %e.g. Simone Libutti, Giuseppe Massari
  83. \textbf{Professor} & William Fornaciari \\
  84. \end{tabular}
  85. \date{\normalsize\today}
  86. }
  87. %----------------------------------------------------------------------------------------
  88. % DOCUMENT
  89. %----------------------------------------------------------------------------------------
  90. \begin{document}
  91. \maketitle % Print the title
  92. \pagebreak\tableofcontents\pagebreak
  93. % UNCOMMENT only if coding project
  94. \input{sections/introduction}
  95. \input{sections/work}
  96. \input{sections/results}
  97. \input{sections/conclusions}
  98. \pagebreak
  99. \listoffigures
  100. \listoftables
  101. \printbibliography
  102. \end{document}