Custom chapter style for frontmatter

This commit is contained in:
Kenneth John Odle 2026-06-08 08:44:33 -04:00
parent fe5abc920f
commit 1fcc1aaa8c

View File

@ -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}