summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty37
1 files changed, 17 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
index f246706b61c..8bb9c85f3be 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 96ee3b332f84 2012/03/11 08:21:04 joseph $
+\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbaselocalstructure.sty,v 5ff5e8ed7c0e 2012/05/25 09:30:46 joseph $
\mode
<all>
@@ -460,27 +460,24 @@
\usebeamertemplate{bibliography entry note}}}}%
\leavevmode\setbox\beamer@tempbox=\hbox{}\ht\beamer@tempbox=1.5em\box\beamer@tempbox}
-% The following code provided by Audrey http://tex.stackexchange.com/q/47540/2693
+% The following code provided by Audrey http://tex.stackexchange.com/a/57247
\AtBeginDocument{%
\@ifpackageloaded{biblatex}
- {%
- \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}%
- }{}{}%
- }
- {}
-}
+ {\apptocmd{\blx@env@bibliography}
+ {\let\makelabel\beamer@biblabeltemplate}{}{}
+ \apptocmd{\abx@macro@begentry}
+ {\let\bbx@tempa\@empty%
+ \usebeamercolor[fg]{bibliography entry author}}{}{}
+ \pretocmd{\abx@macro@labeltitle}
+ {\ifboolexpr{ test {\ifcsundef{abx@field@label}}
+ and test {\ifcsundef{abx@field@labeltitle}} }{}{\let\bbx@tempa\labelnamepunct}}{}{}
+ \pretocmd{\abx@macro@title}
+ {\ifcsundef{abx@name@labelname}{}{\let\bbx@tempa\labelnamepunct}%
+ \bbx@tempa\newblock\unspace\usebeamercolor[fg]{bibliography entry title}}{}{}
+ \apptocmd{\abx@macro@title}
+ {\ifcsundef{abx@field@title}{}{\newunitpunct}%
+ \newblock\usebeamercolor[fg]{bibliography entry note}}{}{}}
+ {}}
\mode
<article>