1 #LyX 2.3 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 \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
95 \notefontcolor #0000ff
102 \paragraph_separation skip
105 \math_numbering_side default
106 \quotes_style english
109 \paperpagestyle default
110 \tracking_changes false
111 \output_changes false
114 \html_be_strict false
121 Typesetting Multilingual Captions
128 \begin_layout Standard
129 \begin_inset FloatList figure
136 \begin_layout Section
140 \begin_layout Standard
149 allows to typeset captions in two languages.
150 It requires the \SpecialChar LaTeX
155 which is part of the \SpecialChar LaTeX
169 should be installed too.
172 \begin_layout Standard
173 The first language is the document language, the second one has to be specified
183 This style has an optional argument to define to which language the setup
185 To change the setup of all captions in the first language, use
189 as optional argument, for the second language use
193 , for both languages use
200 \begin_layout Standard
201 \begin_inset Note Greyedout
204 \begin_layout Plain Layout
209 : If no optional argument is used for
213 , the setup will affect all captions in the document, not only the multilingual
222 \begin_layout Standard
223 This document is in English.
224 To set German as the second language one uses the command
227 \begin_layout Standard
233 \begin_layout Standard
239 For other languages, replace
243 by the babel name of the language.
244 The list of babel names is given in Table
249 \begin_inset CommandInset ref
251 reference "tab:List-of-babel"
256 The caption labels are automatically translated.
259 \begin_layout Standard
260 To add a multilingual caption to a float, press the right mouse button on
261 the caption that is automatically added when inserting a new float and
270 ) from the context menu.
271 If no caption is inserted, you can insert the multilingual caption via
274 Insert\SpecialChar menuseparator
275 Caption\SpecialChar menuseparator
279 The caption text in the document language must be inserted in the inset
280 which is inserted in the caption via
282 Insert\SpecialChar menuseparator
286 The caption text in the second language is inserted as normal text in the
290 \begin_layout Standard
291 Short Titles for both languages (for the List of Tables\SpecialChar breakableslash
292 Figures) can be inserted
295 Insert\SpecialChar menuseparator
296 Main Language Short Title
300 Insert\SpecialChar menuseparator
301 Second Language Short Title.
304 \begin_layout Standard
310 \begin_inset CommandInset ref
312 reference "fig:example-figure"
316 is an example of a figure float with a multilingual caption.
319 \begin_layout Caption setup
320 \begin_inset Argument 1
323 \begin_layout Plain Layout
330 \begin_inset Note Note
333 \begin_layout Plain Layout
334 specify the second language
342 \begin_layout Standard
343 \begin_inset Float figure
348 \begin_layout Plain Layout
351 \begin_inset Box Boxed
361 height_special "totalheight"
366 backgroundcolor "none"
369 \begin_layout Plain Layout
378 \begin_layout Plain Layout
379 \begin_inset Caption Bicaption
381 \begin_layout Plain Layout
382 \begin_inset Argument 1
385 \begin_layout Plain Layout
392 \begin_inset Argument 2
395 \begin_layout Plain Layout
402 \begin_inset Argument 3
405 \begin_layout Plain Layout
412 \begin_inset CommandInset label
414 name "fig:example-figure"
431 \begin_layout Standard
432 \begin_inset Note Greyedout
435 \begin_layout Plain Layout
440 : Multilingual captions cannot be used for longtables.
448 \begin_layout Section
449 Caption Customization
452 \begin_layout Standard
453 The layout of the captions can also be changed using the
458 For example to typeset the caption text sans-serif italic, use the command
461 \begin_layout Standard
467 \begin_layout Standard
468 to make the label bold use
471 \begin_layout Standard
477 \begin_layout Standard
478 To set the font for the text and the label use the command
483 For more information about possible customizations, see the documentation
484 of the \SpecialChar LaTeX
490 \begin_inset CommandInset citation
497 , because the customization options of the package
508 \begin_layout Standard
514 \begin_inset CommandInset ref
516 reference "fig:example-figure-custom"
520 is an example of a figure float with a customized multilingual caption.
523 \begin_layout Caption setup
524 \begin_inset Note Note
527 \begin_layout Plain Layout
532 : This setup does not have an effect in this file as described in the note
538 \begin_inset CommandInset ref
540 reference "sec:Float-List-Customization"
550 \begin_inset Argument 1
553 \begin_layout Plain Layout
559 labelfont=bf, labelsep=newline
560 \begin_inset Note Note
563 \begin_layout Plain Layout
564 The label font should be bold, the label separator is a line break instead
573 \begin_layout Caption setup
574 \begin_inset Argument 1
577 \begin_layout Plain Layout
583 labelfont=bf, labelsep=newline
584 \begin_inset Note Note
587 \begin_layout Plain Layout
588 The first language label font should be bold.
596 \begin_layout Caption setup
597 \begin_inset Argument 1
600 \begin_layout Plain Layout
606 labelfont=bf, textfont={sf,it}, labelsep=newline
607 \begin_inset Note Note
610 \begin_layout Plain Layout
611 The second language caption text should be sans-serif, italic.
619 \begin_layout Standard
620 \begin_inset Float figure
625 \begin_layout Plain Layout
628 \begin_inset Box Boxed
638 height_special "totalheight"
643 backgroundcolor "none"
646 \begin_layout Plain Layout
655 \begin_layout Plain Layout
656 \begin_inset Caption Bicaption
658 \begin_layout Plain Layout
659 \begin_inset Argument 2
662 \begin_layout Plain Layout
663 Customized caption format
670 Angepasstes Beschriftungsformat
673 \begin_inset CommandInset label
675 name "fig:example-figure-custom"
692 \begin_layout Section
693 \begin_inset CommandInset label
695 name "sec:Float-List-Customization"
699 Float List Customization
702 \begin_layout Standard
703 By default the list of figures/tables contain both languages.
704 You can turn off the second language by adding this line to the document
708 \begin_layout Standard
713 PassOptionsToPackage{list=off}{bicaption}
716 \begin_layout Standard
717 It is also possible to have two different lists, one for the document language,
718 one for the second language.
719 This is the case in this file.
720 To split the list one needs to add these lines to the \SpecialChar LaTeX
724 \begin_layout Standard
730 \begin_inset Newline newline
735 DeclareFloatingEnvironment[fileext=lof2]{figureGer}
736 \begin_inset Newline newline
739 [Abbildung][Abbildungsverzeichnis]
740 \begin_inset Newline newline
745 DeclareFloatingEnvironment[fileext=lot2]{tableGer}
746 \begin_inset Newline newline
749 [Tabelle][Tabellenverzeichnis]
750 \begin_inset Newline newline
755 PassOptionsToPackage{listtype+=Ger}{bicaption}
758 \begin_layout Standard
759 This defines two new float type named
772 can be inserted by using the command
775 \begin_layout Standard
783 \begin_layout Standard
786 Here is the German list of figures:
789 \begin_layout Standard
793 \begin_layout Plain Layout
805 \begin_layout Standard
806 \begin_inset VSpace bigskip
812 \begin_layout Standard
813 \begin_inset Note Greyedout
816 \begin_layout Plain Layout
821 : If you are using this feature, the
829 does no longer have any effect.
830 You then need to define everything explicitly for each language using the
847 \begin_layout Standard
848 For more information what can be done with the \SpecialChar LaTeX
853 , have a look at its documentation,
854 \begin_inset CommandInset citation
864 \begin_layout Standard
865 \begin_inset Newpage newpage
871 \begin_layout Standard
873 <lyxtabular version="3" rows="48" columns="2">
874 <features booktabs="true" islongtable="true" headBottomDL="true" lastFootEmpty="true" longtabularalignment="center">
875 <column alignment="center" valignment="top" width="0pt">
876 <column alignment="center" valignment="middle" width="35col%">
877 <row endfirsthead="true" caption="true">
878 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
881 \begin_layout Plain Layout
882 \begin_inset Caption Standard
884 \begin_layout Plain Layout
885 \begin_inset CommandInset label
887 name "tab:List-of-babel"
901 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
904 \begin_layout Plain Layout
911 <row endfirsthead="true">
912 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
915 \begin_layout Plain Layout
921 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
924 \begin_layout Plain Layout
932 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
935 \begin_layout Plain Layout
941 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
944 \begin_layout Plain Layout
952 <cell alignment="center" valignment="top" usebox="none">
955 \begin_layout Plain Layout
961 <cell alignment="center" valignment="top" usebox="none">
964 \begin_layout Plain Layout
968 continued on next page
975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
978 \begin_layout Plain Layout
984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
987 \begin_layout Plain Layout
995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
998 \begin_layout Plain Layout
1004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1007 \begin_layout Plain Layout
1015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1018 \begin_layout Plain Layout
1024 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1027 \begin_layout Plain Layout
1035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1038 \begin_layout Plain Layout
1044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1047 \begin_layout Plain Layout
1055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1058 \begin_layout Plain Layout
1064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1067 \begin_layout Plain Layout
1075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1078 \begin_layout Plain Layout
1084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1087 \begin_layout Plain Layout
1095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1098 \begin_layout Plain Layout
1104 <cell alignment="center" valignment="top" topline="true" usebox="none">
1107 \begin_layout Plain Layout
1115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1118 \begin_layout Plain Layout
1124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1127 \begin_layout Plain Layout
1135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1138 \begin_layout Plain Layout
1144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1147 \begin_layout Plain Layout
1155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1158 \begin_layout Plain Layout
1164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1167 \begin_layout Plain Layout
1168 english, american, australian, british, canadian, newzealand
1175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1178 \begin_layout Plain Layout
1184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1187 \begin_layout Plain Layout
1195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1198 \begin_layout Plain Layout
1204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1207 \begin_layout Plain Layout
1215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1218 \begin_layout Plain Layout
1224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1227 \begin_layout Plain Layout
1235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1238 \begin_layout Plain Layout
1244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1247 \begin_layout Plain Layout
1248 french, canadien, acadian
1255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1258 \begin_layout Plain Layout
1264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1267 \begin_layout Plain Layout
1275 <cell alignment="center" valignment="top" topline="true" usebox="none">
1278 \begin_layout Plain Layout
1284 <cell alignment="center" valignment="top" topline="true" usebox="none">
1287 \begin_layout Plain Layout
1295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1298 \begin_layout Plain Layout
1304 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1307 \begin_layout Plain Layout
1315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1318 \begin_layout Plain Layout
1324 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1327 \begin_layout Plain Layout
1328 greek, polutonikogreek
1335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1338 \begin_layout Plain Layout
1344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1347 \begin_layout Plain Layout
1355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1358 \begin_layout Plain Layout
1364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1367 \begin_layout Plain Layout
1375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1378 \begin_layout Plain Layout
1384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1387 \begin_layout Plain Layout
1395 <cell alignment="center" valignment="top" topline="true" usebox="none">
1398 \begin_layout Plain Layout
1404 <cell alignment="center" valignment="top" topline="true" usebox="none">
1407 \begin_layout Plain Layout
1415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1418 \begin_layout Plain Layout
1424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1427 \begin_layout Plain Layout
1435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1438 \begin_layout Plain Layout
1444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1447 \begin_layout Plain Layout
1455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1458 \begin_layout Plain Layout
1464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1467 \begin_layout Plain Layout
1475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1478 \begin_layout Plain Layout
1484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1487 \begin_layout Plain Layout
1495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1498 \begin_layout Plain Layout
1504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1507 \begin_layout Plain Layout
1515 <cell alignment="center" valignment="top" topline="true" usebox="none">
1518 \begin_layout Plain Layout
1524 <cell alignment="center" valignment="top" topline="true" usebox="none">
1527 \begin_layout Plain Layout
1535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1538 \begin_layout Plain Layout
1544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1547 \begin_layout Plain Layout
1555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1558 \begin_layout Plain Layout
1564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1567 \begin_layout Plain Layout
1575 <cell alignment="center" valignment="top" topline="true" usebox="none">
1578 \begin_layout Plain Layout
1584 <cell alignment="center" valignment="top" topline="true" usebox="none">
1587 \begin_layout Plain Layout
1595 <cell alignment="center" valignment="top" topline="true" usebox="none">
1598 \begin_layout Plain Layout
1604 <cell alignment="center" valignment="top" topline="true" usebox="none">
1607 \begin_layout Plain Layout
1608 portuguese, brazilian
1615 <cell alignment="center" valignment="top" topline="true" usebox="none">
1618 \begin_layout Plain Layout
1624 <cell alignment="center" valignment="top" topline="true" usebox="none">
1627 \begin_layout Plain Layout
1635 <cell alignment="center" valignment="top" topline="true" usebox="none">
1638 \begin_layout Plain Layout
1644 <cell alignment="center" valignment="top" topline="true" usebox="none">
1647 \begin_layout Plain Layout
1655 <cell alignment="center" valignment="top" topline="true" usebox="none">
1658 \begin_layout Plain Layout
1664 <cell alignment="center" valignment="top" topline="true" usebox="none">
1667 \begin_layout Plain Layout
1675 <cell alignment="center" valignment="top" topline="true" usebox="none">
1678 \begin_layout Plain Layout
1684 <cell alignment="center" valignment="top" topline="true" usebox="none">
1687 \begin_layout Plain Layout
1695 <cell alignment="center" valignment="top" topline="true" usebox="none">
1698 \begin_layout Plain Layout
1704 <cell alignment="center" valignment="top" topline="true" usebox="none">
1707 \begin_layout Plain Layout
1715 <cell alignment="center" valignment="top" topline="true" usebox="none">
1718 \begin_layout Plain Layout
1724 <cell alignment="center" valignment="top" topline="true" usebox="none">
1727 \begin_layout Plain Layout
1735 <cell alignment="center" valignment="top" topline="true" usebox="none">
1738 \begin_layout Plain Layout
1744 <cell alignment="center" valignment="top" topline="true" usebox="none">
1747 \begin_layout Plain Layout
1755 <cell alignment="center" valignment="top" topline="true" usebox="none">
1758 \begin_layout Plain Layout
1764 <cell alignment="center" valignment="top" topline="true" usebox="none">
1767 \begin_layout Plain Layout
1775 <cell alignment="center" valignment="top" topline="true" usebox="none">
1778 \begin_layout Plain Layout
1784 <cell alignment="center" valignment="top" topline="true" usebox="none">
1787 \begin_layout Plain Layout
1795 <cell alignment="center" valignment="top" topline="true" usebox="none">
1798 \begin_layout Plain Layout
1804 <cell alignment="center" valignment="top" topline="true" usebox="none">
1807 \begin_layout Plain Layout
1815 <cell alignment="center" valignment="top" topline="true" usebox="none">
1818 \begin_layout Plain Layout
1824 <cell alignment="center" valignment="top" topline="true" usebox="none">
1827 \begin_layout Plain Layout
1835 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1838 \begin_layout Plain Layout
1844 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1847 \begin_layout Plain Layout
1861 \begin_layout Bibliography
1862 \begin_inset CommandInset bibitem
1863 LatexCommand bibitem
1869 Documentation of the \SpecialChar LaTeX
1873 \begin_inset CommandInset href
1876 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/bicaption.pdf"
1884 \begin_layout Bibliography
1885 \begin_inset CommandInset bibitem
1886 LatexCommand bibitem
1892 Documentation of the \SpecialChar LaTeX
1896 \begin_inset CommandInset href
1899 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"