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.

GCommentsG.1 ALGORITHMSOver time we may use this section to explain, or list some of the algorithms for some ofthe macros in the <strong>class</strong>. <strong>The</strong> information may be useful to some.G.1.1Autoadjusting \marginparwidthThis algorithm is used within \fixthelayout unless the user have used\setmarginnotes.if twocolumn thenmarginparwidth = min{inner margin,outer margin}elseif twoside thenif marginpar always left or always right thenmarginparwidth = min{inner margin,outer margin}else if marginpar in outer margin thenmarginparwidth = outer marginelse if marginpar in inner margin thenmarginparmargin = inner marginend ifelseif marginpar in left margin thenmarginparwidth = inner marginelsemarginparwidth = outer marginend ifend ifend ifmarginparwidth = marginparwidth - 2marginparsepif marginparwidth < 1pt thenmarginparwidth = 1ptend if471Chapter last updated 2013/05/15 (revision 463)

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

Saved successfully!

Ooh no, something went wrong!