Skip to content

Commit

Permalink
fix inconsistent documentation of frametitlecaps option and deprecate…
Browse files Browse the repository at this point in the history
… capsframetitle option
  • Loading branch information
michaelroland committed Oct 21, 2024
1 parent 0458eaf commit 5482426
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions beamerthemejku.sty
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,16 @@

% Option [no]frametitlecaps: set frame titles in all-caps (defaults to false)
\newbool{jkubeamer@frametitlecaps}
\DeclareOptionBeamer{capsframetitle}[true]{\setbool{jkubeamer@frametitlecaps}{#1}}
\DeclareOptionBeamer{nocapsframetitle}{\boolfalse{jkubeamer@frametitlecaps}}
\DeclareOptionBeamer{frametitlecaps}[true]{\setbool{jkubeamer@frametitlecaps}{#1}}
\DeclareOptionBeamer{frametitlecaps}{\boolfalse{jkubeamer@frametitlecaps}}
\DeclareOptionBeamer{capsframetitle}[true]{%
\PackageWarning{beamerthemejku}{Option `capsframetitle' deprecated, use frametitlecaps instead!}%
\setbool{jkubeamer@frametitlecaps}{#1}%
}
\DeclareOptionBeamer{nocapsframetitle}{%
\PackageWarning{beamerthemejku}{Option `nocapsframetitle' deprecated, use nonocapsframetitle instead!}%
\boolfalse{jkubeamer@frametitlecaps}%
}

% Option [no]footer: display a frame footer (defaults to true)
\newbool{jkubeamer@framefooter}
Expand Down
2 changes: 1 addition & 1 deletion main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
%% * nofooter ... Do not display a frame footer.
%% * noimprint ... Do not insert imprint on title pages.
%% * nojkulogo ... Do not insert JKU & K logos on title pages and in frame footers.
%% * frametitlecaps ... Set frame titles in capital letters (like in eariler theme versions).
%% * frametitlecaps ... Set frame titles in capital letters (like in earlier theme versions).
%% * nofancyfonts ... Do not use custom TTF fonts with XeTeX/LuaTeX / supress pdfLaTeX warning.
%% * mac ... Use adapted color palette for screen display on Mac.
%% * legacyitemizestyle ... Use old bullet style in itemization.
Expand Down

0 comments on commit 5482426

Please sign in to comment.