diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty index c0d85832b51..453275f6b42 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty @@ -503,19 +503,23 @@ \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} + \pretocmd{\bibsetup}{% + \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} + \pretocmd{\bibsetup}{% + \newlength{\beamer@bibiconwidth}% + \settowidth\beamer@bibiconwidth{\usebeamertemplate*{bibliography item}}% + \setlength{\labelwidth}{-\beamer@bibiconwidth}% + \addtolength{\labelwidth}{2\labelsep}% + \addtolength{\bibhang}{\labelsep}% + }{}{}% }} |