
Wenn ich PDFLaTeX verwende, verwende ich ein Setup mitmicrotype
und eine Schriftart, die in Kapitälchen verfügbar ist (z. B. \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}
Ich hätte gerne das gleiche Setup für XeLaTeX (so weit wie möglich). Ich weiß, dass XeLaTeX Protrusion nur mit Microtype zulässt, aber ich habe viele davon \rmfamily\bfseries\scshape
in meinen Befehlen (für Abschnitte usw.) und ich möchte die Verfolgung global aktivieren, so wie Microtype es mit PDFLaTeX macht. Ich weiß, dass ich LetterSpace
es lokal tun kann, aber gibt es eine Möglichkeit, es nur ein für alle Mal zu tun?
Antwort1
Dies ist das Schema für 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}
Passe es Deiner Einstellung an. Das Tracking ist auf 50 eingestellt, was sicherlich zu viel ist, um den Effekt deutlich zu zeigen.