aboutsummaryrefslogtreecommitdiff
path: root/report
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--report/report.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/report/report.tex b/report/report.tex
index 926c9df..d0cbd0c 100644
--- a/report/report.tex
+++ b/report/report.tex
@@ -14,6 +14,13 @@
\geometry{a4paper}
+% ----- Custom commands ------
+\newcommand{\code}[1]{\small\mintinline[xleftmargin=2em, xrightmargin=2em,
+breaklines]{asm}{#1}}
+\newcommand{\snippet}[3]{\inputminted[firstline=#1,lastline=#2,linenos,
+xleftmargin=1.5em, breaklines]{asm}{#3}}
+% ----------------------------
+
\begin{document}
\begin{center}