| |
---|
| | |
---|
| | <xsl-out:value-of select="$latex-hyperref-boilerplate" /> |
---|
| | |
---|
| | <xsl-out:text> |
---|
| | \defaultfontfeatures{Mapping=tex-text} |
---|
| | \setmainfont{Minion Pro} |
---|
| | \setsansfont[Scale=MatchUppercase,BoldFont={Open Sans}]{Open Sans Light} |
---|
| | % The following line is equivalent to: |
---|
| | % \setmainfont{Minion Pro} |
---|
| | % \setmathsfont(Latin,Digits){Minion Pro} |
---|
| | % \setmathrm{Minion Pro} |
---|
| | \setprimaryfont[Mapping=tex-text]{Minion Pro} |
---|
| | \setsansfont[Mapping=tex-text, Scale=MatchUppercase, BoldFont={Open Sans}]{Open Sans Light} |
---|
| | % Explicitly specify Mapping=tex-text only for the primary and sans fonts, |
---|
| | % otherwise curly quotes will automatically appear in the mono font. Since |
---|
| | % this is pretty much exclusively used for code listings, this is a bad thing. |
---|
| | \setmonofont[Scale=MatchLowercase]{Letter Gothic 12 Pitch} |
---|
| | \setmathsfont(Latin,Digits){TeX Gyre Pagella} |
---|
| | |
---|
| | % Hack to prevent digits in hyperlinks from being set in the main font instead of the mono font. |
---|
| | % From http://tex.stackexchange.com/questions/99770/problem-with-digits-in-urls-when-using-mathspec-and-hyperref |
---|
| | % Note: doesn't matter if this is executed multiple times. |
---|
| |
---|
|