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 CAPTIONSEXAMPLE FIGURE WITH A RULED BICAPTIONFigure 10.18: LonginglyBild 10.18: Langlauf\bicontcaption{〈long1〉}%{〈NAME〉}{〈long2〉}Bilingual continuation captions can be typeset via the \bicontcaption command. In thiscase, neither language text is put into the ‘List of. . . ’. <strong>The</strong> command takes 3 arguments.〈long1〉 is the caption text for the main language of the document. <strong>The</strong> value of the 〈NAME〉argument is used as the caption name for the second language caption. <strong>The</strong> last argument,〈long2〉, is the caption text for the second language. For example, if the main and secondarylanguages are again English and German:\bicontcaption{Continued}{Bild}{Fortgefahren}\midbicaption{〈text〉}<strong>The</strong> bilingual captions are implemented by calling \caption twice, once for each language.<strong>The</strong> command \midbicaption, which is similar to the \precaption and\postcaption commands, is executed just before calling the second \caption. Amongother things, this can be used to modify the style of the second caption with respect to thefirst. For example, if there is a line above and below normal captions, it is probably undesirableto have a double line in the middle of a bilingual caption. So, for bilingual captionsthe following may be done within the float before the caption:\precaption{\rule{\linewidth}{0.4pt}\par}\postcaption{}\midbicaption{\precaption{}%\postcaption{\rule{\linewidth}{0.4pt}}}This sets a line before the first of the two captions, then the \midbicaption{...} nullsthe pre-caption line and adds a post-caption line for the second caption. <strong>The</strong> <strong>class</strong> initiallyspecifies \midbicaption{}.10.9 SUBCAPTIONS<strong>The</strong> subfigure package enables the captioning of sub-figures within a larger figure, andsimilarly for tables. <strong>The</strong> subfigure package may be used with the <strong>class</strong>, or you can usethe <strong>class</strong> commands described below; these commands can only be used inside a floatenvironment for which a subfloat 3 has been specified via \newsubfloat.\subcaption[〈list-entry〉]{〈subtitle〉}3 See §10.3.194

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

Saved successfully!

Ooh no, something went wrong!