1 #LyX 2.4 created this file. For more info see https://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}
33 \setlength{\parskip}{\medskipamount}
34 \setlength{\parindent}{0pt}
37 \use_default_options true
41 \maintain_unincluded_children no
43 \language_package default
46 \font_roman "default" "default"
47 \font_sans "default" "default"
48 \font_typewriter "default" "default"
49 \font_math "auto" "auto"
50 \font_default_family default
51 \use_non_tex_fonts false
54 \font_typewriter_osf false
56 \font_sf_scale 100 100
57 \font_tt_scale 100 100
59 \use_dash_ligatures false
61 \default_output_format default
63 \bibtex_command default
64 \index_command default
70 \pdf_bookmarksnumbered false
71 \pdf_bookmarksopen false
72 \pdf_bookmarksopenlevel 1
78 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
81 \use_package amsmath 1
82 \use_package amssymb 1
85 \use_package mathdots 1
86 \use_package mathtools 1
88 \use_package stackrel 1
89 \use_package stmaryrd 1
90 \use_package undertilde 1
92 \cite_engine_type default
96 \paperorientation portrait
101 \notefontcolor #0000ff
109 \paragraph_separation indent
110 \paragraph_indentation default
112 \math_numbering_side default
113 \quotes_style english
117 \paperpagestyle default
118 \tracking_changes false
119 \postpone_fragile_content false
120 \output_changes false
123 \html_be_strict false
129 Typesetting Multilingual Captions
136 \begin_layout Standard
137 \begin_inset FloatList figure
144 \begin_layout Section
148 \begin_layout Standard
157 allows to typeset captions in two languages.
158 It requires the \SpecialChar LaTeX
163 which is part of the \SpecialChar LaTeX
177 should be installed too.
180 \begin_layout Standard
181 The first language is the document language, the second one has to be specified
191 This style has an optional argument to define to which language the setup
193 To change the setup of all captions in the first language, use
197 as optional argument, for the second language use
201 , for both languages use
208 \begin_layout Standard
209 \begin_inset Note Greyedout
212 \begin_layout Plain Layout
217 : If no optional argument is used for
221 , the setup will affect all captions in the document, not only the multilingual
230 \begin_layout Standard
231 This document is in English.
232 To set German as the second language one uses the command
235 \begin_layout Standard
241 \begin_layout Standard
247 For other languages, replace
251 by the babel name of the language.
252 The list of babel names is given in Table
257 \begin_inset CommandInset ref
259 reference "tab:List-of-babel"
264 The caption labels are automatically translated.
267 \begin_layout Standard
268 To add a multilingual caption to a float, press the right mouse button on
269 the caption that is automatically added when inserting a new float and
278 ) from the context menu.
279 If no caption is inserted, you can insert the multilingual caption via
282 Insert\SpecialChar menuseparator
283 Caption\SpecialChar menuseparator
287 The caption text in the document language must be inserted in the inset
288 which is inserted in the caption via
290 Insert\SpecialChar menuseparator
294 The caption text in the second language is inserted as normal text in the
298 \begin_layout Standard
299 Short Titles for both languages (for the List of Tables\SpecialChar breakableslash
300 Figures) can be inserted
303 Insert\SpecialChar menuseparator
304 Main Language Short Title
308 Insert\SpecialChar menuseparator
309 Second Language Short Title.
312 \begin_layout Standard
318 \begin_inset CommandInset ref
320 reference "fig:example-figure"
324 is an example of a figure float with a multilingual caption.
327 \begin_layout Caption setup
328 \begin_inset Argument 1
331 \begin_layout Plain Layout
339 \begin_inset Note Note
342 \begin_layout Plain Layout
343 specify the second language
351 \begin_layout Standard
352 \begin_inset Float figure
357 \begin_layout Plain Layout
360 \begin_inset Box Boxed
370 height_special "totalheight"
375 backgroundcolor "none"
378 \begin_layout Plain Layout
387 \begin_layout Plain Layout
388 \begin_inset Caption Bicaption
390 \begin_layout Plain Layout
391 \begin_inset Argument 1
394 \begin_layout Plain Layout
401 \begin_inset Argument 2
404 \begin_layout Plain Layout
411 \begin_inset Argument 3
414 \begin_layout Plain Layout
421 \begin_inset CommandInset label
423 name "fig:example-figure"
440 \begin_layout Standard
441 \begin_inset Note Greyedout
444 \begin_layout Plain Layout
449 : Multilingual captions cannot be used for longtables.
457 \begin_layout Section
458 Caption Customization
461 \begin_layout Standard
462 The layout of the captions can also be changed using the
467 For example to typeset the caption text sans-serif italic, use the command
470 \begin_layout Standard
476 \begin_layout Standard
477 to make the label bold use
480 \begin_layout Standard
486 \begin_layout Standard
487 To set the font for the text and the label use the command
492 For more information about possible customizations, see the documentation
493 of the \SpecialChar LaTeX
499 \begin_inset CommandInset citation
506 , because the customization options of the package
517 \begin_layout Standard
523 \begin_inset CommandInset ref
525 reference "fig:example-figure-custom"
529 is an example of a figure float with a customized multilingual caption.
532 \begin_layout Caption setup
533 \begin_inset Note Note
536 \begin_layout Plain Layout
541 : This setup does not have an effect in this file as described in the note
547 \begin_inset CommandInset ref
549 reference "sec:Float-List-Customization"
559 \begin_inset Argument 1
562 \begin_layout Plain Layout
569 labelfont=bf, labelsep=newline
570 \begin_inset Note Note
573 \begin_layout Plain Layout
574 The label font should be bold, the label separator is a line break instead
583 \begin_layout Caption setup
584 \begin_inset Argument 1
587 \begin_layout Plain Layout
594 labelfont=bf, labelsep=newline
595 \begin_inset Note Note
598 \begin_layout Plain Layout
599 The first language label font should be bold.
607 \begin_layout Caption setup
608 \begin_inset Argument 1
611 \begin_layout Plain Layout
618 labelfont=bf, textfont={sf,it}, labelsep=newline
619 \begin_inset Note Note
622 \begin_layout Plain Layout
623 The second language caption text should be sans-serif, italic.
631 \begin_layout Standard
632 \begin_inset Float figure
637 \begin_layout Plain Layout
640 \begin_inset Box Boxed
650 height_special "totalheight"
655 backgroundcolor "none"
658 \begin_layout Plain Layout
667 \begin_layout Plain Layout
668 \begin_inset Caption Bicaption
670 \begin_layout Plain Layout
671 \begin_inset Argument 2
674 \begin_layout Plain Layout
675 Customized caption format
682 Angepasstes Beschriftungsformat
685 \begin_inset CommandInset label
687 name "fig:example-figure-custom"
704 \begin_layout Section
705 \begin_inset CommandInset label
707 name "sec:Float-List-Customization"
711 Float List Customization
714 \begin_layout Standard
715 By default the list of figures/tables contain both languages.
716 You can turn off the second language by adding this line to the document
720 \begin_layout Standard
725 PassOptionsToPackage{list=off}{bicaption}
728 \begin_layout Standard
729 It is also possible to have two different lists, one for the document language,
730 one for the second language.
731 This is the case in this file.
732 To split the list one needs to add these lines to the \SpecialChar LaTeX
736 \begin_layout Standard
742 \begin_inset Newline newline
747 DeclareFloatingEnvironment[fileext=lof2]{figureGer}
748 \begin_inset Newline newline
751 [Abbildung][Abbildungsverzeichnis]
752 \begin_inset Newline newline
757 DeclareFloatingEnvironment[fileext=lot2]{tableGer}
758 \begin_inset Newline newline
761 [Tabelle][Tabellenverzeichnis]
762 \begin_inset Newline newline
767 PassOptionsToPackage{listtype+=Ger}{bicaption}
770 \begin_layout Standard
771 This defines two new float type named
784 can be inserted by using the command
787 \begin_layout Standard
795 \begin_layout Standard
798 Here is the German list of figures:
801 \begin_layout Standard
805 \begin_layout Plain Layout
817 \begin_layout Standard
818 \begin_inset VSpace bigskip
824 \begin_layout Standard
825 \begin_inset Note Greyedout
828 \begin_layout Plain Layout
833 : If you are using this feature, the
841 does no longer have any effect.
842 You then need to define everything explicitly for each language using the
859 \begin_layout Standard
860 For more information what can be done with the \SpecialChar LaTeX
865 , have a look at its documentation,
866 \begin_inset CommandInset citation
876 \begin_layout Standard
877 \begin_inset Newpage newpage
883 \begin_layout Standard
885 <lyxtabular version="3" rows="48" columns="2">
886 <features booktabs="true" islongtable="true" headBottomDL="true" lastFootEmpty="true" longtabularalignment="center">
887 <column alignment="center" valignment="top" width="0pt">
888 <column alignment="center" valignment="middle" width="35col%">
889 <row endfirsthead="true" caption="true">
890 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
893 \begin_layout Plain Layout
894 \begin_inset Caption Standard
896 \begin_layout Plain Layout
897 \begin_inset CommandInset label
899 name "tab:List-of-babel"
913 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
916 \begin_layout Plain Layout
923 <row endfirsthead="true">
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" topline="true" bottomline="true" usebox="none">
947 \begin_layout Plain Layout
953 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
956 \begin_layout Plain Layout
964 <cell alignment="center" valignment="top" usebox="none">
967 \begin_layout Plain Layout
973 <cell alignment="center" valignment="top" usebox="none">
976 \begin_layout Plain Layout
980 continued on next page
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" leftline="true" rightline="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" 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
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
1180 english, american, australian, british, canadian, newzealand
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
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
1260 french, canadien, acadian
1267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1270 \begin_layout Plain Layout
1276 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1279 \begin_layout Plain Layout
1287 <cell alignment="center" valignment="top" topline="true" usebox="none">
1290 \begin_layout Plain Layout
1296 <cell alignment="center" valignment="top" topline="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
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
1340 greek, polutonikogreek
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" leftline="true" usebox="none">
1390 \begin_layout Plain Layout
1396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1399 \begin_layout Plain Layout
1407 <cell alignment="center" valignment="top" topline="true" usebox="none">
1410 \begin_layout Plain Layout
1416 <cell alignment="center" valignment="top" topline="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" leftline="true" usebox="none">
1510 \begin_layout Plain Layout
1516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1519 \begin_layout Plain Layout
1527 <cell alignment="center" valignment="top" topline="true" usebox="none">
1530 \begin_layout Plain Layout
1536 <cell alignment="center" valignment="top" topline="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" leftline="true" usebox="none">
1570 \begin_layout Plain Layout
1576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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
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
1620 portuguese, brazilian
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" usebox="none">
1830 \begin_layout Plain Layout
1836 <cell alignment="center" valignment="top" topline="true" usebox="none">
1839 \begin_layout Plain Layout
1847 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1850 \begin_layout Plain Layout
1856 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1859 \begin_layout Plain Layout
1873 \begin_layout Bibliography
1874 \begin_inset CommandInset bibitem
1875 LatexCommand bibitem
1881 Documentation of the \SpecialChar LaTeX
1885 \begin_inset CommandInset href
1888 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/bicaption.pdf"
1896 \begin_layout Bibliography
1897 \begin_inset CommandInset bibitem
1898 LatexCommand bibitem
1904 Documentation of the \SpecialChar LaTeX
1908 \begin_inset CommandInset href
1911 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"