0

I am using the following

\RedeclareSectionCommand[style=part]{chapter}

to show the chapter in a separate page. I tried

\renewcommand*{\chapterformat}{
  \vspace*{\fill}
  {
    \fontsize{45}{55}\selectfont
    \chaptername~\thechapter\autodot\enskip
  }
  \vspace*{\fill}
}

but the result is not correct, I want "Introduction" to be vertically centered with "Chapter 1", and not separated like what you see in the picture

the chapter title is not vertically centered

1 Answer 1

1

You have to change the values of beforeskip, afterskip and maybe innerskip, too:

\RedeclareSectionCommand[
  style=part,
  afterskip=\glueexpr 0pt plus 1fil ,
  beforeskip=\glueexpr 0pt plus 1fil + \baselineskip,
  innerskip=20pt
]{chapter}
\renewcommand*{\chapterformat}{\chaptername\enskip\thechapter\autodot}
\addtokomafont{chapter}{\fontsize{45}{55}\selectfont}

Example:

\documentclass{scrreprt}
\usepackage{lmodern}% scalable font
\RedeclareSectionCommand[
  style=part,
  afterskip=\glueexpr 0pt plus 1fil ,
  beforeskip=\glueexpr 0pt plus 1fil + \baselineskip,
  innerskip=20pt
]{chapter}
\renewcommand*{\chapterformat}{\chaptername\enskip\thechapter\autodot}
\addtokomafont{chapter}{\fontsize{45}{55}\selectfont}

\begin{document}
\chapter{Introduction}
Text
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .