I've been experimenting with chapter title formatting using titlesec but I can't seem to find the proper way to add a rule just below the chapter title. After reading the doc, I found that \titleline does that, but I'm not sure where in the \titleformat syntax to place it.

1 Answer 1


Here's one possible solution using the last optional argument for \titleformat to insert some vertical spacing and the rule:


{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}[\vspace{2ex}\titlerule]


\chapter{Test Chapter}


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.