![在 Lettrine 信件中添加开头的一对引号](https://linux22.com/image/430588/%E5%9C%A8%20Lettrine%20%E4%BF%A1%E4%BB%B6%E4%B8%AD%E6%B7%BB%E5%8A%A0%E5%BC%80%E5%A4%B4%E7%9A%84%E4%B8%80%E5%AF%B9%E5%BC%95%E5%8F%B7.png)
我正在使用该\lettrine
包,并希望能够将左双引号添加到带有字母的段落开头。但是,我还没有找到一种方便的方法来实现这一点——将常规的左引号放在自然位置并不能产生所需的结果,如以下代码和输出所示:
\documentclass{book}
\usepackage{lettrine}
\usepackage{xcolor}
\input GoudyIn.fd
\newcommand*\initfamily{\usefont{U}{GoudyIn}{xl}{n}}
\begin{document}
\thispagestyle{empty}
``\lettrine[lines=3]{\color{red}\initfamily{T}}{\color{red}\textbf{his}} is one sentence in the paragraph. This is one sentence in the paragraph. This is one sentence in the paragraph. This is one sentence in the paragraph. This is one sentence in the paragraph. This is one sentence in the paragraph. This is one sentence in the paragraph. This is one sentence in the paragraph. This is one sentence in the paragraph. {\textcolor{red}{I would like to add appropriately sized \textit{opening double quotes} to the Lettrine `T'}.} ''
\end{document}
\initfamily{
此外,在之后和之前立即添加双引号T
没有任何作用。
问题:是否有可能以方便的方式在段落中包含适当大小的开头引号(在本例中为红色) - 而不必在文档的其他地方生成它们,然后通过一组 \hskip(s) 和 \vskip(s) 将它们移动到位?
谢谢。
答案1
这看起来就像您想要实现的目标吗?
\documentclass{book}
\usepackage{lettrine}
\usepackage{xcolor}
\input GoudyIn.fd
\newcommand*\initfamily{\usefont{U}{GoudyIn}{xl}{n}}
\begin{document}
\thispagestyle{empty}
\def\frenchquote{\raisebox{-\baselineskip}{\Large «\,}}
\def\curlyquote{\Large “\,}
\lettrine[ante=\frenchquote, lines=3, findent=.5em, nindent=0em]
{\color{red}\initfamily{T}}{\color{red}\textbf{his}}
is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
\rule{\textwidth}{1pt}
\lettrine[ante=\curlyquote, lines=3, findent=.5em, nindent=0em]
{\color{red}\initfamily{T}}{\color{red}\textbf{his}}
is one sentence in the paragraph. This is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
This is one sentence in the paragraph.
\end{document}