From 088fccaedafe1ffd8ecb65a75ff6822e73886719 Mon Sep 17 00:00:00 2001 From: KarolS Date: Wed, 26 Feb 2014 21:51:29 +0100 Subject: Backported changes from default.latex to default.beamer in order to improve Unicode support --- default.beamer | 10 ++++++++++ 1 file changed, 10 insertions(+) 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} -- cgit v1.2.3