Lettrine 无法跟上字体的大小

Lettrine 无法跟上字体的大小

考虑以下代码和输出:

\documentclass{article}
\usepackage{lettrine}
\begin{document}
\small
  \lettrine{M}{ore} words. Again more words. Again more words. Again more words. Again more words. Again more words. Again more words. Again more words.

\vskip 15pt

\large
  \lettrine{M}{ore} words. Again more words. Again more words. Again more words. Again more words. Again more words. Again more words. Again more words.
  
\vskip 15pt    

\LARGE
    \lettrine{M}{ore} words. Again more words. Again more words. Again more words. Again more words. Again more words. Again more words. Again more words.
\end{document}

在此处输入图片描述

请注意,随着字体大小从小到大再到大,首字下沉的大小保持不变 --- 迫使其在段落中越来越低(不美观)。

问题:(i)如何纠正这个问题,使得最后两段的外观(相对而言)与第一段相似?(ii)是否可以覆盖默认值并增加字母的高度?

谢谢。

答案1

Latex 警告您

LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size <56.09955> not available
(Font)              size <24.88> substituted on input line 15.

如果您使用fix-cm包,那么 cm 在任何尺寸下都可用(或者或多或少使用除计算机现代之外的任何字体集,我在这里使用拉丁现代)那么

在此处输入图片描述

\documentclass{article}
\usepackage{lettrine}
\usepackage{lmodern}
\begin{document}
\small
  \lettrine{M}{ore} words. Again more words. Again more words. Again more words. Again more words. Again more words. Again more words. Again more words.

\vskip 15pt

\large
  \lettrine{M}{ore} words. Again more words. Again more words. Again more words. Again more words. Again more words. Again more words. Again more words.
  
\vskip 15pt    

\LARGE
    \lettrine{M}{ore} words. Again more words. Again more words. Again more words. Again more words. Again more words. Again more words. Again more words.
\end{document}

相关内容