pdfLaTeX 或 XeLaTeX 中的凸起是否能正常工作?

pdfLaTeX 或 XeLaTeX 中的凸起是否能正常工作?
\documentclass[11pt]{article} 
\usepackage[protrusion=true,expansion=true,final]{microtype}
\begin{document}
\section*{The Microtypesetting}
\noindent
A run of the mill paragraph with some text that goes blah blah blah etc.
\noindent
\textquoteleft
Wow! What a beauty!\textquoteright 
\end{document}

\textquoteleft并没有像这里所见的那样很好地突出到框外。我使用的是 TeX Live 2013,所以它不是很旧...我应该尝试 TeX Live 2014 吗?

答案1

使用 TeX Live 2014 凸起功能可以工作:

\documentclass[11pt,a5paper]{article}
\usepackage[protrusion=true,expansion=true,final]{microtype}
\begin{document}
\section*{The Microtypesetting}
\newcommand*{\test}{%
  \noindent
  A run of the mill paragraph with some text.
  \par\hrule height .5ex
  \vskip.5ex
  \noindent
  \textquoteleft
  Wow (lpcode = \the\lpcode\font`\`)! What a beauty!\textquoteright
  \par
}
\test

\lpcode\font`\`=1000
\test

\lpcode\font`\`=0
\test

\lpcode\font`\`=-1000
\test
\end{document}

结果

相关内容