12.07.2015 Views

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.9. Example\settrimmedsize{11in}{210mm}{*}<strong>The</strong> stocksize is defined by the <strong>class</strong> option, which could be either letterpaper or a4paper,but we have to work out the trims to reduce the stock to the page. To make life easier,we will only trim the fore-edge and the bottom of the stock, so the \trimtop is zero. <strong>The</strong>\trimtop and \trimedge are easily specified by\setlength{\trimtop}{0pt}\setlength{\trimedge}{\stockwidth}\addtolength{\trimedge}{-\paperwidth}Or if you are using the calc package, perhaps:\settrims{0pt}{\stockwidth - \paperwidth}Specification of the size of the typeblock is also easy\settypeblocksize{*}{\lxvchars}{1.618}and now the upper and lower margins are specified by\setulmargins{50pt}{*}{*}<strong>The</strong> spine and fore-edge margins are specified just by the value of the golden section, via\setlrmargins{*}{*}{1.618}<strong>The</strong> only remaining calculation to be done is the \headmargin and \headsep. Again thisjust involves using a ratio\setheaderspaces{*}{*}{1.618}To finish off we have to make sure that the layout is changed\checkandfixthelayout2.9.1 <strong>The</strong> page layout of this manual<strong>The</strong> page layout for this manual is defined in the preamble as:\settrimmedsize{11in}{210mm}{*}\setlength{\trimtop}{0pt}\setlength{\trimedge}{\stockwidth}\addtolength{\trimedge}{-\paperwidth}\settypeblocksize{7.75in}{33pc}{*}\setulmargins{4cm}{*}{*}\setlrmargins{1.25in}{*}{*}\setmarginnotes{17pt}{51pt}{\onelineskip}\setheadfoot{\onelineskip}{2\onelineskip}\setheaderspaces{*}{2\onelineskip}{*}\checkandfixthelayoutAn illustration of the layout is shown in Figure 2.4 which also lists the parameter valuesresulting from the code above, to the nearest point.I initially used the layout defined in §2.9, which I thought looked reasonable, but then Idecided to use the one above in order to save paper when anyone printed out the manual.<strong>The</strong> wider typeblock also makes it easier for <strong>TeX</strong> when dealing with lines that includeunhyphenatable text, like the La<strong>TeX</strong> code.Andreas Mathias, via Rolf Niepraschk, 8 has suggested that the following might be betterfor typesetting the manual on A4 paper.8 Email from niepraschk@ptb.de on 2002/02/05.27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!