Page LayoutAlignment of \chapter, \chapter*, 'Reference' title etc

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
dmca2
Posts: 1
Joined: Sun Mar 01, 2009 7:59 pm

Alignment of \chapter, \chapter*, 'Reference' title etc

Post by dmca2 »

Hi all, I'm new here and new to latex so apologies if this is obvious.

I'm trying to line up all the titles that start their own page, such as \chapter, 'Table of Contents', the Reference section etc. By default the Chapter titles are quite low, but I can raise them eaasily with:

Code: Select all

\usepackage{titlesec}
\titleformat{\chapter}[block]{\bfseries\LARGE\sffamily}{\vskip-4em \chaptertitlename\ \thechapter}{2em}{}[]
The vskip only seems to affect \chapter (and not \chapter* and other titles). I can also lower all the titles by using:

Code: Select all

\titlespacing{\chapter}{0em}{6em}{2em}
which would lower everything by 6em. I guess in theory it should be possible to play about with these numbers to get all the titles lined up but after several hours I haven't managed.I realise I should probably be able to change the 'Table of Contents' title with the titletoc package but that won't help with the 'References' title and unnumbered chapters.

Surely there must be a better way of doing this?

If it makes a difference I'm using fancyheaders and koma-scripts with scrreprt and few other packages. The only one that I think might be an issue is chemstyle but it shouldn't be affecting things.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply