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.

18.13. Moving to another page18.13 MOVING TO ANOTHER PAGEStandard La<strong>TeX</strong> provides the \newpage, \clearpage and \cleardoublepage commandsfor discontinuing the current page and starting a new one. <strong>The</strong> following is abundling of the nextpage package [Wil00c].\needspace{〈length〉}This macro decides if there is 〈length〉 space at the bottom of the current page. If there is, itdoes nothing, otherwise it starts a new page. This is useful if 〈length〉 amount of materialis to be kept together on one page. <strong>The</strong> \needspace macro depends on penalties fordeciding what to do which means that the reserved space is an approximation. However,except for the odd occasion, the macro gives adequate results.\Needspace{〈length〉}\Needspace*{〈length〉}Like \needspace, the \Needspace macro checks if there is 〈length〉 space at the bottom ofthe current page and if there is not it starts a new page. <strong>The</strong> command should only be usedbetween paragraphs; indeed, the first thing it does is to call \par. <strong>The</strong> \Needspace commandchecks for the actual space left on the page and is more exacting than \needspace.If either \needspace or \Needspace produce a short page it will be ragged bottomeven if \flushbottom is in effect. With the starred \Needspace* version, shortpages will be flush bottom if \flushbottom is in effect and will be ragged bottom when\raggedbottom is in effect.Generally speaking, use \needspace in preference to \Needspace unless it gives abad break or the pages must be flush bottom.\movetoevenpage[〈text〉]\cleartoevenpage[〈text〉]<strong>The</strong> \movetoevenpage stops the current page and starts typesetting on the next evennumbered page. <strong>The</strong> \clear... version flushes out all floats before going to the nexteven page. <strong>The</strong> optional 〈text〉 is put on the skipped page (if there is one).\movetooddpage[〈text〉]\cleartooddpage[〈text〉]<strong>The</strong>se macros are similar to the \...evenpage ones except that they jump to the next oddnumbered page.A likely example for the optional 〈text〉 argument is\cleartooddpage[\vspace*{\fill}THIS PAGE LEFT BLANK\vspace*{\fill}]which will put ‘THIS PAGE LEFT BLANK’ in the centre of any potential skipped (empty)even numbered page.\cleartorecto \cleartoverso331

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

Saved successfully!

Ooh no, something went wrong!