一章中的多条格言

一章中的多条格言

我想在章节开头引用多条引语。我使用的是dictumwith 环境scrreprt。如果我连续引用两条引语,它会忽略第一条并继续引用第二条。有什么解决办法吗?

答案1

epigraphs这说明了支持多个引用的环境的默认布局:

\documentclass{scrreprt}
\usepackage{epigraph,url}
\begin{document}
  \chapter{In The Beginning}
  \begin{epigraphs}
    \qitem{Friendship with oneself is all-important, because without it one cannot be friends with anyone else in the world.}{Eleanor Roosevelt}
    \qitem{No man remains quite what he was when he recognizes himself.}{Thomas Mann}
  \end{epigraphs}
  Some text.
  Quotations from \url{http://www.quotationspage.com/}. (I'm assuming two counts as a `small number' and that it is therefore acceptable to use them here.)
\end{document}

第一章有多个题词

答案2

请始终提供完整的最小工作示例(MWE)

我正在使用dictum环境

KOMA-Script 没有dictum 环境而是一个\dictum命令!

如果我连续执行两条命令,它就会忽略第一条命令并继续执行第二条命令。

当我按照 KOMA-Script 手册中显示的方式使用该命令时,我无法重现此问题。

\documentclass{scrreprt}
\usepackage{lipsum}
\begin{document}
\chapter{A Chapter}
\dictum[Wes Montgomery]{%
  I never practice my guitar -- from time to time I just open the case and
  throw in a piece of raw meat.%
}
\dictum[Jeff Beck]{%
  I don't care about the rules. If I don't break the rules at least ten
  times every song then I'm not doing my job.%
}
\lipsum
\end{document}

在此处输入图片描述

相关内容