LaTeX forum ⇒ Page LayoutMemoir: Preparing document to be read from right to left

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Posts: 3
Joined: Wed Jun 26, 2019 6:57 am

Memoir: Preparing document to be read from right to left

Postby rbks » Wed Jun 26, 2019 7:01 am

I'm writing a book in Persian, so it is read from right to left. That means that all odd pages should have a wide right-margin, whereas even pages should have a wide left-margin. All chapters should also start on odd pages.

Here is a MWE of my current document:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass[14pt, extrafontsizes, openleft]{memoir}
  3. \usepackage{xepersian}
  4. \settextfont{XB Niloofar}
  6. \usepackage{blindtext}
  9. \begin{document}
  11. \mainmatter
  12. \chapter{One}
  13. \blindtext
  16. \end{document}

This produces a document where the margin is correctly widest in the right part of the page where the chapter starts. However, the chapter starts on page 2, and not 1 as it should?

9iWss.png (36.11 KiB) Viewed 825 times

Why is this? And what is the correct way to configure my preamble such that it understands that I am writing a document that is to be read from right to left?

User avatar
Site Moderator
Posts: 4173
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Wed Jun 26, 2019 6:07 pm

The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

User avatar
Ijon Tichy
Posts: 295
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Fri Jun 28, 2019 7:36 am

If you don't want to chapters to be on even pages, you should not use option openleft.

Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 5 guests