git.iko.soy/typeable/pandoc
on master help sign in
Use polyglossia with xelatex in beamer. Closes #85.
commitab55684bc15ef367d92fd916797d154199c57c85 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 27 May 2015, 10:33 (11 years ago) parent513c438
1 file changed+6−1
default.beamer+6−1
default.beamer+6−1
@@ -117,7 +117,12 @@ $if(verbatim-in-note)$
117117\VerbatimFootnotes % allows verbatim text in footnotes
118118$endif$
119119$if(lang)$
120−\usepackage[$lang$]{babel}
120+\ifxetex
121+ \usepackage{polyglossia}
122+ \setmainlanguage{$mainlang$}
123+\else
124+ \usepackage[shorthands=off,$lang$]{babel}
125+\fi
121126$endif$
122127$for(header-includes)$
123128$header-includes$