1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/Modules/
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 \use_dash_ligatures false
56 \default_output_format default
58 \bibtex_command default
59 \index_command default
65 \pdf_bookmarksnumbered false
66 \pdf_bookmarksopen false
67 \pdf_bookmarksopenlevel 1
73 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
76 \use_package amsmath 1
77 \use_package amssymb 1
80 \use_package mathdots 1
81 \use_package mathtools 1
83 \use_package stackrel 1
84 \use_package stmaryrd 1
85 \use_package undertilde 1
87 \cite_engine_type default
91 \paperorientation portrait
96 \notefontcolor #0000ff
103 \paragraph_separation skip
106 \math_numbering_side default
107 \quotes_style english
111 \paperpagestyle default
112 \tracking_changes false
113 \output_changes false
116 \html_be_strict false
122 Typesetting Multilingual Captions
129 \begin_layout Standard
130 \begin_inset FloatList figure
137 \begin_layout Section
141 \begin_layout Standard
150 allows to typeset captions in two languages.
151 It requires the \SpecialChar LaTeX
156 which is part of the \SpecialChar LaTeX
170 should be installed too.
173 \begin_layout Standard
174 The first language is the document language, the second one has to be specified
184 This style has an optional argument to define to which language the setup
186 To change the setup of all captions in the first language, use
190 as optional argument, for the second language use
194 , for both languages use
201 \begin_layout Standard
202 \begin_inset Note Greyedout
205 \begin_layout Plain Layout
210 : If no optional argument is used for
214 , the setup will affect all captions in the document, not only the multilingual
223 \begin_layout Standard
224 This document is in English.
225 To set German as the second language one uses the command
228 \begin_layout Standard
234 \begin_layout Standard
240 For other languages, replace
244 by the babel name of the language.
245 The list of babel names is given in Table
250 \begin_inset CommandInset ref
252 reference "tab:List-of-babel"
257 The caption labels are automatically translated.
260 \begin_layout Standard
261 To add a multilingual caption to a float, press the right mouse button on
262 the caption that is automatically added when inserting a new float and
271 ) from the context menu.
272 If no caption is inserted, you can insert the multilingual caption via
275 Insert\SpecialChar menuseparator
276 Caption\SpecialChar menuseparator
280 The caption text in the document language must be inserted in the inset
281 which is inserted in the caption via
283 Insert\SpecialChar menuseparator
287 The caption text in the second language is inserted as normal text in the
291 \begin_layout Standard
292 Short Titles for both languages (for the List of Tables\SpecialChar breakableslash
293 Figures) can be inserted
296 Insert\SpecialChar menuseparator
297 Main Language Short Title
301 Insert\SpecialChar menuseparator
302 Second Language Short Title.
305 \begin_layout Standard
311 \begin_inset CommandInset ref
313 reference "fig:example-figure"
317 is an example of a figure float with a multilingual caption.
320 \begin_layout Caption setup
321 \begin_inset Argument 1
324 \begin_layout Plain Layout
332 \begin_inset Note Note
335 \begin_layout Plain Layout
336 specify the second language
344 \begin_layout Standard
345 \begin_inset Float figure
350 \begin_layout Plain Layout
353 \begin_inset Box Boxed
363 height_special "totalheight"
368 backgroundcolor "none"
371 \begin_layout Plain Layout
380 \begin_layout Plain Layout
381 \begin_inset Caption Bicaption
383 \begin_layout Plain Layout
384 \begin_inset Argument 1
387 \begin_layout Plain Layout
394 \begin_inset Argument 2
397 \begin_layout Plain Layout
404 \begin_inset Argument 3
407 \begin_layout Plain Layout
414 \begin_inset CommandInset label
416 name "fig:example-figure"
433 \begin_layout Standard
434 \begin_inset Note Greyedout
437 \begin_layout Plain Layout
442 : Multilingual captions cannot be used for longtables.
450 \begin_layout Section
451 Caption Customization
454 \begin_layout Standard
455 The layout of the captions can also be changed using the
460 For example to typeset the caption text sans-serif italic, use the command
463 \begin_layout Standard
469 \begin_layout Standard
470 to make the label bold use
473 \begin_layout Standard
479 \begin_layout Standard
480 To set the font for the text and the label use the command
485 For more information about possible customizations, see the documentation
486 of the \SpecialChar LaTeX
492 \begin_inset CommandInset citation
499 , because the customization options of the package
510 \begin_layout Standard
516 \begin_inset CommandInset ref
518 reference "fig:example-figure-custom"
522 is an example of a figure float with a customized multilingual caption.
525 \begin_layout Caption setup
526 \begin_inset Note Note
529 \begin_layout Plain Layout
534 : This setup does not have an effect in this file as described in the note
540 \begin_inset CommandInset ref
542 reference "sec:Float-List-Customization"
552 \begin_inset Argument 1
555 \begin_layout Plain Layout
562 labelfont=bf, labelsep=newline
563 \begin_inset Note Note
566 \begin_layout Plain Layout
567 The label font should be bold, the label separator is a line break instead
576 \begin_layout Caption setup
577 \begin_inset Argument 1
580 \begin_layout Plain Layout
587 labelfont=bf, labelsep=newline
588 \begin_inset Note Note
591 \begin_layout Plain Layout
592 The first language label font should be bold.
600 \begin_layout Caption setup
601 \begin_inset Argument 1
604 \begin_layout Plain Layout
611 labelfont=bf, textfont={sf,it}, labelsep=newline
612 \begin_inset Note Note
615 \begin_layout Plain Layout
616 The second language caption text should be sans-serif, italic.
624 \begin_layout Standard
625 \begin_inset Float figure
630 \begin_layout Plain Layout
633 \begin_inset Box Boxed
643 height_special "totalheight"
648 backgroundcolor "none"
651 \begin_layout Plain Layout
660 \begin_layout Plain Layout
661 \begin_inset Caption Bicaption
663 \begin_layout Plain Layout
664 \begin_inset Argument 2
667 \begin_layout Plain Layout
668 Customized caption format
675 Angepasstes Beschriftungsformat
678 \begin_inset CommandInset label
680 name "fig:example-figure-custom"
697 \begin_layout Section
698 \begin_inset CommandInset label
700 name "sec:Float-List-Customization"
704 Float List Customization
707 \begin_layout Standard
708 By default the list of figures/tables contain both languages.
709 You can turn off the second language by adding this line to the document
713 \begin_layout Standard
718 PassOptionsToPackage{list=off}{bicaption}
721 \begin_layout Standard
722 It is also possible to have two different lists, one for the document language,
723 one for the second language.
724 This is the case in this file.
725 To split the list one needs to add these lines to the \SpecialChar LaTeX
729 \begin_layout Standard
735 \begin_inset Newline newline
740 DeclareFloatingEnvironment[fileext=lof2]{figureGer}
741 \begin_inset Newline newline
744 [Abbildung][Abbildungsverzeichnis]
745 \begin_inset Newline newline
750 DeclareFloatingEnvironment[fileext=lot2]{tableGer}
751 \begin_inset Newline newline
754 [Tabelle][Tabellenverzeichnis]
755 \begin_inset Newline newline
760 PassOptionsToPackage{listtype+=Ger}{bicaption}
763 \begin_layout Standard
764 This defines two new float type named
777 can be inserted by using the command
780 \begin_layout Standard
788 \begin_layout Standard
791 Here is the German list of figures:
794 \begin_layout Standard
798 \begin_layout Plain Layout
810 \begin_layout Standard
811 \begin_inset VSpace bigskip
817 \begin_layout Standard
818 \begin_inset Note Greyedout
821 \begin_layout Plain Layout
826 : If you are using this feature, the
834 does no longer have any effect.
835 You then need to define everything explicitly for each language using the
852 \begin_layout Standard
853 For more information what can be done with the \SpecialChar LaTeX
858 , have a look at its documentation,
859 \begin_inset CommandInset citation
869 \begin_layout Standard
870 \begin_inset Newpage newpage
876 \begin_layout Standard
878 <lyxtabular version="3" rows="48" columns="2">
879 <features booktabs="true" islongtable="true" headBottomDL="true" lastFootEmpty="true" longtabularalignment="center">
880 <column alignment="center" valignment="top" width="0pt">
881 <column alignment="center" valignment="middle" width="35col%">
882 <row endfirsthead="true" caption="true">
883 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
886 \begin_layout Plain Layout
887 \begin_inset Caption Standard
889 \begin_layout Plain Layout
890 \begin_inset CommandInset label
892 name "tab:List-of-babel"
906 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
909 \begin_layout Plain Layout
916 <row endfirsthead="true">
917 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
920 \begin_layout Plain Layout
926 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
929 \begin_layout Plain Layout
937 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
940 \begin_layout Plain Layout
946 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
949 \begin_layout Plain Layout
957 <cell alignment="center" valignment="top" usebox="none">
960 \begin_layout Plain Layout
966 <cell alignment="center" valignment="top" usebox="none">
969 \begin_layout Plain Layout
973 continued on next page
980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
983 \begin_layout Plain Layout
989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
992 \begin_layout Plain Layout
1000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1003 \begin_layout Plain Layout
1009 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1012 \begin_layout Plain Layout
1020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1023 \begin_layout Plain Layout
1029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1032 \begin_layout Plain Layout
1040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1043 \begin_layout Plain Layout
1049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1052 \begin_layout Plain Layout
1060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1063 \begin_layout Plain Layout
1069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1072 \begin_layout Plain Layout
1080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1083 \begin_layout Plain Layout
1089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1092 \begin_layout Plain Layout
1100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1103 \begin_layout Plain Layout
1109 <cell alignment="center" valignment="top" topline="true" usebox="none">
1112 \begin_layout Plain Layout
1120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1123 \begin_layout Plain Layout
1129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1132 \begin_layout Plain Layout
1140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1143 \begin_layout Plain Layout
1149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1152 \begin_layout Plain Layout
1160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1163 \begin_layout Plain Layout
1169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1172 \begin_layout Plain Layout
1173 english, american, australian, british, canadian, newzealand
1180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1183 \begin_layout Plain Layout
1189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1192 \begin_layout Plain Layout
1200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1203 \begin_layout Plain Layout
1209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1212 \begin_layout Plain Layout
1220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1223 \begin_layout Plain Layout
1229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1232 \begin_layout Plain Layout
1240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1243 \begin_layout Plain Layout
1249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1252 \begin_layout Plain Layout
1253 french, canadien, acadian
1260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1263 \begin_layout Plain Layout
1269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1272 \begin_layout Plain Layout
1280 <cell alignment="center" valignment="top" topline="true" usebox="none">
1283 \begin_layout Plain Layout
1289 <cell alignment="center" valignment="top" topline="true" usebox="none">
1292 \begin_layout Plain Layout
1300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1303 \begin_layout Plain Layout
1309 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1312 \begin_layout Plain Layout
1320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1323 \begin_layout Plain Layout
1329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1332 \begin_layout Plain Layout
1333 greek, polutonikogreek
1340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1343 \begin_layout Plain Layout
1349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1352 \begin_layout Plain Layout
1360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1363 \begin_layout Plain Layout
1369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1372 \begin_layout Plain Layout
1380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1383 \begin_layout Plain Layout
1389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1392 \begin_layout Plain Layout
1400 <cell alignment="center" valignment="top" topline="true" usebox="none">
1403 \begin_layout Plain Layout
1409 <cell alignment="center" valignment="top" topline="true" usebox="none">
1412 \begin_layout Plain Layout
1420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1423 \begin_layout Plain Layout
1429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1432 \begin_layout Plain Layout
1440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1443 \begin_layout Plain Layout
1449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1452 \begin_layout Plain Layout
1460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1463 \begin_layout Plain Layout
1469 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1472 \begin_layout Plain Layout
1480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1483 \begin_layout Plain Layout
1489 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1492 \begin_layout Plain Layout
1500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1503 \begin_layout Plain Layout
1509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1512 \begin_layout Plain Layout
1520 <cell alignment="center" valignment="top" topline="true" usebox="none">
1523 \begin_layout Plain Layout
1529 <cell alignment="center" valignment="top" topline="true" usebox="none">
1532 \begin_layout Plain Layout
1540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1543 \begin_layout Plain Layout
1549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1552 \begin_layout Plain Layout
1560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1563 \begin_layout Plain Layout
1569 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1572 \begin_layout Plain Layout
1580 <cell alignment="center" valignment="top" topline="true" usebox="none">
1583 \begin_layout Plain Layout
1589 <cell alignment="center" valignment="top" topline="true" usebox="none">
1592 \begin_layout Plain Layout
1600 <cell alignment="center" valignment="top" topline="true" usebox="none">
1603 \begin_layout Plain Layout
1609 <cell alignment="center" valignment="top" topline="true" usebox="none">
1612 \begin_layout Plain Layout
1613 portuguese, brazilian
1620 <cell alignment="center" valignment="top" topline="true" usebox="none">
1623 \begin_layout Plain Layout
1629 <cell alignment="center" valignment="top" topline="true" usebox="none">
1632 \begin_layout Plain Layout
1640 <cell alignment="center" valignment="top" topline="true" usebox="none">
1643 \begin_layout Plain Layout
1649 <cell alignment="center" valignment="top" topline="true" usebox="none">
1652 \begin_layout Plain Layout
1660 <cell alignment="center" valignment="top" topline="true" usebox="none">
1663 \begin_layout Plain Layout
1669 <cell alignment="center" valignment="top" topline="true" usebox="none">
1672 \begin_layout Plain Layout
1680 <cell alignment="center" valignment="top" topline="true" usebox="none">
1683 \begin_layout Plain Layout
1689 <cell alignment="center" valignment="top" topline="true" usebox="none">
1692 \begin_layout Plain Layout
1700 <cell alignment="center" valignment="top" topline="true" usebox="none">
1703 \begin_layout Plain Layout
1709 <cell alignment="center" valignment="top" topline="true" usebox="none">
1712 \begin_layout Plain Layout
1720 <cell alignment="center" valignment="top" topline="true" usebox="none">
1723 \begin_layout Plain Layout
1729 <cell alignment="center" valignment="top" topline="true" usebox="none">
1732 \begin_layout Plain Layout
1740 <cell alignment="center" valignment="top" topline="true" usebox="none">
1743 \begin_layout Plain Layout
1749 <cell alignment="center" valignment="top" topline="true" usebox="none">
1752 \begin_layout Plain Layout
1760 <cell alignment="center" valignment="top" topline="true" usebox="none">
1763 \begin_layout Plain Layout
1769 <cell alignment="center" valignment="top" topline="true" usebox="none">
1772 \begin_layout Plain Layout
1780 <cell alignment="center" valignment="top" topline="true" usebox="none">
1783 \begin_layout Plain Layout
1789 <cell alignment="center" valignment="top" topline="true" usebox="none">
1792 \begin_layout Plain Layout
1800 <cell alignment="center" valignment="top" topline="true" usebox="none">
1803 \begin_layout Plain Layout
1809 <cell alignment="center" valignment="top" topline="true" usebox="none">
1812 \begin_layout Plain Layout
1820 <cell alignment="center" valignment="top" topline="true" usebox="none">
1823 \begin_layout Plain Layout
1829 <cell alignment="center" valignment="top" topline="true" usebox="none">
1832 \begin_layout Plain Layout
1840 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1843 \begin_layout Plain Layout
1849 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1852 \begin_layout Plain Layout
1866 \begin_layout Bibliography
1867 \begin_inset CommandInset bibitem
1868 LatexCommand bibitem
1874 Documentation of the \SpecialChar LaTeX
1878 \begin_inset CommandInset href
1881 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/bicaption.pdf"
1889 \begin_layout Bibliography
1890 \begin_inset CommandInset bibitem
1891 LatexCommand bibitem
1897 Documentation of the \SpecialChar LaTeX
1901 \begin_inset CommandInset href
1904 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"