From a177dd373affcae4a4a09d0ef31ecf1c38ece484 Mon Sep 17 00:00:00 2001 From: michaelpacer Date: Mon, 27 Feb 2017 23:46:04 -0800 Subject: [PATCH] actually follow the spec described in the docs --- nbconvert/templates/latex/base.tplx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbconvert/templates/latex/base.tplx b/nbconvert/templates/latex/base.tplx index 6856cc9e7..31e01a099 100644 --- a/nbconvert/templates/latex/base.tplx +++ b/nbconvert/templates/latex/base.tplx @@ -18,7 +18,7 @@ This template does not define a docclass, the inheriting class must define this. \listfiles \usepackage{amsmath} % Equations \usepackage{mathspec} -\setmainfont{TeX Gyre Pagella} +\setmainfont[Extension=.otf, Ligatures=TeX, Numbers=OldStyle, UprightFont=*-regular, BoldFont=*-bold, ItalicFont=*-italic]{texgyrepagella} \setmonofont[Ligatures=TeX, PunctuationSpace=WordSpace, Extension=.otf, Numbers={OldStyle,Monospaced}, WordSpace={1,0,0}, Scale=1.0, UprightFont=*-Regular, BoldFont=*-Bold]{SourceCodePro}