1

I'm using memoir class to write a book; the output is fine for the purpose of printing -- the text on odd pages being placed slightly to the left, and the text of the even pages being placed slightly to the right.

However, now I want each page to have a central text alignment, i.e., the text on both the odd and the even page numbers to be aligned. Could one achieve this with memoir?

I understand that letter or article instead of memoir do the trick, but then the paragraphs change, etc.

2
  • Welcome to tex.sx!
    – TivV
    Feb 27, 2020 at 15:53
  • Note that 'centered text' usually refers to a form of symmetrical text alignment with uneven margins on both sides, not a single-sided page layout.
    – TivV
    Feb 27, 2020 at 16:14

1 Answer 1

3

This is discussed in section 2.8 Side margins of the memoir documentation:

Some documents are designed to have, say, a very wide righthand margin in which to put illustrations; this leads to needing the spine margin on verso pages to be much larger than the spine margin on recto pages. This can be done with the oneside option. However, different headers and footers are required for the recto and verso pages, which can only be done with the twoside option. The way to get the desired effects is like this (twoside is the default class option):

\documentclass{memoir}
%%% set up the recto page layout
\checkandfixthelayout% or perhaps \checkandfixthelayout[lines]
\setlength{\evensidemargin}{\oddsidemargin}% after \checkandfix...
...

enter image description here

\documentclass{memoir}

%%% set up the recto page layout
\checkandfixthelayout% or perhaps \checkandfixthelayout[lines]
\setlength{\evensidemargin}{\oddsidemargin}% after \checkandfix...

\usepackage{blindtext}

\begin{document}

\blinddocument

\end{document}

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.