Page Layout6in×9in Page Size and two-sided Margins

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Jack45
Posts: 1
Joined: Fri Oct 14, 2011 11:14 pm

6in×9in Page Size and two-sided Margins

Post by Jack45 »

Hello all,

I have a problem I hope you can help me solve. I'm attempting to use XeLaTeX to create a publication ready manuscript for a print on demand (POD) publisher. My desired target output is a 6×9 inch press ready PDF.

I found a post here from a year or so back that touched on 6×9 PDF output. I managed to successfully change the page size with geometry like so:

Code: Select all

\usepackage[margin=1in, paperwidth=6in, paperheight=9in]{geometry}
This succeeds in getting me a 6"×9" page and text area on that page. However, I do not seem to have the benefit of margin control and declaring "twosided" in my document class appears to do nothing.

How do I regain control of my margins in a two-sided manner? What are good default margin values, especially for my inner (spine) margin in a POD situation?

Thanks!

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

6in×9in Page Size and two-sided Margins

Post by localghost »

For margin control take a look at the geometry manual. As an alternative you could migrate to a class of KOMA Script.

Code: Select all

\documentclass[%
  fontsize=10pt,
  headinclude=on,
  footinclude=on,
  paper=6in:9in,
  BCOR=0.2in,
  DIV=12,
  pagesize,
  twoside
]{scrreprt}
\usepackage[automark,headsepline]{scrpage2}
\usepackage{polyglossia}
\setmainlanguage{english}
\usepackage{fontspec}
\setmainfont[Ligatures=TeX]{STIXGeneral}
\usepackage{blindtext}

\automark[section]{chapter}
\pagestyle{scrheadings}

\begin{document}
  \blinddocument
\end{document}
For details consult the user guide.

Note that the above example uses the free available STIX Fonts (OTF). But it should work with any other system font installed on your machine. If you don't specify a certain font, you need at least the Latin Modern (LM) Font Family installed as OTF because fontspec will try to use it.

You may also take a look at the memoir class. It has mechanisms for setting up uncommon page dimensions, too.


Best regards and welcome to the board
Thorsten
paul
Posts: 49
Joined: Thu Apr 08, 2010 5:56 am

6in×9in Page Size and two-sided Margins

Post by paul »

Jack45 wrote:I found a post here from a year or so back that touched on 6×9 PDF output. I managed to successfully change the page size with geometry like so:

Code: Select all

\usepackage[margin=1in, paperwidth=6in, paperheight=9in]{geometry}
This succeeds in getting me a 6"×9" page and text area on that page. However, I do not seem to have the benefit of margin control and declaring "twosided" in my document class appears to do nothing.
You asked for a fixed 1 inch margin, what do you expect?
Post Reply