From 1fcc1aaa8cad1a9ca56c17abea7e1734dfcab26d Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Mon, 8 Jun 2026 08:44:33 -0400 Subject: [PATCH] Custom chapter style for frontmatter --- walking-001.tex | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/walking-001.tex b/walking-001.tex index 781faca..119f3f8 100644 --- a/walking-001.tex +++ b/walking-001.tex @@ -34,6 +34,23 @@ \setlength{\afterchapskip}{10mm} } +\makechapterstyle{kfront}{ +\renewcommand*{\chapterheadstart}{\vspace*{\beforechapskip}} +\renewcommand*{\printchaptername}{} +\renewcommand*{\chapternamenum}{\space} +%\renewcommand*{\printchapternum}{\hfill\chapnumfont Chapter \thechapter} +\renewcommand*{\afterchapternum}{\par\nobreak\vskip \midchapskip\hrule\vspace{5mm}} +\renewcommand*{\printchapternonum}{} +%\renewcommand*{\printchaptertitle}[1]{\chaptitlefont #1} +\renewcommand*{\afterchaptertitle}{\par\nobreak\vskip \afterchapskip} +\renewcommand*{\chapnamefont}{\normalfont\normalsize} +\renewcommand*{\chapnumfont}{\normalfont\large\itshape} +\renewcommand*{\chaptitlefont}{\normalfont\Huge\scshape} +\setlength{\beforechapskip}{0mm} +\setlength{\midchapskip}{2mm} +\setlength{\afterchapskip}{10mm} +} + %%% Page styles %% Specific to Memoir class %\newcommand{\kinfo}{{\footnotesize Chapter \thechapter{} • \S{} \rightmark{}}} %\newcommand{\kinfo}{{\footnotesize Chapter \thechapter: \leftmark{} • \rightmark}} @@ -52,6 +69,7 @@ } \makeatother + %%% Other Memoir class settings \setlength{\epigraphwidth}{16em} % Section styling @@ -149,6 +167,8 @@ Typeset in \LaTeX{} \newpage +\chapterstyle{kfront} + %% Impressum %\setcounter{page}{1} \chapter*{Impressum}