Skip to content

Instantly share code, notes, and snippets.

@tpoisot
Created September 8, 2011 01:48
Show Gist options
  • Save tpoisot/1202402 to your computer and use it in GitHub Desktop.
Save tpoisot/1202402 to your computer and use it in GitHub Desktop.
Use Warnock Pro for text and maths in XeLaTeX
\usepackage{mathspec}
\usepackage{fontspec,xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Mapping=tex-text]{Warnock Pro Light}
\setsansfont[Scale=MatchLowercase,Mapping=tex-text]{Myriad Pro}
\setmonofont[Scale=MatchLowercase]{Andale Mono}
\setmathfont(Greek,Latin,Digits){Warnock Pro Light}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment