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.

8.6. Listsand the typeblock, respectively; S and E are the spine and fore-edge margins, respectively)then the amount M to be added to the spine margin and subtracted from the fore-edgemargin is calculated as:M = 1/2(P w − B w ) − SFor example, assume that the \textwidth is 5 inches and the \spinemargin is 1 inch.On US letterpaper (\paperwidth is 8.5 inches) the fore-edge margin is then 2.5 inches,and 0.75 inches 2 must be added to the spine margin and subtracted from the fore-edge tocenter the typeblock. <strong>The</strong> adjustwidth environment can be used to make the (temporary)change.\begin{adjustwidth*}{0.75in}{-0.75in} ...\calccentering{〈length〉}If you don’t want to do the above calculations by hand, \calccentering will do it foryou. <strong>The</strong> 〈length〉 argument must be the name of a pre-existing length command, includingthe backslash. After calling \calccentering, 〈length〉 is the amount to be added to thespine margin and subtracted from the foredge margin to center the typeblock. An exampleusage is\calccentering{\mylength}\begin{adjustwidth*}{\mylength}{-\mylength}text horizontally centered on the physical page\end{adjustwidth*}You do not necessarily have to define a new length for the purposes of\calccentering. Any existing length will do, such as \unitlength, provided it willbe otherwise unused between performing the calculation and changing the margins (andthat you can, if necessary reset it to its original value — the default value for \unitlengthis 1pt).8.6 LISTSStandard La<strong>TeX</strong> provides four kinds of lists. <strong>The</strong>re is a general list environment whichyou can use to define your own particular kind of list, and the description, itemize andenumerate lists (which are internally defined in terms of the general list environment 3 ).This <strong>class</strong> provides the normal description list, plus a couple of others of the samekind, but the itemize and enumerate lists are extended versions of the normal ones.\begin{description} \item[〈label〉] ... \end{description}\begin{blockdescription} \item[〈label〉] ... \end{blockdescription}\descriptionlabel〈label〉\blockdescriptionlabel〈label〉In a description list an \item’s 〈label〉 is typeset by descriptionlabel. <strong>The</strong> defaultdefinition is2 On A4 paper the result would be different.3 <strong>The</strong> quote and quotation environments are also defined in terms of the general list environment. Youmay be surprised where it crops up.133

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

Saved successfully!

Ooh no, something went wrong!