From de0d480a8725d0308477de3adc0da96ff2cffb58 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Wed, 19 Jul 2023 14:16:11 +0200
Subject: [PATCH] make exRef show italic titles

---
 layout.sty | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layout.sty b/layout.sty
index 6cd647d9..2f67b975 100644
--- a/layout.sty
+++ b/layout.sty
@@ -159,7 +159,7 @@ bookmarks=true]%
 % Argument 2: What to call that directory (e.g. 'the core rules')
 % Argument 3: Which label you're referring to
 \newcommand\exRef[3]{%
-\iftoggle{#1}{\footnote{\nameref{#3}: #2, \autopageref{#3}.}}%
+\ignorespaces\iftoggle{#1}{\footnote{\nameref{#3} in \textit{#2}, \autopageref{#3}.}}%
 {}%
 }
 
-- 
GitLab