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
55 \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
102 \notefontcolor #0000ff
109 \paragraph_separation indent
110 \paragraph_indentation default
112 \math_numbering_side default
113 \quotes_style english
117 \paperpagestyle default
119 \tracking_changes false
120 \output_changes false
122 \postpone_fragile_content false
125 \html_be_strict false
126 \docbook_table_output 0
127 \docbook_mathml_prefix 1
133 Typesetting Multilingual Captions
140 \begin_layout Standard
141 \begin_inset FloatList figure
148 \begin_layout Section
152 \begin_layout Standard
161 allows to typeset captions in two languages.
162 It requires the \SpecialChar LaTeX
167 which is part of the \SpecialChar LaTeX
182 should be installed too.
185 \begin_layout Standard
186 The first language is the document language,
187 the second one has to be specified using the style
196 This style has an optional argument to define to which language the setup should apply.
197 To change the setup of all captions in the first language,
202 as optional argument,
203 for the second language use
208 for both languages use
215 \begin_layout Standard
216 \begin_inset Note Greyedout
219 \begin_layout Plain Layout
225 If no optional argument is used for
230 the setup will affect all captions in the document,
231 not only the multilingual ones.
239 \begin_layout Standard
240 This document is in English.
241 To set German as the second language one uses the command
244 \begin_layout Standard
250 \begin_layout Standard
261 by the babel name of the language.
262 The list of babel names is given in Table
267 \begin_inset CommandInset ref
269 reference "tab:List-of-babel"
275 The caption labels are automatically translated.
278 \begin_layout Standard
279 To add a multilingual caption to a float,
280 press the right mouse button on the caption that is automatically added when inserting a new float and select
288 ) from the context menu.
289 If no caption is inserted,
290 you can insert the multilingual caption via
292 Insert\SpecialChar menuseparator
293 Caption\SpecialChar menuseparator
297 The caption text in the document language must be inserted in the inset which is inserted in the caption via
299 Insert\SpecialChar menuseparator
303 The caption text in the second language is inserted as normal text in the caption.
306 \begin_layout Standard
307 Short Titles for both languages (for the List of Tables\SpecialChar breakableslash
308 Figures) can be inserted via
310 Insert\SpecialChar menuseparator
311 Main Language Short Title
315 Insert\SpecialChar menuseparator
316 Second Language Short Title.
319 \begin_layout Standard
325 \begin_inset CommandInset ref
327 reference "fig:example-figure"
332 is an example of a figure float with a multilingual caption.
335 \begin_layout Caption setup
336 \begin_inset Argument 1
339 \begin_layout Plain Layout
347 \begin_inset Note Note
350 \begin_layout Plain Layout
351 specify the second language
359 \begin_layout Standard
360 \begin_inset Float figure
367 \begin_layout Plain Layout
370 \begin_inset Box Boxed
380 height_special "totalheight"
385 backgroundcolor "none"
388 \begin_layout Plain Layout
397 \begin_layout Plain Layout
398 \begin_inset Caption Bicaption
400 \begin_layout Plain Layout
401 \begin_inset Argument 1
404 \begin_layout Plain Layout
411 \begin_inset Argument 2
414 \begin_layout Plain Layout
421 \begin_inset Argument 3
424 \begin_layout Plain Layout
431 \begin_inset CommandInset label
433 name "fig:example-figure"
450 \begin_layout Standard
451 \begin_inset Note Greyedout
454 \begin_layout Plain Layout
460 Multilingual captions cannot be used for longtables.
468 \begin_layout Section
469 Caption Customization
472 \begin_layout Standard
473 The layout of the captions can also be changed using the
478 For example to typeset the caption text sans-serif italic,
482 \begin_layout Standard
488 \begin_layout Standard
489 to make the label bold use
492 \begin_layout Standard
498 \begin_layout Standard
499 To set the font for the text and the label use the command
504 For more information about possible customizations,
505 see the documentation of the \SpecialChar LaTeX
512 \begin_inset CommandInset citation
520 because the customization options of the package
531 \begin_layout Standard
537 \begin_inset CommandInset ref
539 reference "fig:example-figure-custom"
544 is an example of a figure float with a customized multilingual caption.
547 \begin_layout Caption setup
548 \begin_inset Note Note
551 \begin_layout Plain Layout
557 This setup does not have an effect in this file as described in the note of section
562 \begin_inset CommandInset ref
564 reference "sec:Float-List-Customization"
575 \begin_inset Argument 1
578 \begin_layout Plain Layout
587 \begin_inset Note Note
590 \begin_layout Plain Layout
591 The label font should be bold,
592 the label separator is a line break instead of a colon.
600 \begin_layout Caption setup
601 \begin_inset Argument 1
604 \begin_layout Plain Layout
613 \begin_inset Note Note
616 \begin_layout Plain Layout
617 The first language label font should be bold.
625 \begin_layout Caption setup
626 \begin_inset Argument 1
629 \begin_layout Plain Layout
639 \begin_inset Note Note
642 \begin_layout Plain Layout
643 The second language caption text should be sans-serif,
652 \begin_layout Standard
653 \begin_inset Float figure
660 \begin_layout Plain Layout
663 \begin_inset Box Boxed
673 height_special "totalheight"
678 backgroundcolor "none"
681 \begin_layout Plain Layout
690 \begin_layout Plain Layout
691 \begin_inset Caption Bicaption
693 \begin_layout Plain Layout
694 \begin_inset Argument 2
697 \begin_layout Plain Layout
698 Customized caption format
705 Angepasstes Beschriftungsformat
708 \begin_inset CommandInset label
710 name "fig:example-figure-custom"
727 \begin_layout Section
728 \begin_inset CommandInset label
730 name "sec:Float-List-Customization"
734 Float List Customization
737 \begin_layout Standard
738 By default the list of figures/tables contain both languages.
739 You can turn off the second language by adding this line to the document preamble:
742 \begin_layout Standard
747 PassOptionsToPackage{list=off}{bicaption}
750 \begin_layout Standard
751 It is also possible to have two different lists,
752 one for the document language,
753 one for the second language.
754 This is the case in this file.
755 To split the list one needs to add these lines to the \SpecialChar LaTeX
759 \begin_layout Standard
765 \begin_inset Newline newline
770 DeclareFloatingEnvironment[fileext=lof2]{figureGer}
771 \begin_inset Newline newline
774 [Abbildung][Abbildungsverzeichnis]
775 \begin_inset Newline newline
780 DeclareFloatingEnvironment[fileext=lot2]{tableGer}
781 \begin_inset Newline newline
784 [Tabelle][Tabellenverzeichnis]
785 \begin_inset Newline newline
790 PassOptionsToPackage{listtype+=Ger}{bicaption}
793 \begin_layout Standard
794 This defines two new float type named
807 can be inserted by using the command
810 \begin_layout Standard
818 \begin_layout Standard
821 Here is the German list of figures:
824 \begin_layout Standard
828 \begin_layout Plain Layout
840 \begin_layout Standard
841 \begin_inset VSpace bigskip
847 \begin_layout Standard
848 \begin_inset Note Greyedout
851 \begin_layout Plain Layout
857 If you are using this feature,
866 does no longer have any effect.
867 You then need to define everything explicitly for each language using the options
883 \begin_layout Standard
884 For more information what can be done with the \SpecialChar LaTeX
890 have a look at its documentation,
892 \begin_inset CommandInset citation
902 \begin_layout Standard
903 \begin_inset Newpage newpage
909 \begin_layout Standard
911 <lyxtabular version="3" rows="48" columns="2">
912 <features booktabs="true" islongtable="true" headBottomDL="true" lastFootEmpty="true" longtabularalignment="center">
913 <column alignment="center" valignment="top" width="0pt">
914 <column alignment="center" valignment="middle" width="35col%">
915 <row endfirsthead="true" caption="true">
916 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
919 \begin_layout Plain Layout
920 \begin_inset Caption Standard
922 \begin_layout Plain Layout
923 \begin_inset CommandInset label
925 name "tab:List-of-babel"
939 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
942 \begin_layout Plain Layout
949 <row endfirsthead="true">
950 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
953 \begin_layout Plain Layout
959 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
962 \begin_layout Plain Layout
970 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
973 \begin_layout Plain Layout
979 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
982 \begin_layout Plain Layout
990 <cell alignment="center" valignment="top" usebox="none">
993 \begin_layout Plain Layout
999 <cell alignment="center" valignment="top" usebox="none">
1002 \begin_layout Plain Layout
1006 continued on next page
1013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1016 \begin_layout Plain Layout
1022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1025 \begin_layout Plain Layout
1033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1036 \begin_layout Plain Layout
1042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1045 \begin_layout Plain Layout
1053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1056 \begin_layout Plain Layout
1062 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1065 \begin_layout Plain Layout
1073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1076 \begin_layout Plain Layout
1082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1085 \begin_layout Plain Layout
1093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1096 \begin_layout Plain Layout
1102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1105 \begin_layout Plain Layout
1113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1116 \begin_layout Plain Layout
1122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1125 \begin_layout Plain Layout
1133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1136 \begin_layout Plain Layout
1142 <cell alignment="center" valignment="top" topline="true" usebox="none">
1145 \begin_layout Plain Layout
1153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1156 \begin_layout Plain Layout
1162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1165 \begin_layout Plain Layout
1173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1176 \begin_layout Plain Layout
1182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1185 \begin_layout Plain Layout
1193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1196 \begin_layout Plain Layout
1202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1205 \begin_layout Plain Layout
1218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1221 \begin_layout Plain Layout
1227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1230 \begin_layout Plain Layout
1238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1241 \begin_layout Plain Layout
1247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1250 \begin_layout Plain Layout
1258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1261 \begin_layout Plain Layout
1267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1270 \begin_layout Plain Layout
1278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1281 \begin_layout Plain Layout
1287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1290 \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" usebox="none">
1323 \begin_layout Plain Layout
1329 <cell alignment="center" valignment="top" topline="true" usebox="none">
1332 \begin_layout Plain Layout
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
1361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1364 \begin_layout Plain Layout
1370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1373 \begin_layout Plain Layout
1382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1385 \begin_layout Plain Layout
1391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1394 \begin_layout Plain Layout
1402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1405 \begin_layout Plain Layout
1411 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1414 \begin_layout Plain Layout
1423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1426 \begin_layout Plain Layout
1432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1435 \begin_layout Plain Layout
1443 <cell alignment="center" valignment="top" topline="true" usebox="none">
1446 \begin_layout Plain Layout
1452 <cell alignment="center" valignment="top" topline="true" usebox="none">
1455 \begin_layout Plain Layout
1463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1466 \begin_layout Plain Layout
1472 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1475 \begin_layout Plain Layout
1483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1486 \begin_layout Plain Layout
1492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1495 \begin_layout Plain Layout
1503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1506 \begin_layout Plain Layout
1512 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1515 \begin_layout Plain Layout
1523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1526 \begin_layout Plain Layout
1532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1535 \begin_layout Plain Layout
1543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1546 \begin_layout Plain Layout
1552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1555 \begin_layout Plain Layout
1563 <cell alignment="center" valignment="top" topline="true" usebox="none">
1566 \begin_layout Plain Layout
1572 <cell alignment="center" valignment="top" topline="true" usebox="none">
1575 \begin_layout Plain Layout
1583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1586 \begin_layout Plain Layout
1592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1595 \begin_layout Plain Layout
1603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1606 \begin_layout Plain Layout
1612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1615 \begin_layout Plain Layout
1624 <cell alignment="center" valignment="top" topline="true" usebox="none">
1627 \begin_layout Plain Layout
1633 <cell alignment="center" valignment="top" topline="true" usebox="none">
1636 \begin_layout Plain Layout
1644 <cell alignment="center" valignment="top" topline="true" usebox="none">
1647 \begin_layout Plain Layout
1653 <cell alignment="center" valignment="top" topline="true" usebox="none">
1656 \begin_layout Plain Layout
1665 <cell alignment="center" valignment="top" topline="true" usebox="none">
1668 \begin_layout Plain Layout
1674 <cell alignment="center" valignment="top" topline="true" usebox="none">
1677 \begin_layout Plain Layout
1685 <cell alignment="center" valignment="top" topline="true" usebox="none">
1688 \begin_layout Plain Layout
1694 <cell alignment="center" valignment="top" topline="true" usebox="none">
1697 \begin_layout Plain Layout
1705 <cell alignment="center" valignment="top" topline="true" usebox="none">
1708 \begin_layout Plain Layout
1714 <cell alignment="center" valignment="top" topline="true" usebox="none">
1717 \begin_layout Plain Layout
1725 <cell alignment="center" valignment="top" topline="true" usebox="none">
1728 \begin_layout Plain Layout
1734 <cell alignment="center" valignment="top" topline="true" usebox="none">
1737 \begin_layout Plain Layout
1745 <cell alignment="center" valignment="top" topline="true" usebox="none">
1748 \begin_layout Plain Layout
1754 <cell alignment="center" valignment="top" topline="true" usebox="none">
1757 \begin_layout Plain Layout
1765 <cell alignment="center" valignment="top" topline="true" usebox="none">
1768 \begin_layout Plain Layout
1774 <cell alignment="center" valignment="top" topline="true" usebox="none">
1777 \begin_layout Plain Layout
1785 <cell alignment="center" valignment="top" topline="true" usebox="none">
1788 \begin_layout Plain Layout
1794 <cell alignment="center" valignment="top" topline="true" usebox="none">
1797 \begin_layout Plain Layout
1805 <cell alignment="center" valignment="top" topline="true" usebox="none">
1808 \begin_layout Plain Layout
1814 <cell alignment="center" valignment="top" topline="true" usebox="none">
1817 \begin_layout Plain Layout
1825 <cell alignment="center" valignment="top" topline="true" usebox="none">
1828 \begin_layout Plain Layout
1834 <cell alignment="center" valignment="top" topline="true" usebox="none">
1837 \begin_layout Plain Layout
1845 <cell alignment="center" valignment="top" topline="true" usebox="none">
1848 \begin_layout Plain Layout
1854 <cell alignment="center" valignment="top" topline="true" usebox="none">
1857 \begin_layout Plain Layout
1865 <cell alignment="center" valignment="top" topline="true" usebox="none">
1868 \begin_layout Plain Layout
1874 <cell alignment="center" valignment="top" topline="true" usebox="none">
1877 \begin_layout Plain Layout
1885 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1888 \begin_layout Plain Layout
1894 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1897 \begin_layout Plain Layout
1911 \begin_layout Bibliography
1912 \begin_inset CommandInset bibitem
1913 LatexCommand bibitem
1919 Documentation of the \SpecialChar LaTeX
1923 \begin_inset CommandInset href
1926 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/bicaption.pdf"
1934 \begin_layout Bibliography
1935 \begin_inset CommandInset bibitem
1936 LatexCommand bibitem
1942 Documentation of the \SpecialChar LaTeX
1946 \begin_inset CommandInset href
1949 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"