答案1
重新定义\partheadmidvskip
插入装饰物:
\renewcommand\partheadmidvskip{%
\par\nobreak\vspace*{\baselineskip}%
\psvectorian[height=1cm]{102}%
\par\nobreak\vspace*{\baselineskip}%
}
代码:
\documentclass{scrbook}
\usepackage{psvectorian}
\renewcommand\partheadmidvskip{%
\par\nobreak\vspace*{\baselineskip}%
\psvectorian[height=1cm]{102}%
\par\nobreak\vspace*{\baselineskip}%
}
\begin{document}
\part{Part Name}
\psvectorian[height=1cm]{102}
\end{document}
更新:如果您想在注释中提到的未编号部分上方( o
)或下方( )插入装饰物,您可以在此命令前使用:u
\setpartpreamble
\part*
\setpartpreamble[o]{%
\centering\psvectorian[height=1cm]{102}%
\par\nobreak\vspace*{\baselineskip}%
}
\part*{Unnumbered Part}
代码:
\documentclass{scrbook}
\usepackage{psvectorian}
\renewcommand\partheadmidvskip{%
\par\nobreak\vspace*{\baselineskip}%
\psvectorian[height=1cm]{102}%
\par\nobreak\vspace*{\baselineskip}%
}
\begin{document}
\setpartpreamble[o]{%
\centering\psvectorian[height=1cm]{102}%
\par\nobreak\vspace*{\baselineskip}%
}
\part*{Unnumbered Part}
Text
\part{Numbered Part}
Text
\end{document}