Commits

Joseph Wright committed e172a8e

Add a template for caption label separator (fixes issue #178)

This is currently not documented: I will have to see where it fits in!

  • Participants
  • Parent commits 96ee3b3

Comments (0)

Files changed (2)

base/beamerbaseauxtemplates.sty

   {%
     \usebeamercolor[fg]{caption name}%
     \usebeamerfont*{caption name}%
-    \insertcaptionname~\insertcaptionnumber:%
+    \insertcaptionname~\insertcaptionnumber?
+    \usebeamertemplate{caption label separator}%
   }
   \insertcaption\par
 }
+\defbeamertemplate*{caption label separator}{colon}{ : }
 
 \defbeamertemplate{caption}{caption name own line}
 {%

base/themes/inner/beamerinnerthemedefault.sty

   {%
     \usebeamercolor[fg]{caption name}%
     \usebeamerfont*{caption name}%
-    \insertcaptionname:%
-  }
+    \insertcaptionname
+    \usebeamertemplate{caption label separator}%
+  }%
   \insertcaption\par
 }
-
+\defbeamertemplate*{caption label separator}{default}{ : }
 
 % Blocks