Take the 2-minute tour ×
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.

I need my chapter titles to be offset 2cm to the left of everything else (or my section headings and paragraphs to be offset right, depending on what you call the reference point).

I got the chapter title offset using:

  \chaptitlefont ##1

but I can't get the chapter name and number to work - I keep getting 'space factor' errors when I try and redefine \printchaptername. I'm using memoir, and I've read the manual. I just can't understand it.

Is there an easy way of doing this?

share|improve this question
Usually a \spacefactor error is caused by not enclosing code with @ in command names between \makeatletter and \makeatother –  egreg May 12 '12 at 16:49
add comment

1 Answer

up vote 7 down vote accepted

You can modify \printchaptername and \printchaptertitle in the following way:

enter image description here

\documentclass{memoir}% http://ctan.org/pkg/memoir
\renewcommand*{\printchaptertitle}[1]{\hspace*{-2cm}\chaptitlefont #1}%
\chapter{A chapter}
Here is some text.
\section{Here is a section}
Here is some more text.

The above MWE inserts a negative 2cm horizontal space before printing both the chapter name and title. The rest of the definition remains intact.

Note that other chapter title styles may require a slightly different modification, depending on their definition of the above commands.

share|improve this answer
Perfect. Thank you. –  Richard May 12 '12 at 17:39
@Richard: If this solved your problem, consider accepting it. See How do you accept an answer? –  Werner May 12 '12 at 17:48
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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