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.8. Bilingual captionsEXAMPLE FIGURE WITH BITWONUMCAPTIONFigure 10.16: Long \bitwonumcaptionBild 10.16: Lang \bitwonumcaptionEXAMPLE FIGURE WITH BIONENUMCAPTIONFigure 10.17: Long English \bionenumcaptionBild 10.17: Lang Deutsch \bionenumcaptionEXAMPLE FIGURE WITH BIONENUMCAPTION\bionenumcaption[fig:bi3]%{}{Long English \cs{bionenumcaption}}%{Bild}{ }{Lang Deutsch \cs{bionenumcaption}}\end{figure}\bicaption[〈label〉]{〈short1〉}{〈long1〉}%{〈NAME〉}{〈long2〉}When bilingual captions are typeset via the \bicaption command the second languagetext is not put into the ‘List of. . . ’. <strong>The</strong> command takes 5 arguments. <strong>The</strong> optional〈label〉 is for a label if required. 〈short1〉 and 〈long1〉 are the short and long caption texts forthe main language of the document. <strong>The</strong> value of the 〈NAME〉 argument is used as thecaption name for the second language caption. <strong>The</strong> last argument, 〈long2〉, is the captiontext for the second language (which is not put into the ‘List of. . . ’).For example, if the main and secondary languages are English and German:\bicaption{Short}{Long}{Bild}{Langlauf}If the short title text is not required, then leave the appropriate argument either empty oras one or more spaces.Figure 10.18 is an example of using \bicaption and was produced by the followingcode:\begin{figure}\centeringEXAMPLE FIGURE WITH A RULED BICAPTION\precaption{\rule{\linewidth}{0.4pt}\par}\midbicaption{\precaption{}%\postcaption{\rule{\linewidth}{0.4pt}}}\bicaption[fig:bi2]%{Short English \cs{bicaption}}{Longingly}%{Bild}{Langlauf}\end{figure}193

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

Saved successfully!

Ooh no, something went wrong!