LetterSpace를 통해 XeTeX로 추적

LetterSpace를 통해 XeTeX로 추적

PDFLaTeX를 사용할 때 다음을 사용하여 설정이 있습니다.microtype소문자로 사용할 수 있는 글꼴(예: \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}

XeLaTeX에 대해서도 (가능한 한) 동일한 설정을 원합니다. XeLaTeX는 마이크로타입의 돌출만 허용한다는 것을 알고 있지만 \rmfamily\bfseries\scshape내 명령(섹션 등)에 많은 것이 있고 마이크로타입이 PDFLaTeX에서 수행하는 것처럼 전역적으로 추적을 활성화하고 싶습니다. 로컬에서 사용할 수 있다는 것을 알고 있지만 LetterSpace한 번만 수행할 수 있는 방법이 있습니까?

답변1

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}

귀하의 설정에 적응하십시오. 추적은 50으로 설정했는데, 이는 효과를 명확하게 보여주기에는 확실히 너무 많은 것입니다.

여기에 이미지 설명을 입력하세요

관련 정보