diff options
author | Aria Shrimpton <me@aria.rip> | 2024-03-11 15:38:37 +0000 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-03-11 15:38:37 +0000 |
commit | 07704bf7ec677da85492530fe79d7380f5dd08ee (patch) | |
tree | 7cf17f8687086a9e3041599375717958419108e9 /thesis/main.tex | |
parent | 761e2ac49069ecf5eedbffe5a34d6d6ba69a2928 (diff) |
first draft
Diffstat (limited to 'thesis/main.tex')
-rw-r--r-- | thesis/main.tex | 5 |
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} |