Seguimiento con XeTeX a través de LetterSpace

Seguimiento con XeTeX a través de LetterSpace

Cuando uso PDFLaTeX tengo una configuración usandomicrotypey una fuente disponible en versales (por ejemplo, \usepackage{lmodern}),

\usepackage[
protrusion=true,
expansion=true,
kerning=true,
spacing=true,
tracking=true,
factor=1100,
stretch=40,
shrink=10
]{microtype}
\SetTracking{encoding={*}, family= *, shape=fsc}{16}

Me gustaría la misma configuración para XeLaTeX (tanto como sea posible). Sé que XeLaTeX solo permite la protusión con microtipo, pero tengo muchos \rmfamily\bfseries\scshapeen mis comandos (para secciones, etc.) y quiero habilitar el seguimiento globalmente tal como lo hace microtipo con PDFLaTeX. Sé que puedo LetterSpacehacerlo localmente, pero ¿hay alguna manera de hacerlo solo de una vez por todas?

Respuesta1

Este es el esquema para Linux Libertine:

\documentclass{article}
\usepackage{fontspec}

\setmainfont[
  Ligatures=TeX,
  UprightFeatures={
    SmallCapsFont={Linux Libertine O},
    SmallCapsFeatures={Letters=SmallCaps,LetterSpace=50},
  },
  BoldFeatures={
    SmallCapsFont={LinLibertineOB},
    SmallCapsFeatures={Letters=SmallCaps,LetterSpace=50},
  },
  ItalicFeatures={
    SmallCapsFont={LinLibertineOI},
    SmallCapsFeatures={Letters=SmallCaps,LetterSpace=50},
  },
  BoldItalicFeatures={
    SmallCapsFont={LinLibertineOBI},
    SmallCapsFeatures={Letters=SmallCaps,LetterSpace=50},
  },
]{Linux Libertine O}

\begin{document}

This is text and \textsc{This is in Small Caps}

Don't use the following combinations, please:

{\scshape\bfseries This is Bold Small Caps}

{\scshape\itshape This is Italic Small Caps}

{\scshape\bfseries\itshape This is Bold Italic Small Caps}

\end{document}

Adáptate a tu entorno. El seguimiento está establecido en 50, lo que sin duda es demasiado, sólo para mostrar claramente el efecto.

ingrese la descripción de la imagen aquí

información relacionada