From 80b2150c738501f771736b161fe0b0abec994885 Mon Sep 17 00:00:00 2001
From: Luke Naylor <l.naylor@sms.ed.ac.uk>
Date: Mon, 19 Feb 2024 14:29:11 +0000
Subject: [PATCH] Move command from preamble to appendix

---
 notebook-commands.tex | 1 +
 notebook-preamble.tex | 4 ----
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/notebook-commands.tex b/notebook-commands.tex
index 61ff671..f3313ae 100644
--- a/notebook-commands.tex
+++ b/notebook-commands.tex
@@ -1,3 +1,4 @@
+\def\PYZsq{\textquotesingle}% Upright quotes in Pygmentized code
 % Colors for the hyperref package
 \definecolor{urlcolor}{rgb}{0,.145,.698}
 \definecolor{linkcolor}{rgb}{.71,0.21,0.01}
diff --git a/notebook-preamble.tex b/notebook-preamble.tex
index 75656ff..1ab2912 100644
--- a/notebook-preamble.tex
+++ b/notebook-preamble.tex
@@ -14,10 +14,6 @@
 \usepackage{xcolor} % Allow colors to be defined
 \usepackage{enumerate} % Needed for markdown enumerations to work
 \usepackage{textcomp} % defines textquotesingle
-% Hack from http://tex.stackexchange.com/a/47451/13684:
-\AtBeginDocument{%
-    \def\PYZsq{\textquotesingle}% Upright quotes in Pygmentized code
-}
 \usepackage{upquote} % Upright quotes for verbatim code
 \usepackage{eurosym} % defines \euro
 
-- 
GitLab