Skip to content

Commit

Permalink
Beamer theme options (#10243)
Browse files Browse the repository at this point in the history
Add theme options to default.beamer: `colorthemeoptions`, `fontthemeoptions`,
`innerthemeoptions`, `outerthemeoptions`.
  • Loading branch information
twsh authored Oct 1, 2024
1 parent 7048254 commit 3ba9682
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions MANUAL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2898,8 +2898,8 @@ These variables change the appearance of PDF slides using [`beamer`].
`theme`, `colortheme`, `fonttheme`, `innertheme`, `outertheme`
: beamer themes

`themeoptions`
: options for LaTeX beamer themes (a list).
`themeoptions`, `colorthemeoptions`, `fontthemeoptions`, `innerthemeoptions`, `outerthemeoptions`
: options for LaTeX beamer themes (lists)

`titlegraphic`
: image for title slide
Expand Down
8 changes: 4 additions & 4 deletions data/templates/default.beamer
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ $if(theme)$
\usetheme[$for(themeoptions)$$themeoptions$$sep$,$endfor$]{$theme$}
$endif$
$if(colortheme)$
\usecolortheme{$colortheme$}
\usecolortheme[$for(colorthemeoptions)$$colorthemeoptions$$sep$,$endfor$]{$colortheme$}
$endif$
$if(fonttheme)$
\usefonttheme{$fonttheme$}
\usefonttheme[$for(fontthemeoptions)$$fontthemeoptions$$sep$,$endfor$]{$fonttheme$}
$endif$
$if(mainfont)$
\usefonttheme{serif} % use mainfont rather than sansfont for slide text
$endif$
$if(innertheme)$
\useinnertheme{$innertheme$}
\useinnertheme[$for(innerthemeoptions)$$innerthemeoptions$$sep$,$endfor$]{$innertheme$}
$endif$
$if(outertheme)$
\useoutertheme{$outertheme$}
\useoutertheme[$for(outerthemeoptions)$$outerthemeoptions$$sep$,$endfor$]{$outertheme$}
$endif$
% Prevent slide breaks in the middle of a paragraph
\widowpenalties 1 10000
Expand Down

0 comments on commit 3ba9682

Please sign in to comment.