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.

3. TEXT AND FONTSIf you need to use a minipage as a stand-alone item in a widely spaced text then youmay need to use the vminipage environment instead to get the before and after spacingcorrect.3.4 OVERFULL LINES<strong>TeX</strong> tries very hard to keep text lines justified while keeping the interword spacing asconstant as possible, but sometimes fails and complains about an overfull hbox.\fussy \sloppy\begin{sloppypar} ... \end{sloppypar}\midsloppy\begin{midsloppypar} ... \end{midsloppypar}<strong>The</strong> default mode for La<strong>TeX</strong> typesetting is \fussy where the (variation of) interwordspacing in justified text is kept to a minimum. Following the \sloppy declaration theremay be a much looser setting of justified text. <strong>The</strong> sloppypar environment is equivalentto:{\par \sloppy ... \par}Additionally the <strong>class</strong> provides the \midsloppy declaration (and the midsloppyparenvironment) which allows a setting somewhere between \fussy and \sloppy. Using\midsloppy you will get fewer overfull lines compared with \fussy and fewer obviouslarge interword spaces than with \sloppy. I have used \midsloppy for this manual; ithasn’t prevented overfull lines or noticeably different interword spaces, but has markedlyreduced them compared with \fussy and \sloppy respectively.3.5 SLOPPYBOTTOM<strong>TeX</strong> does its best to avoid widow and orphan lines — a widow is where the last line of aparagraph ends up at the top of a page, and an orphan 5 is when the first line of a paragraphis at the bottom of a page.<strong>The</strong> following is the generally suggested method of eliminating widows and orphans,but it may well result in some odd looking pages, especially if \raggedbottom is not used.\clubpenalty=10000\widowpenalty=10000\raggedbottom\enlargethispage{〈length〉}You can use \enlargethispage to add or subtract to the text height on a particular pageto move a line forwards or backwards between two pages.Here is one person’s view on the matter:5 Knuth uses the term ‘club’ instead of the normal typographers’ terminology.50

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

Saved successfully!

Ooh no, something went wrong!