aboutsummaryrefslogtreecommitdiff
path: root/thesis/main.tex
diff options
context:
space:
mode:
authorAria Shrimpton <me@aria.rip>2024-03-11 15:38:37 +0000
committerAria Shrimpton <me@aria.rip>2024-03-11 15:38:37 +0000
commit07704bf7ec677da85492530fe79d7380f5dd08ee (patch)
tree7cf17f8687086a9e3041599375717958419108e9 /thesis/main.tex
parent761e2ac49069ecf5eedbffe5a34d6d6ba69a2928 (diff)
first draft
Diffstat (limited to 'thesis/main.tex')
-rw-r--r--thesis/main.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/thesis/main.tex b/thesis/main.tex
index 2c2ed90..a3c71c3 100644
--- a/thesis/main.tex
+++ b/thesis/main.tex
@@ -9,12 +9,13 @@
\usepackage{amsmath}
\usepackage{microtype}
+\usepackage{calc}
\usepackage[style=numeric]{biblatex}
\addbibresource{biblio.bib}
%% Convenience macros
-\newcommand{\code}{\lstinline}
-\newcommand{\todo}[1]{\colorbox{yellow}{TODO: #1} \par}
+\newcommand{\code}[1]{\lstinline$#1$}
+\newcommand{\todo}[1]{\par\noindent\colorbox{yellow}{\begin{minipage}{\linewidth-2\fboxsep}TODO: #1\end{minipage}}\par}
%% Code blocks
\usepackage{listings, listings-rust}