章节开始后的引言

章节开始后的引言

在下面的代码中,我想修改输出,以便它不会在引文和引文作者之间显示下划线。

\documentclass{book}
\usepackage[utf8]{inputenc}

\usepackage{epigraph}

...

\chapter{Something}

\epigraph{All human things are subject to decay, and when fate 
summons, Monarchs must obey}{\textit{Mac Flecknoe \\ John Dryden}}

我选择了 epigraph 包,因为它是唯一一个允许我在章节开始后放置引文的包。如果有其他建议,我期待着。谢谢。

答案1

\documentclass{book}
\usepackage[utf8]{inputenc}

\usepackage{epigraph}
\setlength{\epigraphrule}{0pt}
\begin{document}

\chapter{Something}

\epigraph{All human things are subject to decay, and when fate
summons, Monarchs must obey}{\textit{Mac Flecknoe \\ John Dryden}}
\end{document}

相关内容