4

I want to have for just one chapter a special chapter heading format. So I use the command

\setkomafont{chapter}{\centering\large\rmfamily}

and then I want to revert back to the default chapter style that scrbook uses. The problem is that I don't know this default style (e.g. someone may change the preamble and have \Huge size instead of \LARGE that I have now). Can I somehow save the current chapter style and restore it later?

Bil Bim
  • 43

1 Answers1

3

You could place the \setkomafont and \chapter within a group ({ .. }), that way the change is local.

\documentclass{scrreprt}
\begin{document}
\chapter{This}

{\setkomafont{chapter}{\centering\large\rmfamily}
\chapter{That}}

\chapter{This again}

\end{document}
Torbjørn T.
  • 206,688