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.10. Side captionscaption will be on different sides of the typeblock according to whether it is a recto or versopage; in a one sided document the caption margin is fixed. <strong>The</strong> left margin is the default.When the caption is to be set in the left margin, \ifscapmargleft is set true, and fora right margin it is set false.\setsidecappos{〈pos〉}By default a sidecaption is vertically centered with respect to the float it is captioning. Thiscan be altered by using the \setsidecappos declaration. <strong>The</strong> allowed values for 〈pos〉are:t — the top of the caption is aligned with the top of the floatc — (the default) the center of the caption is aligned with the center of the floatb — the bottom of the caption is aligned with the bottom of the float<strong>The</strong> other kinds of simple captions can also be put at the side of a float. <strong>The</strong> positioningand styling commands for these are exactly those for sidecaption. Bilingual captions,which are not considered to be simple, can only be placed above or below a float; nofacilities are provided for setting them at the side..\begin{sidecontcaption}{〈title〉}[〈label〉]the body of the float\end{sidecontcaption}Sidecaptions may be continued with the sidecontcaption environment.\begin{sidenamedlegend}[〈fortoc〉]{〈title〉}the body of the float\end{sidenamedlegend}Named legends may be set at the side with the sidenamedlegend environment.\begin{sidelegend}{〈title〉}the body of the float\end{sidelegend}Legends may be set at the side with the sidelegend environment.10.10.1 Tweaks\sidecapstyleJust before the caption is set, the \sidecapstyle command is called. This may be usedto set the styling for the particular caption. By default it sets captions that are in the leftmargin raggedleft, and those that are in the right margin are set raggedright. <strong>The</strong> defaultdefinition is:\newcommand*{\sidecapstyle}{%%% \captionnamefont{\bfseries}\ifscapmargleft\captionstyle{\raggedleft}%199

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

Saved successfully!

Ooh no, something went wrong!