2

I like to center one chaptername like the appendices at the following example, but I dont know how to handle it.

https://i.stack.imgur.com/f6H2o.png

I thought about using \vfill, but then I think I can just center it at 50% of the page and not at ~30%.

Thank you for helping.

  • It depends on your document class. However the chapter title is inside a \parbox and the "Chapter #" is outside it. You might be able to use part instead. – John Kormylo Jan 29 at 18:40
2

I have used the \titleformat command from the titlesec package but I don't know if this fits the question.

\documentclass{report}
\usepackage{titlesec}
\usepackage[showframe]{geometry} 
\usepackage{lipsum}


\begin{document}

\chapter{ A normal chapter}
\lipsum

{\titleformat{\chapter}[display]{\vfill \centering\bfseries\Huge}{\chaptertitlename~\thechapter}{1cm}{}[\vfill\vfill\vfill\clearpage]

\chapter*{A vertically (\(\sim 30\% \)) centered chapter}}
\lipsum
\chapter{Another normal chapter}
\lipsum
\end{document}

enter image description here enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.