diff options
author | Thomas Hodgson <twsh@users.noreply.github.com> | 2015-12-08 18:16:44 +0000 |
---|---|---|
committer | Thomas Hodgson <twsh@users.noreply.github.com> | 2015-12-08 18:16:44 +0000 |
commit | db0cda8f2e7978e28c3da253c43c387e8a35be4c (patch) | |
tree | 7efbb26cf830abf442f023d265f762a5767f087a | |
parent | 16e9428d8a86f6c95ef763a556e1297435e3032d (diff) | |
download | pandoc-db0cda8f2e7978e28c3da253c43c387e8a35be4c.tar.gz |
Moved themes after fonts
If themes are loaded after fonts then they can override fonts. Otherwise, what the themes set will be overridden by the fallback loading of lmodern.sty.
-rw-r--r-- | default.beamer | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/default.beamer b/default.beamer index 7e2835f19..8770f600a 100644 --- a/default.beamer +++ b/default.beamer @@ -1,22 +1,4 @@ \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} -$if(theme)$ -\usetheme{$theme$} -$endif$ -$if(colortheme)$ -\usecolortheme{$colortheme$} -$endif$ -$if(fonttheme)$ -\usefonttheme{$fonttheme$} -$endif$ -$if(mainfont)$ -\usefonttheme{serif} % use mainfont rather than sansfont for slide text -$endif$ -$if(innertheme)$ -\useinnertheme{$innertheme$} -$endif$ -$if(outertheme)$ -\useoutertheme{$outertheme$} -$endif$ \setbeamertemplate{caption}[numbered] \setbeamertemplate{caption label separator}{: } \setbeamercolor{caption name}{fg=normal text.fg} @@ -59,6 +41,24 @@ $if(CJKmainfont)$ \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} $endif$ \fi +$if(theme)$ +\usetheme{$theme$} +$endif$ +$if(colortheme)$ +\usecolortheme{$colortheme$} +$endif$ +$if(fonttheme)$ +\usefonttheme{$fonttheme$} +$endif$ +$if(mainfont)$ +\usefonttheme{serif} % use mainfont rather than sansfont for slide text +$endif$ +$if(innertheme)$ +\useinnertheme{$innertheme$} +$endif$ +$if(outertheme)$ +\useoutertheme{$outertheme$} +$endif$ % use upquote if available, for straight quotes in verbatim environments \IfFileExists{upquote.sty}{\usepackage{upquote}}{} % use microtype if available |