Commit 84434d76 authored by Ivo Kabadshow's avatar Ivo Kabadshow

use robust \MakeTextUppercase

parent 5c04d217
......@@ -126,7 +126,7 @@
\setbeamerfont{title}{size*={16pt}{18pt},series=\bfseries} % 32pt, baselineskip 36pt%
},
allcaps/.code={%
\let\beamerfzj@titleformatcaps\uppercase%
\let\beamerfzj@titleformatcaps\MakeTextUppercase%
\let\beamerfzj@titleformatspacinga\emptydummya%
\let\beamerfzj@titleformatspacingb\emptydummyb%
\setbeamerfont{title}{size*={16pt}{18pt},series=\bfseries} % 32pt, baselineskip 36pt%
......@@ -144,7 +144,7 @@
\setbeamerfont{subtitle long}{size*={9pt}{11pt},series=\bfseries} % 18pt, baselineskip 22pt
},
allcaps/.code={%
\let\beamerfzj@subtitleformatcaps\uppercase%
\let\beamerfzj@subtitleformatcaps\MakeTextUppercase%
\let\beamerfzj@subtitleformatspacinga\emptydummya%
\let\beamerfzj@subtitleformatspacingb\emptydummyb%
\setbeamerfont{title}{size*={16pt}{16pt},series=\bfseries} % 30pt, baselineskip 36pt%
......@@ -162,7 +162,7 @@
\setbeamerfont{part}{size*={16pt}{18pt},series=\bfseries} % 30pt, baselineskip 36pt%
},
allcaps/.code={%
\let\beamerfzj@partformatcaps\MakeUppercase%
\let\beamerfzj@partformatcaps\MakeTextUppercase%
\let\beamerfzj@partformatspacinga\emptydummya%
\let\beamerfzj@partformatspacingb\emptydummyb%
\setbeamerfont{part}{size*={16pt}{18pt},series=\bfseries} % 30pt, baselineskip 36pt%
......@@ -183,12 +183,12 @@
\def\beamerfzj@partformat#1{#1}
\patchcmd{\beamer@title}%
{\def\inserttitle{#2}}%
{\def\inserttitle{{\beamerfzj@titleformatspacingb{LetterSpace=15.0}\beamerfzj@titleformatcaps{\beamerfzj@titleformatspacinga[120]{#2}}}}}%
{\protected\def\inserttitle{{\beamerfzj@titleformatspacingb{LetterSpace=15.0}\beamerfzj@titleformatcaps{\beamerfzj@titleformatspacinga[120]{#2}}}}}%
{}%
{\PackageError{beamerfzj}{Patching original title failed}\@ehc}
\patchcmd{\beamer@subtitle}%
{\def\insertsubtitle{#2}}%
{\def\insertsubtitle{{\beamerfzj@subtitleformatspacingb{LetterSpace=15.0}\beamerfzj@subtitleformatcaps{\beamerfzj@subtitleformatspacinga[120]{#2}}}}}%
{\protected\def\insertsubtitle{{\beamerfzj@subtitleformatspacingb{LetterSpace=15.0}\beamerfzj@subtitleformatcaps{\beamerfzj@subtitleformatspacinga[120]{#2}}}}}%
{}%
{\PackageError{beamerfzj}{Patching original subtitle failed}\@ehc}
\patchcmd{\beamer@part}%
......
......@@ -6,6 +6,7 @@
\RequirePackage{ifluatex,ifxetex,ifpdf}
\RequirePackage{tikz}
\RequirePackage{textcase}
\usetikzlibrary{calc}
\ifluatex
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment