|
1 |
| -% !TEX root = ctfp-print.tex |
| 1 | +% !TeX program = xelatex |
| 2 | +% !TEX root = ctfp-print-scala.tex |
2 | 3 |
|
3 | 4 | \def\OPTmodes{twoside,final,openright,10pt}
|
4 | 5 |
|
5 |
| -% PAGE FORMAT |
6 |
| -\def\OPTpagesize{6.125in,9.250in} % Page size |
7 |
| -\def\OPTtopmargin{0.75in} % Margin at the top of the page |
8 |
| -\def\OPTbottommargin{0.75in} % Margin at the bottom of the page |
9 |
| -\def\OPTinnermargin{0.5in} % Margin on the inner side of the page |
10 |
| -\def\OPTbindingoffset{0.35in} % Extra offset on the inner side |
11 |
| -\def\OPToutermargin{0.75in} % Margin on the outer side of the page |
| 6 | +% After struggling a while to get it right, here's how to calculate: |
| 7 | +% 1. Use the calculator to get your specifications |
| 8 | +% https://www.blurb.com/make/pdf_to_book/booksize_calculator |
| 9 | +% 2. Get the specifications. For a 6x9 hardcover (ImageWrap) book, I got: |
| 10 | +% |
| 11 | +% Page Specifications Inches |
| 12 | +% Final, exported PDF should measure (w x h) 6.125 x 9.25 |
| 13 | +% Page size / trim line (w x h) 6.0 x 9.0 |
| 14 | +% Bleed (top, bottom, and outside edges) 0.125 |
| 15 | +% Safe boundary (Top, Bottom, Outside Edge) 0.25 |
| 16 | +% Safe boundary (Binding Edge) 0.5 |
| 17 | +% |
| 18 | +% 3. Trim line is at 0.625in, so to get safe text boundary (magenta line): |
| 19 | +% Top margin: 0.625in (start at trim line, header space fills to safe line) |
| 20 | +% Bottom margin: 0.625in + 0.25in = 0.875in |
| 21 | +% Inner margin: 0.625in (start on the trim line) |
| 22 | +% Binding offset: 0.5in |
| 23 | +% Outer margin: 0.625in + 0.25in = 0.875in |
| 24 | + |
| 25 | +% Specifications for blurb.com |
| 26 | +\def\OPTpaperesize{6.125in,9.25in} % Page size |
| 27 | +\def\OPTtopmargin{.625in} % Margin at the top of the page |
| 28 | +\def\OPTbottommargin{0.875in} % Margin at the bottom of the page |
| 29 | +\def\OPTinnermargin{0.625in} % Margin on the inner side of the page |
| 30 | +\def\OPTbindingoffset{0.45in} % Extra offset on the inner side |
| 31 | +\def\OPToutermargin{0.625in} % Margin on the outer side of the page |
0 commit comments