Commits

Joseph Wright committed 06980b0

Some basic support for biblatex icons

  • Participants
  • Parent commits df29f92

Comments (0)

Files changed (1)

base/beamerbaselocalstructure.sty

         \usebeamertemplate{bibliography entry note}}}}%
   \leavevmode\setbox\beamer@tempbox=\hbox{}\ht\beamer@tempbox=1.5em\box\beamer@tempbox}
 
+\long\def\beamer@blx@env@bibliography{%
+  \list{}
+  {
+    \let\makelabel\beamer@biblabeltemplate
+  }
+}
 
+\AtBeginDocument{
+  \@ifpackageloaded{biblatex}
+    {
+      \apptocmd\blx@env@bibliography{\let\makelabel\beamer@biblabeltemplate}{}{}
+      \pretocmd{\abx@macro@author}{\usebeamercolor[fg]{bibliography entry author}}{}{}
+      \pretocmd{\abx@macro@editor}{\usebeamercolor[fg]{bibliography entry author}}{}{}
+      \pretocmd{\abx@macro@title}{\blx@unitpunct\blx@postpunct\newblock\usebeamercolor[fg]{bibliography entry title}}{}{}
+      \apptocmd{\abx@macro@title}{\blx@unitpunct\blx@postpunct\newblock\usebeamercolor[fg]{bibliography entry note}}{}{}
+    }
+    {}
+}
 
 \mode
 <article>