# Tag Info

7

Let's try simplifying the example. \documentclass{article} \usepackage{fontspec} \setmainfont{Latin Modern Roman} \begin{document} \addfontfeatures{LetterSpace=30.0} AB CD EF \showoutput \end{document} This is the relevant part from the log file when compiling with LuaLaTeX: ....\hbox(0.0+0.0)x15.0, direction TLT ....\EU2/LatinModernRoman(1)/m/n/10 A ...

5

\show will stop tex (as if for an error message) and show the meaning of any command. \makeatletter \show\f@size Produces *\show\f@size > \f@size=macro: ->10. \f@size is the current nominal font size, in pt (not bp). The posted code produces the error ! Undefined control sequence. \thefontsizePoint ...ent font size is: \convertto and you ...

4

I guess your question is "What's going on here?" Loading fontspec changes the current font from Computer Modern to Latin Modern. And the length governing the width of the page number in the ToC, given by \@pnumwidth, is defined in terms of the font using ems. To isolate the problem, compile the following document with either XeLaTeX or LuaLaTeX: ...

4

The tutorial referenced from stackoverflow answer in the comment by Andrew Cashner provides most of what you need. After syncing the font with TypeKit, we need to find the file which is hidden in one of the Adobe support directories Here's a short summary of the steps in Terminal: defaults write com.apple.finder AppleShowAllFiles TRUE cd ...

4

The symbol is not gone, but the interface of unicode-math has changed a bit. \documentclass{scrartcl} \usepackage{amsmath, amsfonts, amsthm} \usepackage{fontspec} \usepackage{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} \setmathfont{TeX Gyre Pagella Math} \begin{document} mathbf: $\mathbf{\chi}$ symbf: $\symbf{\chi}$ \end{document} ...

2

Pandoc uses a template which, when used with XeTeX calls mathspec.sty; mathspec.sty calls fontspec.sty with some options. If something else calls fontspec.sty then there will be a clash, and tufte-handout.cls does so. One solution would be to edit the template Pandoc uses. Taking out mathspec.sty would do the trick.

1

Section 6.1 of the manual tells how to set the features for specified families declared with \setmainfont or \setsansfont: \documentclass{article} \usepackage{fontspec} \defaultfontfeatures[\rmfamily,\sffamily,\ttfamily]{} \setmainfont{Linux Libertine O} \begin{document} force "x y Fx Fy" -- ---  '' \end{document}

Only top voted, non community-wiki answers of a minimum length are eligible