如何在标题前留出空格?

如何在标题前留出空格?

我尝试增大诗歌编号和诗歌标题之间的间距,但没有成功。我该怎么办?

\documentclass[12pt]{book}
\usepackage{verse}
\PassOptionsToPackage{bookmarks, colorlinks=false, hidelinks}{hyperref}
\usepackage[numberpoems, clearpageafterpoem, useincipits]{poetrytex}
\usepackage[a4paper]{geometry}

\setlength{\beforepoemtitleskip}{3.0in}

\begin{document}

\begin{poem}{Break, break, break}{Tennyson}

\begin{altverse}
% Incipits are used in the ToP if no title is given.
\incipit{Break, break, break},\\*
On thy cold gray stones, O Sea!\\*
And I would that my tongue could utter\\*
The thoughts that arise in me.
\end{altverse}

\begin{altverse}
O, well for the fisherman's boy,\\*
That he shouts with his sister at play!\\*
O, well for the sailor lad,\\*
That he sings in his boat on the bay!
\end{altverse}

\begin{altverse}
And the stately ships go on\\*
To their haven under the hill;\\*
But O for the touch of a vanish'd hand,\\*
And the sound of a voice that is still!
\end{altverse}

\begin{altverse}
Break, break, break\\*
At the foot of thy crags, O Sea!\\*
But the tender grace of a day that is dead\\*
Will never come back to me.
\end{altverse}

\end{poem}

\end{document}

答案1

\titlepoemnum使用包修补命令的解决方案etoolbox

\documentclass[12pt]{book}
\usepackage[a4paper]{geometry}
\usepackage{ebgaramond}
\usepackage{verse}
\PassOptionsToPackage{bookmarks, colorlinks=false, hidelinks}{hyperref}
\usepackage[numberpoems, clearpageafterpoem, useincipits]{poetrytex}
\usepackage{etoolbox}
\apptocmd{\titlepoemnum}{\vskip 4ex}{}{}

\begin{document}

\begin{poem}{Break, break, break}{\rule{0pt}{4ex}\itshape Alfred, Lord Tennyson}

\setlength{\leftskip}{8pc}
\begin{altverse}
% Incipits are used in the ToP if no title is given.
\incipit{Break, break, break},\\*
On thy cold gray stones, O Sea!\\*
And I would that my tongue could utter\\*
The thoughts that arise in me.
\end{altverse}

\begin{altverse}
O, well for the fisherman's boy,\\*
That he shouts with his sister at play!\\*
O, well for the sailor lad,\\*
That he sings in his boat on the bay!
\end{altverse}

\begin{altverse}
And the stately ships go on\\*
To their haven under the hill;\\*
But O for the touch of a vanish'd hand,\\*
And the sound of a voice that is still!
\end{altverse}

\begin{altverse}
Break, break, break\\*
At the foot of thy crags, O Sea!\\*
But the tender grace of a day that is dead\\*
Will never come back to me.
\end{altverse}

\end{poem}

\end{document} 

在此处输入图片描述

相关内容