diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-03-19 11:11:23 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-03-19 11:11:23 -0700 |
commit | 0ab594bc47191d03db16388ad2691da8f627984b (patch) | |
tree | 2c4cfd094d1b703badecbccb640efe51f5593c59 | |
parent | c6eedc3727b6a7378d62d25e039e880aea124eb2 (diff) | |
parent | 088fccaedafe1ffd8ecb65a75ff6822e73886719 (diff) | |
download | pandoc-0ab594bc47191d03db16388ad2691da8f627984b.tar.gz |
Merge pull request #54 from KarolS/master
Improving Unicode support in the Beamer template
-rw-r--r-- | default.beamer | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/default.beamer b/default.beamer index d57e19711..f718413d4 100644 --- a/default.beamer +++ b/default.beamer @@ -11,17 +11,27 @@ $endif$ \usepackage{amssymb,amsmath} \usepackage{ifxetex,ifluatex} \usepackage{fixltx2e} % provides \textsubscript +\IfFileExists{upquote.sty}{\usepackage{upquote}}{} +\usepackage{lmodern} \ifxetex \usepackage{fontspec,xltxtra,xunicode} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \ifluatex \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else + \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} + $if(euro)$ + \usepackage{eurosym} + $endif$ \fi \fi +% use microtype if available +\IfFileExists{microtype.sty}{\usepackage{microtype}}{} $if(natbib)$ \usepackage{natbib} \bibliographystyle{plainnat} |