lettrine 包中的 loversize 参数不起作用

lettrine 包中的 loversize 参数不起作用

loversize来自的参数莱特林包对我来说不起作用。下面是 MWE 来说明这个问题:

\documentclass[a4paper,12pt]{article}

\usepackage{lettrine}

\begin{document}

\lettrine[loversize=0.5]{T}{his} is a sample of text. This is a sample 
of text. This is a sample of text. This is a sample of text. This is a 
sample of text. This is a sample of text. This is a sample of text. 
This is a sample of text. This is a sample of text. This is a sample 
of text. This is a sample of text. This is a sample of text. This is a 
sample of text. This is a sample of text. This is a sample of text. 
This is a sample of text. This is a sample of text.\\

\end{document}

将其设置loversize为允许范围内的任何十进制值(从 -1 到 1)不会以任何方式改变删除的大写字母。有人知道为什么会这样吗?

答案1

您需要使用可缩放字体。默认情况下,TeX 使用 Computer Modern 字体,该字体只有固定大小。尝试添加:

\usepackage{lmodern}

这是 Computer Modern 的可扩展副本(大部分相同),名为 Latin Modern。这应该可以解决您的问题。

相关内容