From 582786ecbec302a869eebef2abef637e6b6210ab Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Mon, 2 Jan 2023 00:47:57 +0000
Subject: [PATCH] add autolabels to all images

---
 layout.sty | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/layout.sty b/layout.sty
index eb51ab5d..f7e794be 100644
--- a/layout.sty
+++ b/layout.sty
@@ -225,6 +225,7 @@ bookmarks=true]%
   }
   #3
   \end{wrapfigure}
+  \label{#1}
 }
 
 \newcommand{\toppic}[2]{
@@ -235,6 +236,7 @@ bookmarks=true]%
       \includegraphics[width=\textwidth]{images/#1.jpg}
     }
     #2
+  \label{#1}
   \end{figure*}
 }
 
@@ -248,6 +250,7 @@ bookmarks=true]%
     }
     #2
     \end{tcolorbox}
+  \label{#1}
   \end{figure*}
 }
 
@@ -259,6 +262,7 @@ bookmarks=true]%
       \includegraphics[width=\textwidth]{images/#1.jpg}
     }
     #2
+  \label{#1}
   \end{figure*}
 }
 
@@ -271,6 +275,7 @@ bookmarks=true]%
       \includegraphics[width=\textwidth]{images/#1.jpg}
     }
     #2
+    \label{#1}
     \end{tcolorbox}
   \end{figure*}
 }
-- 
GitLab