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.

12. PAGE NOTES<strong>The</strong> 〈text〉 argument of \pagenote is the contents of the note and if the optional 〈id〉 argumentis not used the result is similar to having used \footnote — a number in the maintext and the corresponding number in the endnotes listing (as in 1 above). For the secondreference style (2 above) use the optional 〈id〉 argument for the ‘few words’, and no markwill be put into the main text but 〈id〉 will be used as the identification in the listing.For one set of endnotes covering the whole document put \printpagenoteswhere you want them printed, typically before any bibliography or index. <strong>The</strong>\printpagenotes macro inputs the ent endnote file for printing and then closes it toany further notes.For notes at the end of each chapter put \printpagenotes*, which inputs the ent filefor printing then empties it ready for more notes, at the end of each chapter.<strong>The</strong> simple use is like this:\document<strong>class</strong>[...]{<strong>memoir</strong>}...\makepagenote...\begin{document}\chapter{One}...\pagenote{An end note.} ......\pagenote{Fascinating information.}...\chapter{Last}% chapter 9...\pagenote{Another note.}% 30th note......\printpagenotes...\end{document}This will result in an endnote listing looking like Figure 12.3.For notes at the end of each chapter:\document<strong>class</strong>[...]{<strong>memoir</strong>}...\makepagenote...\begin{document}\chapter{One}...\pagenote{An end note.} ......\printpagenotes*\chapter{Last}...\pagenote{Another note.} ......\printpagenotes*%%% no more chapters...\end{document}246

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

Saved successfully!

Ooh no, something went wrong!