Skip to content

Commit

Permalink
Ok, hopefully this works?
Browse files Browse the repository at this point in the history
  • Loading branch information
mpacer committed Mar 7, 2017
1 parent 1545f71 commit 059b0b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nbconvert/templates/latex/base.tplx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This template does not define a docclass, the inheriting class must define this.
\listfiles
\usepackage{amsmath} % Equations
\usepackage{mathspec}
\usepackage{unicode-math}

\setmainfont[Ligatures=TeX,PunctuationSpace=WordSpace,Extension=.otf,
Numbers=OldStyle,WordSpace={1,0,0},UprightFont=*-regular,BoldFont=*-bold,
Expand All @@ -28,8 +29,9 @@ Numbers={OldStyle,Monospaced},WordSpace={1,0,0},Scale=1.0,
UprightFont=*-Regular,BoldFont=*-Bold]{SourceCodePro}

\setmathsfont(Latin,Greek,Digits){TeX Gyre Pagella Math}
% \setmathrm{TeX Gyre Pagella Math}
\usepackage{newunicodechar}
% \setmathfont{texgyrepagella-math.otf}
\setmathrm{TeX Gyre Pagella Math}
% \usepackage{newunicodechar}

% Basic figure setup, for now with no caption control since it's done
% automatically by Pandoc (which extracts ![](path) syntax from Markdown).
Expand Down

0 comments on commit 059b0b5

Please sign in to comment.