diff --git a/layout.sty b/layout.sty
index eb51ab5d2ec8d9828fa57293bdd5aef21fcd0c2d..f7e794be4fb203cebf4a497d6cb88172efef3529 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*}
 }