From beb747e014bce1fe93d7c8e74ce5fcea4829e838 Mon Sep 17 00:00:00 2001
From: Andreas Kapp Lindquist <andkaplin05@gmail.com>
Date: Tue, 28 Oct 2025 15:48:59 +0100
Subject: report(commands): Added custom commands for snippets and code blocks

---
 report/report.tex | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'report/report.tex')

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}
-- 
cgit v1.2.3-70-g09d2

