Merge pull request #135 from adunning/fontspec

Use Ligatures=TeX for fontspec.
This commit is contained in:
John MacFarlane 2015-10-18 21:50:11 -07:00
commit 69609ded4e
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ $endif$
\else \else
\usepackage{fontspec} \usepackage{fontspec}
\fi \fi
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
\newcommand{\euro}{€} \newcommand{\euro}{€}
$if(mainfont)$ $if(mainfont)$
\setmainfont[$mainfontoptions$]{$mainfont$} \setmainfont[$mainfontoptions$]{$mainfont$}

View file

@ -23,7 +23,7 @@ $endif$
\else \else
\usepackage{fontspec} \usepackage{fontspec}
\fi \fi
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
\newcommand{\euro}{€} \newcommand{\euro}{€}
$if(mainfont)$ $if(mainfont)$
\setmainfont[$mainfontoptions$]{$mainfont$} \setmainfont[$mainfontoptions$]{$mainfont$}