TU/e Report Template
Författare
Arpit Aggarwal
Last Updated
för 6 år sedan
Licens
Creative Commons CC BY 4.0
Sammanfattning
A slight modification to the report template provided by TU/e LaTeX package. Next version to be released soon.
A slight modification to the report template provided by TU/e LaTeX package. Next version to be released soon.
\documentclass[11pt,a4paper]{report}
\usepackage{graphicx,color,booktabs,listings,caption,subcaption,tikz,amsmath,amssymb,placeins,subfiles,tabto}
\usetikzlibrary{shapes,arrows}
\usepackage[english]{babel}
\usepackage[margin=2.54cm]{geometry}
\usepackage[english]{tuereport2018}
\usepackage[titletoc]{appendix}
\usepackage{algorithm}
\usepackage[noend]{algpseudocode}
\usepackage[hidelinks]{hyperref}
\newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}}
\DeclareMathOperator{\di}{d\!}
\newcommand*\Eval[3]{\left.#1\right\rvert_{#2}^{#3}}
\newcommand\numberthis{\addtocounter{equation}{1}\tag{\theequation}}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstset{style=mystyle}
\graphicspath{{images/}}
\title{Title}
\subtitle{Subtitle \\~\\ \small{Student1\tabto*{7em} (S\#1)\\ \texttt{student1@student.tue.nl} \\~\\ Student2\tabto*{7em} (S\#2)\\ \texttt{student2@student.tue.nl}}}
\author{Student1\tabto*{6em} (S\#1) \\ Student2\tabto*{6em} (S\#2)}
%\version{1.0}
\orderissuer{Lecturer}
\copyholder{}
\administrativeunit{Department of SOME Engineering}
\department{\textit{Research Group}}
\Address{Postbus 513, 5600 MB Eindhoven\\ The Netherlands}
%\website{}
\reference{}
\AuthorNameFooter{AuthorNames}
\makeatletter
\def\BState{\State\hskip-\ALG@thistlm}
\makeatother
\begin{document}
\maketitle
\tableofcontents
%\listoffigures
%\listoftables
\chapter{Chapter1}
% \subfile{chapters/part1.tex}
\chapter{Chapter2}
% \subfile{chapters/part2.tex}
\begin{appendices}
\chapter{Appendix1}
% \subfile{chapters/appendix.tex}
\end{appendices}
\end{document}