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?

  • 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

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.

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.