From ef5ad35c65d40e29f0ea8762872d75b51f20e7ee Mon Sep 17 00:00:00 2001 From: "Kevin M. Godby" Date: Mon, 25 Feb 2008 02:24:55 +0000 Subject: [PATCH] * If the Palatino fonts are installed, use it. Otherwise, silently fall back on the Computer Modern fonts. git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@44 516e2f36-ce3a-0410-bea4-1d4a03f5df72 --- tufte-handout.cls | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tufte-handout.cls b/tufte-handout.cls index 2f7fdbb..a12bdd2 100644 --- a/tufte-handout.cls +++ b/tufte-handout.cls @@ -241,6 +241,13 @@ \RequirePackage[format=default,font={rm,scriptsize},justification=raggedright,singlelinecheck=false]{caption} \fi +%% +% If the Palatino typeface (and its math symbol set) are installed, load them. + +\IfFileExists{palatino.sty}{% + \RequirePackage{palatino} + \IfFileExists{mathpazo.sty}{\RequirePackage[osf,sc]{mathpazo}}{} +}{} % if the Palatino typefaces aren't found, do nothing. %% % Set raggedright and paragraph indentation for document