From 9723d78ce4a7e3624e39e4b8a8fb98c649bb62b3 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Tue, 5 Dec 2023 17:52:33 +0100
Subject: [PATCH] edit \exRef

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

diff --git a/layout.sty b/layout.sty
index 2de772f3..d3a00065 100644
--- a/layout.sty
+++ b/layout.sty
@@ -198,7 +198,8 @@ 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]{%
-\ignorespaces\iftoggle{#1}{\footnote{See `\nameref{#3}' in \textit{#2}, \autopageref{#3}.}}%
+\ignorespaces\iftoggle{#1}{\footnote{\textit{#2}, \autopageref{#3}.
+(\nameref{#3})}}%
 {}%
 }
 
-- 
GitLab