1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/
13 % set fonts for nicer pdf view
14 \IfFileExists{lmodern.sty}
15 {\usepackage{lmodern}}{}
17 \fi % end if pdflatex is used
19 % use this when you only need the document language captions in the list of figures/tables
20 %\PassOptionsToPackage{list=off}{bicaption}
22 % all this is only necessary if you want to have a different list of floats for each language
24 % Define a new floating environment type "figureGer"
25 \DeclareFloatingEnvironment[fileext=lof2]{figureGer}
26 [Abbildung][Abbildungsverzeichnis]
27 % Define the new floating environment type "tableEng"
28 \DeclareFloatingEnvironment[fileext=lot2]{tableGer}
29 [Tabelle][Tabellenverzeichnis]
30 % inform bicaption about the new float types
31 \PassOptionsToPackage{listtype+=Ger}{bicaption}
34 \use_default_options true
38 \maintain_unincluded_children false
40 \language_package default
43 \font_roman "default" "default"
44 \font_sans "default" "default"
45 \font_typewriter "default" "default"
46 \font_math "auto" "auto"
47 \font_default_family default
48 \use_non_tex_fonts false
51 \font_sf_scale 100 100
52 \font_tt_scale 100 100
54 \default_output_format default
56 \bibtex_command default
57 \index_command default
63 \pdf_bookmarksnumbered false
64 \pdf_bookmarksopen false
65 \pdf_bookmarksopenlevel 1
71 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
74 \use_package amsmath 1
75 \use_package amssymb 1
78 \use_package mathdots 1
79 \use_package mathtools 1
81 \use_package stackrel 1
82 \use_package stmaryrd 1
83 \use_package undertilde 1
85 \cite_engine_type default
89 \paperorientation portrait
93 \notefontcolor #0000ff
100 \paragraph_separation skip
102 \quotes_language english
105 \paperpagestyle default
106 \tracking_changes false
107 \output_changes false
110 \html_be_strict false
116 Typesetting Multilingual Captions
123 \begin_layout Standard
124 \begin_inset FloatList figure
131 \begin_layout Section
135 \begin_layout Standard
144 allows to typeset captions in two languages.
145 It requires the \SpecialChar LaTeX
150 which is part of the \SpecialChar LaTeX
164 should be installed too.
167 \begin_layout Standard
168 The first language is the document language, the second one has to be specified
178 This style has an optional argument to define to which language the setup
180 To change the setup of all captions in the first language, use
184 as optional argument, for the second language use
188 , for both languages use
195 \begin_layout Standard
196 \begin_inset Note Greyedout
199 \begin_layout Plain Layout
204 : If no optional argument is used for
208 , the setup will affect all captions in the document, not only the multilingual
217 \begin_layout Standard
218 This document is in English.
219 To set German as the second language one uses the command
222 \begin_layout Standard
228 \begin_layout Standard
234 For other languages, replace
238 by the babel name of the language.
239 The list of babel names is given in Table
244 \begin_inset CommandInset ref
246 reference "tab:List-of-babel"
251 The caption labels are automatically translated.
254 \begin_layout Standard
255 To add a multilingual caption to a float, press the right mouse button on
256 the caption that is automatically added when inserting a new float and
265 ) from the context menu.
266 If no caption is inserted, you can insert the multilingual caption via
269 Insert\SpecialChar menuseparator
270 Caption\SpecialChar menuseparator
274 The caption text in the document language must be inserted in the inset
275 which is inserted in the caption via
277 Insert\SpecialChar menuseparator
281 The caption text in the second language is inserted as normal text in the
285 \begin_layout Standard
286 Short Titles for both languages (for the List of Tables\SpecialChar breakableslash
287 Figures) can be inserted
290 Insert\SpecialChar menuseparator
291 Main Language Short Title
295 Insert\SpecialChar menuseparator
296 Second Language Short Title.
299 \begin_layout Standard
305 \begin_inset CommandInset ref
307 reference "fig:example-figure"
311 is an example of a figure float with a multilingual caption.
314 \begin_layout Caption setup
315 \begin_inset Argument 1
318 \begin_layout Plain Layout
325 \begin_inset Note Note
328 \begin_layout Plain Layout
329 specify the second language
337 \begin_layout Standard
338 \begin_inset Float figure
343 \begin_layout Plain Layout
346 \begin_inset Box Boxed
356 height_special "totalheight"
361 backgroundcolor "none"
364 \begin_layout Plain Layout
373 \begin_layout Plain Layout
374 \begin_inset Caption Bicaption
376 \begin_layout Plain Layout
377 \begin_inset Argument 1
380 \begin_layout Plain Layout
387 \begin_inset Argument 2
390 \begin_layout Plain Layout
397 \begin_inset Argument 3
400 \begin_layout Plain Layout
407 \begin_inset CommandInset label
409 name "fig:example-figure"
426 \begin_layout Standard
427 \begin_inset Note Greyedout
430 \begin_layout Plain Layout
435 : Multilingual captions cannot be used for longtables.
443 \begin_layout Section
444 Caption Customization
447 \begin_layout Standard
448 The layout of the captions can also be changed using the
453 For example to typeset the caption text sans-serif italic, use the command
456 \begin_layout Standard
462 \begin_layout Standard
463 to make the label bold use
466 \begin_layout Standard
472 \begin_layout Standard
473 To set the font for the text and the label use the command
478 For more information about possible customizations, see the documentation
479 of the \SpecialChar LaTeX
485 \begin_inset CommandInset citation
491 , because the customization options of the package
502 \begin_layout Standard
508 \begin_inset CommandInset ref
510 reference "fig:example-figure-custom"
514 is an example of a figure float with a customized multilingual caption.
517 \begin_layout Caption setup
518 \begin_inset Note Note
521 \begin_layout Plain Layout
526 : This setup does not have an effect in this file as described in the note
532 \begin_inset CommandInset ref
534 reference "sec:Float-List-Customization"
544 \begin_inset Argument 1
547 \begin_layout Plain Layout
553 labelfont=bf, labelsep=newline
554 \begin_inset Note Note
557 \begin_layout Plain Layout
558 The label font should be bold, the label separator is a line break instead
567 \begin_layout Caption setup
568 \begin_inset Argument 1
571 \begin_layout Plain Layout
577 labelfont=bf, labelsep=newline
578 \begin_inset Note Note
581 \begin_layout Plain Layout
582 The first language label font should be bold.
590 \begin_layout Caption setup
591 \begin_inset Argument 1
594 \begin_layout Plain Layout
600 labelfont=bf, textfont={sf,it}, labelsep=newline
601 \begin_inset Note Note
604 \begin_layout Plain Layout
605 The second language caption text should be sans-serif, italic.
613 \begin_layout Standard
614 \begin_inset Float figure
619 \begin_layout Plain Layout
622 \begin_inset Box Boxed
632 height_special "totalheight"
637 backgroundcolor "none"
640 \begin_layout Plain Layout
649 \begin_layout Plain Layout
650 \begin_inset Caption Bicaption
652 \begin_layout Plain Layout
653 \begin_inset Argument 2
656 \begin_layout Plain Layout
657 Customized caption format
664 Angepasstes Beschriftungsformat
667 \begin_inset CommandInset label
669 name "fig:example-figure-custom"
686 \begin_layout Section
687 \begin_inset CommandInset label
689 name "sec:Float-List-Customization"
693 Float List Customization
696 \begin_layout Standard
697 By default the list of figures/tables contain both languages.
698 You can turn off the second language by adding this line to the document
702 \begin_layout Standard
707 PassOptionsToPackage{list=off}{bicaption}
710 \begin_layout Standard
711 It is also possible to have two different lists, one for the document language,
712 one for the second language.
713 This is the case in this file.
714 To split the list one needs to add these lines to the \SpecialChar LaTeX
718 \begin_layout Standard
724 \begin_inset Newline newline
729 DeclareFloatingEnvironment[fileext=lof2]{figureGer}
730 \begin_inset Newline newline
733 [Abbildung][Abbildungsverzeichnis]
734 \begin_inset Newline newline
739 DeclareFloatingEnvironment[fileext=lot2]{tableGer}
740 \begin_inset Newline newline
743 [Tabelle][Tabellenverzeichnis]
744 \begin_inset Newline newline
749 PassOptionsToPackage{listtype+=Ger}{bicaption}
752 \begin_layout Standard
753 This defines two new float type named
766 can be inserted by using the command
769 \begin_layout Standard
777 \begin_layout Standard
780 Here is the German list of figures:
783 \begin_layout Standard
787 \begin_layout Plain Layout
799 \begin_layout Standard
800 \begin_inset VSpace bigskip
806 \begin_layout Standard
807 \begin_inset Note Greyedout
810 \begin_layout Plain Layout
815 : If you are using this feature, the
823 does no longer have any effect.
824 You then need to define everything explicitly for each language using the
841 \begin_layout Standard
842 For more information what can be done with the \SpecialChar LaTeX
847 , have a look at its documentation,
848 \begin_inset CommandInset citation
857 \begin_layout Standard
858 \begin_inset Newpage newpage
864 \begin_layout Standard
866 <lyxtabular version="3" rows="48" columns="2">
867 <features booktabs="true" islongtable="true" headBottomDL="true" lastFootEmpty="true" longtabularalignment="center">
868 <column alignment="center" valignment="top" width="0pt">
869 <column alignment="center" valignment="middle" width="35col%">
870 <row endfirsthead="true" caption="true">
871 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
874 \begin_layout Plain Layout
875 \begin_inset Caption Standard
877 \begin_layout Plain Layout
878 \begin_inset CommandInset label
880 name "tab:List-of-babel"
894 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
897 \begin_layout Plain Layout
904 <row endfirsthead="true">
905 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
908 \begin_layout Plain Layout
914 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
917 \begin_layout Plain Layout
925 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
928 \begin_layout Plain Layout
934 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
937 \begin_layout Plain Layout
945 <cell alignment="center" valignment="top" usebox="none">
948 \begin_layout Plain Layout
954 <cell alignment="center" valignment="top" usebox="none">
957 \begin_layout Plain Layout
961 continued on next page
968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
971 \begin_layout Plain Layout
977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
980 \begin_layout Plain Layout
988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
991 \begin_layout Plain Layout
997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1000 \begin_layout Plain Layout
1008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1011 \begin_layout Plain Layout
1017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1020 \begin_layout Plain Layout
1028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1031 \begin_layout Plain Layout
1037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1040 \begin_layout Plain Layout
1048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1051 \begin_layout Plain Layout
1057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1060 \begin_layout Plain Layout
1068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1071 \begin_layout Plain Layout
1077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1080 \begin_layout Plain Layout
1088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1091 \begin_layout Plain Layout
1097 <cell alignment="center" valignment="top" topline="true" usebox="none">
1100 \begin_layout Plain Layout
1108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1111 \begin_layout Plain Layout
1117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1120 \begin_layout Plain Layout
1128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1131 \begin_layout Plain Layout
1137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1140 \begin_layout Plain Layout
1148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1151 \begin_layout Plain Layout
1157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1160 \begin_layout Plain Layout
1161 english, american, australian, british, canadian, newzealand
1168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1171 \begin_layout Plain Layout
1177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1180 \begin_layout Plain Layout
1188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1191 \begin_layout Plain Layout
1197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1200 \begin_layout Plain Layout
1208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1211 \begin_layout Plain Layout
1217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1220 \begin_layout Plain Layout
1228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1231 \begin_layout Plain Layout
1237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1240 \begin_layout Plain Layout
1241 french, canadien, acadian
1248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1251 \begin_layout Plain Layout
1257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1260 \begin_layout Plain Layout
1268 <cell alignment="center" valignment="top" topline="true" usebox="none">
1271 \begin_layout Plain Layout
1277 <cell alignment="center" valignment="top" topline="true" usebox="none">
1280 \begin_layout Plain Layout
1288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1291 \begin_layout Plain Layout
1297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1300 \begin_layout Plain Layout
1308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1311 \begin_layout Plain Layout
1317 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1320 \begin_layout Plain Layout
1321 greek, polutonikogreek
1328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1331 \begin_layout Plain Layout
1337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1340 \begin_layout Plain Layout
1348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1351 \begin_layout Plain Layout
1357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1360 \begin_layout Plain Layout
1368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1371 \begin_layout Plain Layout
1377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1380 \begin_layout Plain Layout
1388 <cell alignment="center" valignment="top" topline="true" usebox="none">
1391 \begin_layout Plain Layout
1397 <cell alignment="center" valignment="top" topline="true" usebox="none">
1400 \begin_layout Plain Layout
1408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1411 \begin_layout Plain Layout
1417 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1420 \begin_layout Plain Layout
1428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1431 \begin_layout Plain Layout
1437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1440 \begin_layout Plain Layout
1448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1451 \begin_layout Plain Layout
1457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1460 \begin_layout Plain Layout
1468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1471 \begin_layout Plain Layout
1477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1480 \begin_layout Plain Layout
1488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1491 \begin_layout Plain Layout
1497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1500 \begin_layout Plain Layout
1508 <cell alignment="center" valignment="top" topline="true" usebox="none">
1511 \begin_layout Plain Layout
1517 <cell alignment="center" valignment="top" topline="true" usebox="none">
1520 \begin_layout Plain Layout
1528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1531 \begin_layout Plain Layout
1537 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1540 \begin_layout Plain Layout
1548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1551 \begin_layout Plain Layout
1557 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1560 \begin_layout Plain Layout
1568 <cell alignment="center" valignment="top" topline="true" usebox="none">
1571 \begin_layout Plain Layout
1577 <cell alignment="center" valignment="top" topline="true" usebox="none">
1580 \begin_layout Plain Layout
1588 <cell alignment="center" valignment="top" topline="true" usebox="none">
1591 \begin_layout Plain Layout
1597 <cell alignment="center" valignment="top" topline="true" usebox="none">
1600 \begin_layout Plain Layout
1601 portuguese, brazilian
1608 <cell alignment="center" valignment="top" topline="true" usebox="none">
1611 \begin_layout Plain Layout
1617 <cell alignment="center" valignment="top" topline="true" usebox="none">
1620 \begin_layout Plain Layout
1628 <cell alignment="center" valignment="top" topline="true" usebox="none">
1631 \begin_layout Plain Layout
1637 <cell alignment="center" valignment="top" topline="true" usebox="none">
1640 \begin_layout Plain Layout
1648 <cell alignment="center" valignment="top" topline="true" usebox="none">
1651 \begin_layout Plain Layout
1657 <cell alignment="center" valignment="top" topline="true" usebox="none">
1660 \begin_layout Plain Layout
1668 <cell alignment="center" valignment="top" topline="true" usebox="none">
1671 \begin_layout Plain Layout
1677 <cell alignment="center" valignment="top" topline="true" usebox="none">
1680 \begin_layout Plain Layout
1688 <cell alignment="center" valignment="top" topline="true" usebox="none">
1691 \begin_layout Plain Layout
1697 <cell alignment="center" valignment="top" topline="true" usebox="none">
1700 \begin_layout Plain Layout
1708 <cell alignment="center" valignment="top" topline="true" usebox="none">
1711 \begin_layout Plain Layout
1717 <cell alignment="center" valignment="top" topline="true" usebox="none">
1720 \begin_layout Plain Layout
1728 <cell alignment="center" valignment="top" topline="true" usebox="none">
1731 \begin_layout Plain Layout
1737 <cell alignment="center" valignment="top" topline="true" usebox="none">
1740 \begin_layout Plain Layout
1748 <cell alignment="center" valignment="top" topline="true" usebox="none">
1751 \begin_layout Plain Layout
1757 <cell alignment="center" valignment="top" topline="true" usebox="none">
1760 \begin_layout Plain Layout
1768 <cell alignment="center" valignment="top" topline="true" usebox="none">
1771 \begin_layout Plain Layout
1777 <cell alignment="center" valignment="top" topline="true" usebox="none">
1780 \begin_layout Plain Layout
1788 <cell alignment="center" valignment="top" topline="true" usebox="none">
1791 \begin_layout Plain Layout
1797 <cell alignment="center" valignment="top" topline="true" usebox="none">
1800 \begin_layout Plain Layout
1808 <cell alignment="center" valignment="top" topline="true" usebox="none">
1811 \begin_layout Plain Layout
1817 <cell alignment="center" valignment="top" topline="true" usebox="none">
1820 \begin_layout Plain Layout
1828 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1831 \begin_layout Plain Layout
1837 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1840 \begin_layout Plain Layout
1854 \begin_layout Bibliography
1855 \begin_inset CommandInset bibitem
1856 LatexCommand bibitem
1861 Documentation of the \SpecialChar LaTeX
1865 \begin_inset CommandInset href
1868 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/bicaption.pdf"
1875 \begin_layout Bibliography
1876 \begin_inset CommandInset bibitem
1877 LatexCommand bibitem
1882 Documentation of the \SpecialChar LaTeX
1886 \begin_inset CommandInset href
1889 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"