summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-03-30 22:55:05 +0000
committerKarl Berry <karl@freefriends.org>2012-03-30 22:55:05 +0000
commit93c07a86f19018344711d41ae457b84cec166642 (patch)
treeb4e938227898d60ab57b863607220377ad3760bc /Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
parentecfa68b833c60a169220cae2b89dbc9d1e4067ad (diff)
beamer 3.16 (30mar12)
git-svn-id: svn://tug.org/texlive/trunk@25788 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty28
1 files changed, 19 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
index bfad35e8430..f246706b61c 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
@@ -8,7 +8,7 @@
%
% See the file doc/licenses/LICENSE for more details.
-\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbaselocalstructure.sty,v bd58fb83d145 2012/03/10 17:47:59 joseph $
+\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbaselocalstructure.sty,v 96ee3b332f84 2012/03/11 08:21:04 joseph $
\mode
<all>
@@ -459,15 +459,25 @@
\usebeamerfont{bibliography entry note}%
\usebeamertemplate{bibliography entry note}}}}%
\leavevmode\setbox\beamer@tempbox=\hbox{}\ht\beamer@tempbox=1.5em\box\beamer@tempbox}
-
-\AtBeginDocument{
+
+% The following code provided by Audrey http://tex.stackexchange.com/q/47540/2693
+\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}{\newblock\usebeamercolor[fg]{bibliography entry title}}{}{}
- \apptocmd{\abx@macro@title}{\newblock\usebeamercolor[fg]{bibliography entry note}}{}{}
+ {%
+ \apptocmd{\blx@env@bibliography}
+ {\let\makelabel\beamer@biblabeltemplate}{}{}
+ \apptocmd{\abx@macro@begentry}
+ {\usebeamercolor[fg]{bibliography entry author}}{}{}
+ \pretocmd{\abx@macro@title}
+ {%
+ \ifcsundef{abx@name@labelname}{}{\blx@unitpunct\blx@postpunct}%
+ \newblock\usebeamercolor[fg]{bibliography entry title}%
+ }{}{}
+ \apptocmd{\abx@macro@title}
+ {%
+ \ifcsundef{abx@field@title}{}{\blx@unitpunct\blx@postpunct}%
+ \newblock\usebeamercolor[fg]{bibliography entry note}%
+ }{}{}%
}
{}
}