I'm very new to TeX and I'm from a graphic design background, so I apologize if I'm missing something very obvious.

I want to modify the memoir style VZ14. What I would like is:

=====h double line======== Chapter title =====h double line=======

so that the top line is a little thicker than the bottom. And I don't want Chapter numbers.

\newcommand\thickhrulefill{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@} 

The code below shows one possibility:



  \leavevmode \leaders \hrule height #1 \hfill \kern \z@} 


\chapter{Test Chapter One}

\chapter{Test Chapter Two With a Long Title Spanning Two Lines And Some More Text}


The idea is to use three vertically centered \parboxes; the first and third ones contain the rules and the middle one contains the title; some provision was made in case the title is too long: the middle box width won't exceed 0.7\textwidth to guarantee that both lines will always show:

An image of a short title:

enter image description here

An image of a long title:

enter image description here

Of course, feel free to adjust the settings according to your needs.

| improve this answer | |
  • That is exactly what I needed. Thank you so much. – user23034 Dec 12 '12 at 21:57

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.