![将诗歌标题与诗句对齐](https://linux22.com/image/323464/%E5%B0%86%E8%AF%97%E6%AD%8C%E6%A0%87%E9%A2%98%E4%B8%8E%E8%AF%97%E5%8F%A5%E5%AF%B9%E9%BD%90.png)
如何将verse
环境中的诗歌标题与诗歌文本对齐?
\poemtitle{Raven}
\begin{verse}[\linewidth]
Once upon a midnight dreary, while I pondered, weak and weary,\\*
Over many a quaint and curious volume of forgotten lore—\\*
While I nodded, nearly napping, suddenly there came a tapping,\\*
As of some one gently rapping, rapping at my chamber door.\\*
“’Tis some visitor,” I muttered, “tapping at my chamber door—\\*
Only this and nothing more.”
给我:
我希望“Raven”的标题能够与诗歌的诗句左对齐,无论是在左页还是右页。
答案1
感谢@egreg 的建议,我最终成功让它发挥作用:
\renewcommand{\poemtitlefont}{\raggedright\normalfont\large\bfseries\hspace{\leftmargin}}