Three packages have been already mentioned. Since KOMA-Script classes provide a lot of sophisticated features, I usually aim not to lose them. Though packages usually work fine also with KOMA classes, they might remove class features by redefining class commands. For instance, quotchap
doesn't care about periods after chapter numbers, supported by KOMA options like numbers=enddot
or the autoenddot mechanism.
So, my first question would be: how can I solve the problem using class features? Usually there's a good chance. In this case, I could redefine the macro \chapterformat
which is responsible for printing the chapter number.
Code example:
\documentclass{scrbook}
\usepackage{lmodern}
\renewcommand*{\chapterformat}{%
\fontsize{80}{88}\selectfont\thechapter\autodot\enskip}
\begin{document}
\chapter{Name of chapter}
\end{document}
Output:
This way not only periods but also user defined chapter or sectioning fonts are still supported like done by
\setkomafont{sectioning}{\rmfamily\bfseries\color{Gray}}
Choosing the right way:
To sum up, I believe generally the right way would be
Figure out if it may be done using class features by consulting the documentation.
If not, look out for packages, for instance in the titles and sectioning category of the TeX Catalogue Online.
If neither a class feature nor a package could solve it, then consider to program it yourself. Check out the corresponding macros within the class source file, take them as a starting point, be careful to preserve their other features you don't wish to change.
headings
here.