This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

25 lines
791 B
TeX

\KOMAoption{chapterprefix}{true}
% centering the chapter head
\let\raggedchapter\centering
\setkomafont{chapterprefix}{\normalsize\mdseries}
% This block has the two variables \chapapp and \thechapter. But where
% can I find a variable for the title of the chapter (eg. \chaptertile) to apply some styling?
\renewcommand*{\chapterformat}{%
\fontsize{20}{20}
\satisfyfont{}
\chapapp~\thechapter\\[-0.6\baselineskip]
\noindent\makebox[\textwidth]{%
\rule{0.9\textwidth}{.5pt}%
}%
}
\addtokomafont{chapter}{\normalfont\fontsize{26}{26}\girassol{}}
\addtokomafont{title}{\normalfont\girassol{}}
\addtokomafont{author}{\normalfont\fontsize{20}{20}\satisfyfont{}}
\setkomafont{disposition}{\girassol{}}
\RedeclareSectionCommand[beforeskip=0pt,afterskip=8\baselineskip]{chapter}