1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \origin /systemlyxdir/examples/
12 % set fonts for nicer pdf view
13 \IfFileExists{lmodern.sty}
14 {\usepackage{lmodern}}{}
16 \fi % end if pdflatex is used
18 % use this when you only need the document language captions in the list of figures/tables
19 %\PassOptionsToPackage{list=off}{bicaption}
21 % all this is only necessary if you want to have a different list of floats for each language
23 % Define a new floating environment type "figureGer"
24 \DeclareFloatingEnvironment[fileext=lof2]{figureGer}
25 [Abbildung][Abbildungsverzeichnis]
26 % Define the new floating environment type "tableEng"
27 \DeclareFloatingEnvironment[fileext=lot2]{tableGer}
28 [Tabelle][Tabellenverzeichnis]
29 % inform bicaption about the new float types
30 \PassOptionsToPackage{listtype+=Ger}{bicaption}
33 \use_default_options true
37 \maintain_unincluded_children false
39 \language_package default
42 \font_roman "default" "default"
43 \font_sans "default" "default"
44 \font_typewriter "default" "default"
45 \font_math "auto" "auto"
46 \font_default_family default
47 \use_non_tex_fonts false
50 \font_sf_scale 100 100
51 \font_tt_scale 100 100
53 \default_output_format default
55 \bibtex_command default
56 \index_command default
62 \pdf_bookmarksnumbered false
63 \pdf_bookmarksopen false
64 \pdf_bookmarksopenlevel 1
70 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
73 \use_package amsmath 1
74 \use_package amssymb 1
77 \use_package mathdots 1
78 \use_package mathtools 1
80 \use_package stackrel 1
81 \use_package stmaryrd 1
82 \use_package undertilde 1
84 \cite_engine_type default
88 \paperorientation portrait
92 \notefontcolor #0000ff
99 \paragraph_separation skip
101 \quotes_language english
104 \paperpagestyle default
105 \tracking_changes false
106 \output_changes false
109 \html_be_strict false
115 Typesetting Multilingual Captions
122 \begin_layout Standard
123 \begin_inset FloatList figure
130 \begin_layout Section
134 \begin_layout Standard
143 allows to typeset captions in two languages.
144 It requires the \SpecialCharNoPassThru LaTeX
149 which is part of the \SpecialCharNoPassThru LaTeX
163 should be installed too.
166 \begin_layout Standard
167 The first language is the document language, the second one has to be specified
177 This style has an optional argument to define to which language the setup
179 To change the setup of all captions in the first language, use
183 as optional argument, for the second language use
187 , for both languages use
194 \begin_layout Standard
195 \begin_inset Note Greyedout
198 \begin_layout Plain Layout
203 : If no optional argument is used for
207 , the setup will affect all captions in the document, not only the multilingual
216 \begin_layout Standard
217 This document is in English.
218 To set German as the second language one uses the command
221 \begin_layout Standard
227 \begin_layout Standard
233 For other languages, replace
237 by the babel name of the language.
238 The list of babel names is given in Table
243 \begin_inset CommandInset ref
245 reference "tab:List-of-babel"
250 The caption labels are automatically translated.
253 \begin_layout Standard
254 To add a multilingual caption to a float, press the right mouse button on
255 the caption that is automatically added when inserting a new float and
264 ) from the context menu.
265 If no caption is inserted, you can insert the multilingual caption via
268 Insert\SpecialChar menuseparator
269 Caption\SpecialChar menuseparator
273 The caption text in the document language must be inserted in the inset
274 which is inserted in the caption via
276 Insert\SpecialChar menuseparator
280 The caption text in the second language is inserted as normal text in the
284 \begin_layout Standard
285 Short Titles for both languages (for the List of Tables\SpecialChar breakableslash
286 Figures) can be inserted
289 Insert\SpecialChar menuseparator
290 Main Language Short Title
294 Insert\SpecialChar menuseparator
295 Second Language Short Title.
298 \begin_layout Standard
304 \begin_inset CommandInset ref
306 reference "fig:example-figure"
310 is an example of a figure float with a multilingual caption.
313 \begin_layout Caption setup
314 \begin_inset Argument 1
317 \begin_layout Plain Layout
324 \begin_inset Note Note
327 \begin_layout Plain Layout
328 specify the second language
336 \begin_layout Standard
337 \begin_inset Float figure
342 \begin_layout Plain Layout
345 \begin_inset Box Boxed
355 height_special "totalheight"
360 backgroundcolor "none"
363 \begin_layout Plain Layout
372 \begin_layout Plain Layout
373 \begin_inset Caption Bicaption
375 \begin_layout Plain Layout
376 \begin_inset Argument 1
379 \begin_layout Plain Layout
386 \begin_inset Argument 2
389 \begin_layout Plain Layout
396 \begin_inset Argument 3
399 \begin_layout Plain Layout
406 \begin_inset CommandInset label
408 name "fig:example-figure"
425 \begin_layout Standard
426 \begin_inset Note Greyedout
429 \begin_layout Plain Layout
434 : Multilingual captions cannot be used for longtables.
442 \begin_layout Section
443 Caption Customization
446 \begin_layout Standard
447 The layout of the captions can also be changed using the
452 For example to typeset the caption text sans-serif italic, use the command
455 \begin_layout Standard
461 \begin_layout Standard
462 to make the label bold use
465 \begin_layout Standard
471 \begin_layout Standard
472 To set the font for the text and the label use the command
477 For more information about possible customizations, see the documentation
478 of the \SpecialCharNoPassThru LaTeX
484 \begin_inset CommandInset citation
490 , because the customization options of the package
501 \begin_layout Standard
507 \begin_inset CommandInset ref
509 reference "fig:example-figure-custom"
513 is an example of a figure float with a customized multilingual caption.
516 \begin_layout Caption setup
517 \begin_inset Note Note
520 \begin_layout Plain Layout
525 : This setup does not have an effect in this file as described in the note
531 \begin_inset CommandInset ref
533 reference "sec:Float-List-Customization"
543 \begin_inset Argument 1
546 \begin_layout Plain Layout
552 labelfont=bf, labelsep=newline
553 \begin_inset Note Note
556 \begin_layout Plain Layout
557 The label font should be bold, the label separator is a line break instead
566 \begin_layout Caption setup
567 \begin_inset Argument 1
570 \begin_layout Plain Layout
576 labelfont=bf, labelsep=newline
577 \begin_inset Note Note
580 \begin_layout Plain Layout
581 The first language label font should be bold.
589 \begin_layout Caption setup
590 \begin_inset Argument 1
593 \begin_layout Plain Layout
599 labelfont=bf, textfont={sf,it}, labelsep=newline
600 \begin_inset Note Note
603 \begin_layout Plain Layout
604 The second language caption text should be sans-serif, italic.
612 \begin_layout Standard
613 \begin_inset Float figure
618 \begin_layout Plain Layout
621 \begin_inset Box Boxed
631 height_special "totalheight"
636 backgroundcolor "none"
639 \begin_layout Plain Layout
648 \begin_layout Plain Layout
649 \begin_inset Caption Bicaption
651 \begin_layout Plain Layout
652 \begin_inset Argument 2
655 \begin_layout Plain Layout
656 Customized caption format
663 Angepasstes Beschriftungsformat
666 \begin_inset CommandInset label
668 name "fig:example-figure-custom"
685 \begin_layout Section
686 \begin_inset CommandInset label
688 name "sec:Float-List-Customization"
692 Float List Customization
695 \begin_layout Standard
696 By default the list of figures/tables contain both languages.
697 You can turn off the second language by adding this line to the document
701 \begin_layout Standard
706 PassOptionsToPackage{list=off}{bicaption}
709 \begin_layout Standard
710 It is also possible to have two different lists, one for the document language,
711 one for the second language.
712 This is the case in this file.
713 To split the list one needs to add these lines to the \SpecialCharNoPassThru LaTeX
717 \begin_layout Standard
723 \begin_inset Newline newline
728 DeclareFloatingEnvironment[fileext=lof2]{figureGer}
729 \begin_inset Newline newline
732 [Abbildung][Abbildungsverzeichnis]
733 \begin_inset Newline newline
738 DeclareFloatingEnvironment[fileext=lot2]{tableGer}
739 \begin_inset Newline newline
742 [Tabelle][Tabellenverzeichnis]
743 \begin_inset Newline newline
748 PassOptionsToPackage{listtype+=Ger}{bicaption}
751 \begin_layout Standard
752 This defines two new float type named
765 can be inserted by using the command
768 \begin_layout Standard
776 \begin_layout Standard
777 as \SpecialCharNoPassThru TeX
779 Here is the German list of figures:
782 \begin_layout Standard
786 \begin_layout Plain Layout
798 \begin_layout Standard
799 \begin_inset VSpace bigskip
805 \begin_layout Standard
806 \begin_inset Note Greyedout
809 \begin_layout Plain Layout
814 : If you are using this feature, the
822 does no longer have any effect.
823 You then need to define everything explicitly for each language using the
840 \begin_layout Standard
841 For more information what can be done with the \SpecialCharNoPassThru LaTeX
846 , have a look at its documentation,
847 \begin_inset CommandInset citation
856 \begin_layout Standard
857 \begin_inset Newpage newpage
863 \begin_layout Standard
865 <lyxtabular version="3" rows="48" columns="2">
866 <features rotate="0" booktabs="true" islongtable="true" headBottomDL="true" lastFootEmpty="true" longtabularalignment="center">
867 <column alignment="center" valignment="top" width="0pt">
868 <column alignment="center" valignment="middle" width="35col%">
869 <row endfirsthead="true" caption="true">
870 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
873 \begin_layout Plain Layout
874 \begin_inset Caption Standard
876 \begin_layout Plain Layout
877 \begin_inset CommandInset label
879 name "tab:List-of-babel"
893 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
896 \begin_layout Plain Layout
903 <row endfirsthead="true">
904 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
907 \begin_layout Plain Layout
913 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
916 \begin_layout Plain Layout
924 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
927 \begin_layout Plain Layout
933 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
936 \begin_layout Plain Layout
944 <cell alignment="center" valignment="top" usebox="none">
947 \begin_layout Plain Layout
953 <cell alignment="center" valignment="top" usebox="none">
956 \begin_layout Plain Layout
960 continued on next page
967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
970 \begin_layout Plain Layout
976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
979 \begin_layout Plain Layout
987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
990 \begin_layout Plain Layout
996 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
999 \begin_layout Plain Layout
1007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1010 \begin_layout Plain Layout
1016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1019 \begin_layout Plain Layout
1027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1030 \begin_layout Plain Layout
1036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1039 \begin_layout Plain Layout
1047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1050 \begin_layout Plain Layout
1056 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1059 \begin_layout Plain Layout
1067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1070 \begin_layout Plain Layout
1076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1079 \begin_layout Plain Layout
1087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1090 \begin_layout Plain Layout
1096 <cell alignment="center" valignment="top" topline="true" usebox="none">
1099 \begin_layout Plain Layout
1107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1110 \begin_layout Plain Layout
1116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1119 \begin_layout Plain Layout
1127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1130 \begin_layout Plain Layout
1136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1139 \begin_layout Plain Layout
1147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1150 \begin_layout Plain Layout
1156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1159 \begin_layout Plain Layout
1160 english, american, australian, british, canadian, newzealand
1167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1170 \begin_layout Plain Layout
1176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1179 \begin_layout Plain Layout
1187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1190 \begin_layout Plain Layout
1196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1199 \begin_layout Plain Layout
1207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1210 \begin_layout Plain Layout
1216 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1219 \begin_layout Plain Layout
1227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1230 \begin_layout Plain Layout
1236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1239 \begin_layout Plain Layout
1240 french, canadien, acadian
1247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1250 \begin_layout Plain Layout
1256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1259 \begin_layout Plain Layout
1267 <cell alignment="center" valignment="top" topline="true" usebox="none">
1270 \begin_layout Plain Layout
1276 <cell alignment="center" valignment="top" topline="true" usebox="none">
1279 \begin_layout Plain Layout
1287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1290 \begin_layout Plain Layout
1296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1299 \begin_layout Plain Layout
1307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1310 \begin_layout Plain Layout
1316 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1319 \begin_layout Plain Layout
1320 greek, polutonikogreek
1327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1330 \begin_layout Plain Layout
1336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1339 \begin_layout Plain Layout
1347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1350 \begin_layout Plain Layout
1356 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1359 \begin_layout Plain Layout
1367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1370 \begin_layout Plain Layout
1376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1379 \begin_layout Plain Layout
1387 <cell alignment="center" valignment="top" topline="true" usebox="none">
1390 \begin_layout Plain Layout
1396 <cell alignment="center" valignment="top" topline="true" usebox="none">
1399 \begin_layout Plain Layout
1407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1410 \begin_layout Plain Layout
1416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1419 \begin_layout Plain Layout
1427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1430 \begin_layout Plain Layout
1436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1439 \begin_layout Plain Layout
1447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1450 \begin_layout Plain Layout
1456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1459 \begin_layout Plain Layout
1467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1470 \begin_layout Plain Layout
1476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1479 \begin_layout Plain Layout
1487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1490 \begin_layout Plain Layout
1496 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1499 \begin_layout Plain Layout
1507 <cell alignment="center" valignment="top" topline="true" usebox="none">
1510 \begin_layout Plain Layout
1516 <cell alignment="center" valignment="top" topline="true" usebox="none">
1519 \begin_layout Plain Layout
1527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1530 \begin_layout Plain Layout
1536 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1539 \begin_layout Plain Layout
1547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1550 \begin_layout Plain Layout
1556 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1559 \begin_layout Plain Layout
1567 <cell alignment="center" valignment="top" topline="true" usebox="none">
1570 \begin_layout Plain Layout
1576 <cell alignment="center" valignment="top" topline="true" usebox="none">
1579 \begin_layout Plain Layout
1587 <cell alignment="center" valignment="top" topline="true" usebox="none">
1590 \begin_layout Plain Layout
1596 <cell alignment="center" valignment="top" topline="true" usebox="none">
1599 \begin_layout Plain Layout
1600 portuguese, brazilian
1607 <cell alignment="center" valignment="top" topline="true" usebox="none">
1610 \begin_layout Plain Layout
1616 <cell alignment="center" valignment="top" topline="true" usebox="none">
1619 \begin_layout Plain Layout
1627 <cell alignment="center" valignment="top" topline="true" usebox="none">
1630 \begin_layout Plain Layout
1636 <cell alignment="center" valignment="top" topline="true" usebox="none">
1639 \begin_layout Plain Layout
1647 <cell alignment="center" valignment="top" topline="true" usebox="none">
1650 \begin_layout Plain Layout
1656 <cell alignment="center" valignment="top" topline="true" usebox="none">
1659 \begin_layout Plain Layout
1667 <cell alignment="center" valignment="top" topline="true" usebox="none">
1670 \begin_layout Plain Layout
1676 <cell alignment="center" valignment="top" topline="true" usebox="none">
1679 \begin_layout Plain Layout
1687 <cell alignment="center" valignment="top" topline="true" usebox="none">
1690 \begin_layout Plain Layout
1696 <cell alignment="center" valignment="top" topline="true" usebox="none">
1699 \begin_layout Plain Layout
1707 <cell alignment="center" valignment="top" topline="true" usebox="none">
1710 \begin_layout Plain Layout
1716 <cell alignment="center" valignment="top" topline="true" usebox="none">
1719 \begin_layout Plain Layout
1727 <cell alignment="center" valignment="top" topline="true" usebox="none">
1730 \begin_layout Plain Layout
1736 <cell alignment="center" valignment="top" topline="true" usebox="none">
1739 \begin_layout Plain Layout
1747 <cell alignment="center" valignment="top" topline="true" usebox="none">
1750 \begin_layout Plain Layout
1756 <cell alignment="center" valignment="top" topline="true" usebox="none">
1759 \begin_layout Plain Layout
1767 <cell alignment="center" valignment="top" topline="true" usebox="none">
1770 \begin_layout Plain Layout
1776 <cell alignment="center" valignment="top" topline="true" usebox="none">
1779 \begin_layout Plain Layout
1787 <cell alignment="center" valignment="top" topline="true" usebox="none">
1790 \begin_layout Plain Layout
1796 <cell alignment="center" valignment="top" topline="true" usebox="none">
1799 \begin_layout Plain Layout
1807 <cell alignment="center" valignment="top" topline="true" usebox="none">
1810 \begin_layout Plain Layout
1816 <cell alignment="center" valignment="top" topline="true" usebox="none">
1819 \begin_layout Plain Layout
1827 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1830 \begin_layout Plain Layout
1836 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1839 \begin_layout Plain Layout
1853 \begin_layout Bibliography
1854 \begin_inset CommandInset bibitem
1855 LatexCommand bibitem
1860 Documentation of the \SpecialCharNoPassThru LaTeX
1864 \begin_inset CommandInset href
1867 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/bicaption.pdf"
1874 \begin_layout Bibliography
1875 \begin_inset CommandInset bibitem
1876 LatexCommand bibitem
1881 Documentation of the \SpecialCharNoPassThru LaTeX
1885 \begin_inset CommandInset href
1888 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"