
我知道已經有一些關於此的主題,但它們要么不太適用,要么沒有按要求工作,所以很抱歉打開另一個線程。
我在一本書中使用 KOMA 腳本,並且我希望能夠在每個“部分”頁面上包含一個漂亮的銘文。
我不能但是,請按照其他線程中的建議對 Epigraph 套件進行一些簡單的修改,因為我在章節中使用 Epigraph,並且所有更改都適用於整個 \epigraph 套件。
\documentclass[
12pt,
a4paper,
DIV=8,
oneside,
]{scrbook}
\begin{document}
\part{Title of Part I}
% Nicely formatted quote to go below the title of the part
\end{document}
一如既往,感謝您的所有幫助:)
答案1
您只需使用 KOMA-Script 內建指令\setpartpreamble
即可\dictum
新增格式精美的引號:
\documentclass[
12pt,
a4paper,
DIV=8,
oneside,
]{scrbook}
\begin{document}
\setpartpreamble{%
\dictum[Sokrates]{The good success is nothing small,
but it starts with small things.}%
}
\part{Title of Part I}
% Nicely formatted quote to go below the title of the part
\end{document}
有幾個命令可以更改格言的格式。請參閱第 3.17 節“Dicta”KOMA-Script 手冊了解更多。
答案2
該手冊描述如何執行此操作。texdoc epigraph
第 2.5 節零件頁上的銘文。也許目前的軟體包維護者可以考慮改進該軟體包,特別是如果你,不是我,問他。