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.

14.1. Classy verseWho married three wives at one time.When asked: ‘Why the third?’He replied: ‘One’s absurd,And bigamy, sir, is a crime.’More exotically you could use the <strong>TeX</strong> \parshape command 1 :\parshape = 5 0pt \linewidth 0pt \linewidth2em \linewidth 2em \linewidth 0pt \linewidth\noindent <strong>The</strong>re was an old party of Lyme \\Who married three wives at one time. \\When asked: ‘Why the third?’ \\He replied: ‘One’s absurd, \\And bigamy, sir, is a crime.’ \parwhich will be typeset as:<strong>The</strong>re was an old party of LymeWho married three wives at one time.When asked: ‘Why the third?’He replied: ‘One’s absurd,And bigamy, sir, is a crime.’This is about as much assistance as standard (La)<strong>TeX</strong> provides, except to note that inthe verse environment the \\* version of \\ will prevent a following page break. Youcan also make judicious use of the \needspace macro to keep things together.Some books of poetry, and especially anthologies, have two or more indexes, one, sayfor the poem titles and another for the first lines, and maybe even a third for the poets’names. If you are not using <strong>memoir</strong> then the index [Jon95] and multind [Lon91] packagesprovide support for multiple indexes in one document.14.1 CLASSY VERSE<strong>The</strong> code provided by the <strong>memoir</strong> <strong>class</strong> is meant to help with some aspects of typesettingpoetry but does not, and cannot, provide a comprehensive solution to all the requirementsthat will arise.<strong>The</strong> main aspects of typesetting poetry that differ from typesetting plain text are:• Poems are usually visually centered on the page.• Some lines are indented, and often there is a pattern to the indentation.• When a line is too wide for the page it is broken and the remaining portion indentedwith respect to the original start of the line.<strong>The</strong>se are the ones that the <strong>class</strong> attempts to deal with.\begin{verse}[〈length〉] ... \end{verse}\versewidth1 See the <strong>TeX</strong>book for how to use this.259

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

Saved successfully!

Ooh no, something went wrong!