diff --git a/layout.sty b/layout.sty
index b449542f454d64bc11b4896953d96bb589353096..f12e642f4c053e529bdbe76342ac2c4413599626 100644
--- a/layout.sty
+++ b/layout.sty
@@ -1228,6 +1228,7 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
 \newcommand\printAllSideQuests[1]{
   \foreach \x in {#1}{
     \center\subsection*{\x}
+    \label{sq:\x}
     \printcontents[\x]{f}{2}{\setcounter{tocdepth}{3}}
   }
   \vspace{2em}