答案1
这只是采用内置demo2
回忆录章节风格,请参阅http://texdoc.net/texmf-dist/doc/latex/MemoirChapStyles/MemoirChapStyles.pdf。
\documentclass[a4paper]{memoir}
\makeatletter
\makechapterstyle{abir}{%
\chapterstyle{default}
\renewcommand*{\printchaptertitle}[1]{\raggedleft \chaptitlefont \MakeTextUppercase{##1}}
\renewcommand*{\afterchaptertitle}{%
\vskip\onelineskip
\hrule
\vskip1pt
\hrule\@height2pt
\vskip\afterchapskip}
\setlength{\beforechapskip}{3\baselineskip}
\renewcommand*{\printchapternonum}{%
\vphantom{\chapnumfont 1}
\afterchapternum%
\vskip\topskip}
\setlength{\beforechapskip}{2\onelineskip}
}
\makeatother
\chapterstyle{abir}
\begin{document}
\chapter{test}
test
\chapter*{test star}
test star
\end{document}