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.

10. FLOATS AND CAPTIONS<strong>The</strong> \hangsubcaption declaration causes subcaptions to be typeset with the identifierabove the title. Following the \shortsubcaption declaration subcaptionsthat are less than a full line in length are typeset left justified instead of centered.<strong>The</strong> \normalsubcaption declaration, which is the default, undoes any previous\hangsubcaption or \shortsubcaption declaration, so that subcaptions are normallycentered.10.10 SIDE CAPTIONSTypically captions are put either above or below the element they are describing. Sometimesit is desireable to put a caption at the side of the element instead.\begin{sidecaption}[〈fortoc〉]{〈title〉}[〈label〉]the body of the float\end{sidecaption}<strong>The</strong> sidecaption environment is used for a sidecaption rather than a macro. <strong>The</strong> bodyof the float is put inside the environment. For example:\begin{figure}\begin{sidecaption}{An illustration}[fig:ill]\centering\includegraphics{...}\end{sidecaption}\end{figure}whereby the caption, ‘Figure N: An illustration’, will be placed in the margin alongside thegraphic, and for reference purposes will be given given the \label fig:ill.\sidecapwidth \sidecapsep\setsidecaps{〈sep〉}{〈width〉}<strong>The</strong> caption is set in a box \sidecapwidth wide (the default is \marginparwidth) offset\sidecapsep (default \marginparsep) into the margin. <strong>The</strong> command \setsidcapssets the \sidecapsep and \sidecapwidth to the given values. Changing the marginparparameters, for example with \setmarginnotes, will not change the side caption settings.Note also that \checkandfixthelayout neither checks nor fixes the side captionparameters.\sidecapmargin{〈margin〉}\ifscapmargleft \scapmarglefttrue \scapmargleftfalseIf the float is a single column float in a twocolumn document then the caption is always4 placed in the adjacent margin, otherwise the \sidecapmargin command controlsthe margin where the sidecaption will be placed. <strong>The</strong> possible values for 〈margin〉 are oneof: left, right, inner, or outer. If left or right is specified the caption will go intothe left or right margin. If inner or outer is specified then in a two sided document the4 Well, nearly always. See the \overridescapmargin command later.198

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

Saved successfully!

Ooh no, something went wrong!