diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty index adf021aae70..c0d85832b51 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty @@ -495,6 +495,29 @@ {\ifcsundef{abx@field@title}{}{\ifpunct{}{\midsentence\newunitpunct}}% \newblock\unspace\usebeamercolor[fg]{bibliography entry note}}{}{}} {}} + +% Adding patches to some biblatex styles +\csappto{blx@filehook@postload@numeric.bbx}{% + \mode<presentation>{\setbeamertemplate{bibliography item}{\insertbiblabel}}} +\csappto{blx@filehook@postload@alphabetic.bbx}{% + \mode<presentation>{\setbeamertemplate{bibliography item}{\insertbiblabel}}} +\csappto{blx@filehook@postload@authoryear.bbx}{% + \mode<presentation>{% + \newlength{\beamer@bibiconwidth} + \settowidth\beamer@bibiconwidth{\usebeamertemplate*{bibliography item}} + \setlength{\labelwidth}{-\beamer@bibiconwidth} + \addtolength{\labelwidth}{2\labelsep} + \addtolength{\bibhang}{\labelsep} + }} +\csappto{blx@filehook@postload@authortitle.bbx}{% + \mode<presentation>{% + \newlength{\beamer@bibiconwidth} + \settowidth\beamer@bibiconwidth{\usebeamertemplate*{bibliography item}} + \setlength{\labelwidth}{-\beamer@bibiconwidth} + \addtolength{\labelwidth}{2\labelsep} + \addtolength{\bibhang}{\labelsep} + }} + \mode <article> |