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.

14.2. Titleswill set any subsequent line numbers to the left of the lines. <strong>The</strong> numbers are set at adistance \vrightskip (default 1em) into the margin.14.2 TITLES<strong>The</strong> \PoemTitle command is provided for typesetting titles of poems.\PoemTitle[〈fortoc〉][〈forhead〉]{〈title〉}\NumberPoemTitle\PlainPoemTitle\thepoem<strong>The</strong> \PoemTitle command takes the same arguments as the \chapter command;it typesets the title for a poem and adds it to the ToC. Following the declaration\NumberPoemTitle the title is numbered but there is no numbering after the\PlainPoemTitle declaration.\poemtoc{〈sec〉}<strong>The</strong> kind of entry made in the ToC by \PoemTitle is defined by \poemtoc. <strong>The</strong> initialdefinition is:\newcommand{\poemtoc}{section}for a section-like ToC entry. This can be changed to, say, chapter or subsection or . . . .\poemtitlemark{〈forhead〉}\poemtitlepstyle<strong>The</strong> macro \poemtitlemark is called with the argument 〈forhead〉 so that it may be used toset marks for use in a page header via the normal mark process. <strong>The</strong> \poemtitlepstylemacro, which by default does nothing, is provided as a hook so that, for example, it can beredefined to specify a particular pagestyle that should be used. For example:\renewcommand*{\poemtitlemark}[1]{\markboth{#1}{#1}}\renewcommand*{\poemtitlepstyle}{%\pagestyle{headings}%\thispagestyle{empty}}\PoemTitle*[〈forhead〉]{〈title〉}\poemtitlestarmark{〈forhead〉}\poemtitlestarpstyle<strong>The</strong> \PoemTitle* command produces an unnumbered title that is not added to theToC. Apart from that it operates in the same manner as the unstarred version. <strong>The</strong>\poemtitlestarmark and \poemtitlestarpstyle can be redefined to set marks andpagestyles.265

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

Saved successfully!

Ooh no, something went wrong!