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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2. LAYING OUT THE PAGETable 2.1: Arguments and results for \settrimmedsize and \settypeblocksize〈height〉 〈width〉 〈ratio〉 ResultH W r ambiguousH W * H, WH * r W = rHH * * ambiguous* W r H = rW* W * ambiguous* * r ambiguous* * * ambiguous\settrimmedsize{\stockheight}{\stockwidth}{*}or for the page dimensions to be 90% of the stock dimensions:\settrimmedsize{0.9\stockheight}{0.9\stockwidth}{*}<strong>The</strong> following are three different ways of defining an 8 by 5 inch page.\settrimmedsize{8in}{5in}{*}\settrimmedsize{8in}{*}{0.625} % 5 = 0.625 times 8\settrimmedsize{*}{5in}{1.6} % 8 = 1.6 times 5If you look at a well bound hardback book you can see that the sheets are folded so thatthey are continuous at the spine, where they are sewn together into the binding. <strong>The</strong> topof the pages should be smooth so that when the book is upright on a bookshelf dust hasa harder job seeping between the pages than if the top was all raggedy. Thus, if the stockis trimmed it will be trimmed at the top. It will also have been cut at the fore-edges of thepages and at the bottom, otherwise the book would be unopenable and unreadable.\settrims{〈top〉}{〈foredge〉}<strong>The</strong> command \settrims can be used to specify the amount intended to be removed fromthe top (〈top〉) and fore-edge (〈foredge〉) of the stock material to produce the top and foreedgeof a recto page. Note that the combination of \settrims and \settrimmedsizelocate the page with respect to the stock. By default the top and edge trims are zero, whichmeans that if any trimming is required it will be at the spine and bottom edges of the stockunless \settrims is used to alter this.You can either do any trim calculation for youself or let La<strong>TeX</strong> do it for you. For example,with an 8in by 5in page on 10in by 7in stock\settrims{2in}{2in}specifies trimming 2in from the top and fore-edge of the stock giving the desired page size.Taking a design where, say, the page is 90% of the stock size it’s easy to get La<strong>TeX</strong> to dothe calculation:\setlength{\trimtop}{\stockheight} % \trimtop = \stockheight\addtolengh{\trimtop}{-\paperheight} % - \paperheight\setlength{\trimedge}{\stockwidth} % \trimedge = \stockwidth\addtolength{\trimedge}{-\paperwidth} %- \paperwidth12

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

Saved successfully!

Ooh no, something went wrong!