![如何强制以斜体大写字母“W”开头的单词与小页面的左边缘更好地对齐](https://linux22.com/image/446606/%E5%A6%82%E4%BD%95%E5%BC%BA%E5%88%B6%E4%BB%A5%E6%96%9C%E4%BD%93%E5%A4%A7%E5%86%99%E5%AD%97%E6%AF%8D%E2%80%9CW%E2%80%9D%E5%BC%80%E5%A4%B4%E7%9A%84%E5%8D%95%E8%AF%8D%E4%B8%8E%E5%B0%8F%E9%A1%B5%E9%9D%A2%E7%9A%84%E5%B7%A6%E8%BE%B9%E7%BC%98%E6%9B%B4%E5%A5%BD%E5%9C%B0%E5%AF%B9%E9%BD%90.png)
是我的眼睛还是其他人注意到斜体字的左对齐西在minipage
环境中看起来并不像其他左对齐字母那样“齐平”?
例如,考虑以下代码:
\documentclass{book}
\usepackage{xcolor}
\headsep=-25pt \textheight=9.5in
\begin{document}
\thispagestyle{empty}
\LARGE
\begin{center}
\begin{minipage}{5.42in}
\bfseries {\color{blue}{SENECA:}} \, \textit{The Time Will Come When Diligent Research Over Long Periods Will Bring to Light Things Which Now Lie Hidden. A Single Lifetime, Even Though Entirely Devoted to the Sky, Would Not be Enough for the Investigation of So Vast a Subject\ldots. And So This Knowledge {\color{red}{Will}} be Unfolded Only Through Long Successive Ages. There Will Come a Time {\color{red}{When}} Our Descendants Will be Amazed That We Did Not Know Things That are So Plain to Them\ldots. Many Discoveries are Reserved for Ages Still to Come,\linebreak {\color{red}{When}} Memory of Us Will Have Been Effaced.}
\end{minipage}
\vskip 15pt
\begin{minipage}{5.42in}
\bfseries {\color{blue}{SENECA:}} \, \textit{The Time Will Come When Diligent Research Over Long Periods Will Bring to Light Things Which Now Lie Hidden. A Single Lifetime, Even Though Entirely Devoted to the Sky, Would Not be Enough for the Investigation of So Vast a Subject\ldots. And So This Knowledge Will be Unfolded Only Through Long Successive Ages. There Will Come a Time When Our Descendants Will be Amazed That We Did Not Know Things That are So Plain to Them\ldots. Many Discoveries are Reserved for Ages Still to Come,\linebreak When Memory of Us Will Have Been Effaced.}
\end{minipage}
\end{center}
\end{document}
产生
第二个小页面与第一个小页面相同,只是三个小页面左对齐西文字没有用红色表示,以说明该现象不是由添加颜色引起的---这在第一个小页中是为了强调视觉效果而包含的。
该代码是用 编译的lualatex
;但是,当我用 编译时,输出对我来说似乎是相同的pdflatex
。
问题:有人知道是什么原因导致斜体西单词在 a 中不能像minipage
以不同字母开头的其他单词那样很好地左对齐?此外,有没有办法解决视觉问题?
谢谢。
答案1
你问:
有没有什么办法可以解决视觉问题?
是:加载微型包裹。
考虑以下简约的 LaTeX 文档:
\documentclass{book}
\usepackage{showframe}
%\usepackage{microtype}
\begin{document}
\parindent=0pt
\obeylines
\itshape
When
Will
What
\bfseries
When
Will
What
\end{document}
默认情况下,即如果microtype
未加载包,则此文档会生成:
但是microtype
加载后,可以得到:
答案2
如果您使用 OpTeX,那么它相当于 microtype \load[mte] \emablemte
,即微印刷扩展。