Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Title between lines

Can anybody please tell me how to get horizontal lines above and under the \chapter{MyChapter}? Here is an example:

enter image description here

share|improve this question

marked as duplicate by cmhughes, lockstep, barbara beeton, Martin Schröder, Werner Jan 16 '13 at 4:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome to! does this help: title-between-lines – cmhughes Jan 14 '13 at 18:52
Welcome to! Not a proper answer, but take a look at the titlesec package, there is an example on page 22 of the manual. – Torbjørn T. Jan 14 '13 at 18:54

1 Answer 1

up vote 4 down vote accepted

Here's a possible solution using the titlesec package:




\chapter*{Test Unnumbered Chapter}
\chapter{Test Numbered Chapter}


An image of the unnumbered chapter:

enter image description here

and an image of the numbered chapter:

enter image description here

share|improve this answer
Thank you. It looks amazing. thumbs up and have a nice day. =) – user24403 Jan 15 '13 at 10:35
How can I solve this without using the titlesec-package (because of using scrbook-class)? – Dave Jul 11 at 10:21
@Dave Please, feel free to open a fresh new question. – Gonzalo Medina Jul 11 at 14:01

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