更新 在了解到 Steven B. Seglates 的出色回答后,我修改了原始问题:在 Vertrine 环境中使用 Lettrine 或同等产品
考虑以下代码和输出:
\documentclass{article}
\usepackage{lettrine}
\usepackage{lmodern}
%\usepackage{verse}
\begin{document}
\Large
\vskip 15pt
\begin{verse}
\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{verse}
\vskip 15pt
\begin{verse}
\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{verse}
\end{document}
请注意,在诗歌环境中使用首尾相连的诗句效果很好,直到诗歌以诗节的形式呈现,而诗节的行列却以不太理想的方式划定。
此外,如果我们调用该verse
包,输出结果在美观度上会更差:
原始问题:如何在诗歌环境中使用 lettrine,以诗节形式呈现内容,但以美观的方式显示输出(即类似于三个显示的输出中的第一个)?
修订后的问题:是否有可能(如果可以,如何)在 \begin{document} 之前不使用子程序(对于像我这样的不熟练的用户来说,如果需要的话,将来很难理解和修改)来呈现使用 Steven B. Segletes 技术生成的输出?
谢谢。
答案1
verse
和有两个问题lettrine
:(1)verse
没有正常的缩进,因此大写字母缩进过多,(2)verse
不是正常的段落。因为 lettrine 就像一组段落,每个段落只有一行,但letrrine
旨在缩进单个段落的 2 行或更多行。
有可能愚弄读者看到几个段落以单个大写字母缩进(实际上只有一个段落),但在这种情况下,一个解决方案可能是(1)设置诗句的缩进,或者调整 lettrine 的默认悬挂,以及(2)使用带有verse
缩进的诗句换行机制:
\documentclass[a4paper,10pt]{article}
\usepackage{lettrine}
\usepackage{verse}
\begin{document}
\poemtitle{To be indented (too munch) or not be indented (at all)}
\begin{verse}[8cm]
\lettrine{M}{aking} a famine where abundance lies,\\
Thy self thy foe, to thy sweet self too cruel.\\
Thou that art now the world's fresh ornament, \\
And only herald to the gaudy spring, \\
Within thine own bud buriest thy content, \\
\end{verse}
{\poemtitle{The solution to be indented):\texttt{\textbackslash vindent}}
\vindent0pt
\begin{verse}[8cm]
\lettrine{M}{aking} a famine where abundance lies,\\
Thy self thy foe, to thy sweet self too cruel.\\
Thou that art now the world's fresh ornament, \\
And only herald to the gaudy spring, \\
Within thine own bud buriest thy content,
\end{verse}}
\poemtitle{The solution to not be indented: $>$ }
\begin{verse}[8cm]
\lettrine{M}{aking} a famine where abundance lies,\\>
Thy self thy foe, to thy sweet self too cruel.\\
Thou that art now the world's fresh ornament, \\
And only herald to the gaudy spring, \\
Within thine own bud buriest thy content,
\end{verse}
{\poemtitle{Complete solution via {\em verse} methods}
\vindent0pt
\begin{verse}[8cm]
\lettrine{M}{aking} a famine where abundance lies,\\>[-5pt]
Thy self thy foe, to thy sweet self too cruel.\\
Thou that art now the world's fresh ornament, \\
And only herald to the gaudy spring, \\
Within thine own bud buriest thy content,
\end{verse}}
\poemtitle{Complete solution via {\em lettine} methods}
\begin{verse}[8cm]
\lettrine[lhang=1.5,nindent=0em]{M}{aking} a famine where abundance lies,\\>
Thy self thy foe, to thy sweet self too cruel.\\
Thou that art now the world's fresh ornament, \\
And only herald to the gaudy spring, \\
Within thine own bud buriest thy content,
\end{verse}
\end{document}