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.

12. PAGE NOTESwhere the #1 indicates the position of \@thefnmark in the style. <strong>The</strong> default results in themark being set as a superscript. For example, to have the marker set on the baseline andfollowed by a right parenthesis, do\footmarkstyle{#1) }\footmarkwidth \footmarksep \footparindent<strong>The</strong> mark is typeset in a box of width \footmarkwidth If this is negative, the mark isoutdented into the margin, if zero the mark is flush left, and when positive the mark isindented. <strong>The</strong> mark is followed by the text of the footnote. Second and later lines ofthe text are offset by the length \footmarksep from the end of the box. <strong>The</strong> first line ofa paragraph within a footnote is indented by \footparindent. <strong>The</strong> default values forthese lengths are:\setlength{\footmarkwidth}{1.8em}\setlength{\footmarksep}{-\footmarkwidth}\setlength{\footparindent}{1em}\foottextfont<strong>The</strong> text in the footnote is typeset using the \foottextfont font.\footnotesize.Altogether, the <strong>class</strong> specifies\footmarkstyle{\textsuperscript{#1}}\setlength{\footmarkwidth}{1.8em}\setlength{\footmarksep}{-1.8em}\setlength{\footparindent}{1em}\newcommand{\foottextfont}{\footnotesize}<strong>The</strong> default isto replicate the standard footnote layout.You might like to try the combinations of \footmarkwidth and \footmarksep listedin Table 12.1 to see which you might prefer. Not listed in the Table, to get the markerflushleft and then the text set as a block paragraph you can try:\setlength{\footmarkwidth}{1.8em}\setlength{\footmarksep}{0em}\footmarkstyle{#1\hfill}As an example of a rather different scheme, in at least one discipline the footnoted textin the main body has a marker at each end. It is possible to define a macro to do this:\newcommand{\wrapfootnote}[1]{\stepcounter\@mpfn%% marks in the text\protected@xdef\@thefnmark{\thempfn}%\@footnotemark #1\@footnotemark%% marks at the bottom\protected@xdef\@thefnmark{\thempfn--\thempfn}%\@footnotetext}<strong>The</strong> macro is based on a posting to CTT by Donald Arseneau in November 2003, and isused like this:236

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

Saved successfully!

Ooh no, something went wrong!