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.

10. FLOATS AND CAPTIONSTable 10.6: Permittedarguments for somesidecaption relatedcommands\sidecapmarginleftrightinnerouter\overridescapmarginleftright\else\captionstyle{\raggedright}%\fi}You can change the command to suit your purposes; for example, uncommenting the\captionnamefont line would result in the caption’s float name being set in a bold font.\overridescapmargin{〈margin〉}\sidecapraiseSometimes the caption may not be placed exactly where you want it — it may be in thewrong margin or at the wrong height.<strong>The</strong> command \overridescapmargin will force the following caption into the〈margin〉 you specify which can only be left or right. In a twosided document where\sidecapmargin is inner or outer and the caption goes in the wrong margin, it is likelythat the declaration \strictpagecheck will solve the problem. <strong>The</strong> wrong margin mightbe chosen in a twocolumn document where the float is in the second column; use\overridescapmargin{right}to fix this.<strong>The</strong> caption may not be at quite the height you want with respect to the float. <strong>The</strong> captionwill be raised by the length \sidecapraise in addition to the calculated movement(or lowered if \sidecapraise is negative).\sidecapfloatwidth{〈length〉}<strong>The</strong> float is set in a minipage with width sidecapfloatwidth, whose default definitionis\newcommand*{\sidecapfloatwidth}{\linewidth}That is, the normal width is the same as the current \linewidth. For a narrow table, say,you may want to reduce this, for example to half by\renewcommand*{\sidecapfloatwidth}{0.5\linewidth}Note that \sidecapfloatwidth is a macro, not a length, so it must be altered by using a\renewcommand*, not by \setlength.If you do reduce the \sidecapfloatwidth you may notice that the sidecaption isactualy placed a distance \sidecapsep with respect to the float’s minipage, not withrespect to the text block.Table 10.6 was created by the following code.200

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

Saved successfully!

Ooh no, something went wrong!