report.tex 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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{lipsum}
  8. \usepackage[bitstream-charter]{mathdesign}
  9. \usepackage[T1]{fontenc}
  10. \usepackage[svgpath=figures/vector/]{svg}
  11. \graphicspath{{./figures/raster/}{./figures/vector/}}
  12. \usepackage{tabularx}
  13. \usepackage{array}
  14. \newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
  15. \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
  16. \newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
  17. \newcolumntype{P}[1]{>{\raggedleft\arraybackslash}p{#1}}
  18. \usepackage{textcomp}
  19. \usepackage{xcolor}
  20. \usepackage{mathtools}
  21. \usepackage{numprint}
  22. \usepackage{amsmath}
  23. \usepackage[linesnumbered]{algorithm2e}
  24. \usepackage{multirow}
  25. \usepackage{multicol}
  26. \usepackage{prettyref}
  27. \newrefformat{fig}{Figure~\ref{#1}}
  28. \newrefformat{tab}{Table~\ref{#1}}
  29. \newrefformat{sec}{Section~\ref{#1}}
  30. \newrefformat{ssec}{Paragraph~\ref{#1}}
  31. \newrefformat{eq}{Equation~\ref{#1}}
  32. \newrefformat{alg}{Algorithm~\ref{#1}}
  33. \makeatletter
  34. \newcommand{\redub}{}
  35. \def\redub#1{%
  36. \@ifnextchar_%
  37. {\@redub{#1}}
  38. {\@latex@warning{Missing argument for \string\redub}\@redub{#1}_{}}%
  39. }
  40. \def\@redub#1_#2{%
  41. \colorlet{currentcolor}{.}%
  42. \color{black}%
  43. \underbrace{\color{currentcolor}#1}_{\color{black}#2}%
  44. \color{currentcolor}%
  45. }
  46. \makeatother
  47. %----------------------------------------------------------------------------------------
  48. % Put your info here
  49. %----------------------------------------------------------------------------------------
  50. \newcommand{\horrule}[1]{\rule{\linewidth}{#1}}
  51. \title{\normalfont \normalsize
  52. \textsc{Politecnico di Milano - Department of Electronics, Information and Bioengineering} \\[1cm]
  53. \includesvg{polimi} \\[1cm]
  54. \horrule{0.5pt} \\[0.4cm]
  55. \huge \textbf{OpenCL on ARM CPU} \\[.5cm] % The assignment title
  56. \large [ Coding Project ] \\ % Pick one: Monography and Coding Project
  57. \horrule{2pt} \\[0.5cm]
  58. \vfill
  59. \author{}
  60. \begin{tabular}{r l}
  61. \textbf{Student} & Andrea Gussoni \\
  62. \textbf{ID} & 853423 \\[0.5cm]
  63. \textbf{Course} & Advanced Operating Systems \\
  64. \textbf{Academic Year} & 2016-2017 \\[0.5cm]
  65. \textbf{Advisor} & Giuseppe Massari \\ %e.g. Simone Libutti, Giuseppe Massari
  66. \textbf{Professor} & William Fornaciari \\
  67. \end{tabular}
  68. \date{\normalsize\today}
  69. }
  70. %----------------------------------------------------------------------------------------
  71. % DOCUMENT
  72. %----------------------------------------------------------------------------------------
  73. \begin{document}
  74. \maketitle % Print the title
  75. \pagebreak\tableofcontents\pagebreak
  76. % UNCOMMENT only if coding project
  77. \input{sections/introduction}
  78. \input{sections/conclusions}
  79. \pagebreak
  80. \bibliographystyle{unsrt}
  81. \bibliography{text/project_bibliography}
  82. \end{document}