diff --git a/07_final_assignment/paper/main.tex b/07_final_assignment/paper/main.tex index c0056e1..4701a09 100644 --- a/07_final_assignment/paper/main.tex +++ b/07_final_assignment/paper/main.tex @@ -3,6 +3,7 @@ \usepackage[utf8]{inputenc} \usepackage[american]{babel} \usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex} +\usepackage{color} \DeclareLanguageMapping{american}{american-apa} \addbibresource{references.bib} \usepackage{listings} @@ -13,6 +14,23 @@ \abstract{our abstract goes here!} +\lstset{ % + basicstyle=\footnotesize, % the size of the fonts that are used for the code + captionpos=b, % sets the caption-position to bottom + frame=single, % adds a frame around the code + keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible) + keywordstyle=\color{blue}, % keyword style + numbers=left, % where to put the line-numbers; possible values are (none, left, right) + numbersep=5pt, % how far the line-numbers are from the code + rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here)) + showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces' + showstringspaces=false, % underline spaces within strings only + showtabs=false, % show tabs within strings adding particular underscores + stepnumber=2, % the step between two line-numbers. If it's 1, each line will be numbered + stringstyle=\color{mymauve}, % string literal style + tabsize=2, % sets default tabsize to 2 spaces + title=\lstname % show the filename of files included with \lstinputlisting; also try caption instead of title +} \begin{document} \maketitle