aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarolS <karol.m.stasiak@gmail.com>2014-02-26 21:51:29 +0100
committerKarolS <karol.m.stasiak@gmail.com>2014-02-26 21:51:29 +0100
commit088fccaedafe1ffd8ecb65a75ff6822e73886719 (patch)
tree4eccf2a15417b3cc74603c39f4f4ad1bfe57f531
parent3a0ed995ca45648029a445302a16a92b8dfe6c86 (diff)
downloadpandoc-088fccaedafe1ffd8ecb65a75ff6822e73886719.tar.gz
Backported changes from default.latex to default.beamer in order to improve Unicode support
-rw-r--r--default.beamer10
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}