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 PAGE<strong>The</strong> \semiisopage layout is similar where the spine margin by default is 1/9 the pagewidth, but the top margin is the same as the spine margin. Again the fore-edge and bottommargins are respectively twice the spine and top margins.<strong>The</strong> size of the spine (and top) margins can be changed by using the optional 〈spine〉argument, which must be an integer. To set the spine margin to be, for example, 1/8 of thepage width:\semiisopage[8]% or \isopage[8]<strong>The</strong> same factor applies to both the spine and top margins in the case of \isopage.Spreads showing a variety of these layouts are in Figure 2.5 through 2.12. <strong>The</strong>se wereproduced with the aid of the layouts package.\setpagebl{〈height〉}{〈width〉}{〈ratio〉}\setpageml{〈height〉}{〈width〉}{〈ratio〉}\setpagetl{〈height〉}{〈width〉}{〈ratio〉}When your page is smaller than the stock it has to be positioned on the stock by specifyingthe trims to give the desired size and location. <strong>The</strong> macro \setpagebl, whichtakes the same arguments as \settrimmedsize (see Table 2.1 on page 12), calculates thetrims so that the page is located at the bottom left of the stock. Similarly \setpageml and\setpagetl will locate the page at the middle left and the top left, respectively, of thestock. For instance, if you are using letterpaper stock but want the final trimmed page sizeto be A5, then this will put page area at the bottom left of the stock.\pagebv % sets page height and width for A5 paper\setpagebl{\paperheight}{\paperwidth}{*}...\checkandfixthelayout<strong>The</strong> above macros position the page at the left of the stock because usually trimming of thestock is limited to the top, right, and bottom, the left being the spine when the pages arefinally assembled. To reposition the page to the center of the stock the following will halvethe top and edge trims.\settrims{0.5\trimtop}{0.5\trimedge}...\checkandfixthelayout\setpagetm{〈height〉}{〈width〉}{〈ratio〉}\setpagetr{〈height〉}{〈width〉}{〈ratio〉}\setpagemr{〈height〉}{〈width〉}{〈ratio〉}\setpagebr{〈height〉}{〈width〉}{〈ratio〉}\setpagebm{〈height〉}{〈width〉}{〈ratio〉}\setpagecc{〈height〉}{〈width〉}{〈ratio〉}<strong>The</strong> commands \setpagetm, \setpagetr, \setpagemr, \setpagebr, \setpagebm,\setpagecc are analagous to the earlier ones and they set a page at the top middle, topright, middle right, bottom right, bottom middle and centered with respect to the stock.Remember that after you have finished defining the layout you want you have to call\checkandfixthelayout for all the changes to take effect.32

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

Saved successfully!

Ooh no, something went wrong!