]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/MultilingualCaptions.lyx
sweave.lyx: remove ref to previous homepage
[lyx.git] / lib / examples / MultilingualCaptions.lyx
index 6c5fcb78cf470b8828bec16d0b25415ebc524df4..11b171a418a62a282a5bd3c5d27fe29741899b0e 100644 (file)
@@ -1,10 +1,22 @@
-#LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 474
+#LyX 2.3 created this file. For more info see http://www.lyx.org/
+\lyxformat 544
 \begin_document
 \begin_header
+\save_transient_properties true
+\origin /systemlyxdir/examples/
 \textclass scrartcl
 \begin_preamble
-% use this when you only need the document language captions in te list of figures/tables
+% if pdflatex is used
+\usepackage{ifpdf}
+\ifpdf
+
+% set fonts for nicer pdf view
+\IfFileExists{lmodern.sty}
+ {\usepackage{lmodern}}{}
+
+\fi % end if pdflatex is used
+
+% use this when you only need the document language captions in the list of figures/tables
 %\PassOptionsToPackage{list=off}{bicaption}
 
 % all this is only necessary if you want to have a different list of floats for each language
@@ -28,16 +40,18 @@ bicaption
 \language_package default
 \inputencoding auto
 \fontencoding global
-\font_roman default
-\font_sans default
-\font_typewriter default
-\font_math auto
+\font_roman "default" "default"
+\font_sans "default" "default"
+\font_typewriter "default" "default"
+\font_math "auto" "auto"
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\font_sf_scale 100 100
+\font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures false
 \graphics default
 \default_output_format default
 \output_sync 0
@@ -56,19 +70,19 @@ bicaption
 \pdf_colorlinks true
 \pdf_backref false
 \pdf_pdfusetitle true
-\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue"
+\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
 \papersize default
 \use_geometry false
 \use_package amsmath 1
 \use_package amssymb 1
-\use_package cancel 0
+\use_package cancel 1
 \use_package esint 1
 \use_package mathdots 1
-\use_package mathtools 0
+\use_package mathtools 1
 \use_package mhchem 1
-\use_package stackrel 0
-\use_package stmaryrd 0
-\use_package undertilde 0
+\use_package stackrel 1
+\use_package stmaryrd 1
+\use_package undertilde 1
 \cite_engine basic
 \cite_engine_type default
 \biblio_style plain
@@ -87,7 +101,9 @@ bicaption
 \tocdepth 3
 \paragraph_separation skip
 \defskip medskip
-\quotes_language english
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
@@ -96,6 +112,7 @@ bicaption
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict false
+\use_minted 0
 \end_header
 
 \begin_body
@@ -130,11 +147,13 @@ Multilingual
 captions
 \family default
  allows to typeset captions in two languages.
- It requires the LaTeX-package 
+ It requires the \SpecialChar LaTeX
+ package 
 \series bold
 bicaption
 \series default
- which is part of the LaTeX-package 
+ which is part of the \SpecialChar LaTeX
+ package 
 \series bold
 caption
 \series default
@@ -143,7 +162,11 @@ caption
 \series bold
 caption
 \series default
- is installed, bicaption should be installed too.
+ is installed, 
+\series bold
+bicaption
+\series default
+ should be installed too.
 \end_layout
 
 \begin_layout Standard
@@ -217,7 +240,7 @@ Caption setup
 \series bold
 ngerman
 \series default
- by the babel name of your language.
+ by the babel name of the language.
  The list of babel names is given in Table
 \begin_inset space ~
 \end_inset
@@ -238,22 +261,26 @@ To add a multilingual caption to a float, press the right mouse button on
  the caption that is automatically added when inserting a new float and
  select 
 \family sans
-Caption (Bicaption
+Caption
+\begin_inset space ~
+\end_inset
+
+(Bicaption
 \family default
 ) from the context menu.
  If no caption is inserted, you can insert the multilingual caption via
  
 \family sans
-Insert\SpecialChar \menuseparator
-Caption\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+Caption\SpecialChar menuseparator
 Bicaption
 \family default
 .
  The caption text in the document language must be inserted in the inset
  which is inserted in the caption via 
 \family sans
-Insert\SpecialChar \menuseparator
-Main Language Caption Text
+Insert\SpecialChar menuseparator
+Main Language Text
 \family default
 .
  The caption text in the second language is inserted as normal text in the
@@ -261,17 +288,17 @@ Main Language Caption Text
 \end_layout
 
 \begin_layout Standard
-Short Titles for both languages (for the List of Tables\SpecialChar \slash{}
+Short Titles for both languages (for the List of Tables\SpecialChar breakableslash
 Figures) can be inserted
  via 
 \family sans
-Insert\SpecialChar \menuseparator
-Main Language Caption Short Title
+Insert\SpecialChar menuseparator
+Main Language Short Title
 \family default
  and 
 \family sans
-Insert\SpecialChar \menuseparator
-Second Language Caption Short Title.
+Insert\SpecialChar menuseparator
+Second Language Short Title.
 \end_layout
 
 \begin_layout Standard
@@ -332,6 +359,11 @@ width "50col%"
 special "none"
 height "1in"
 height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 \begin_layout Plain Layout
@@ -371,18 +403,12 @@ English Title
 status open
 
 \begin_layout Plain Layout
-
-\lang ngerman
 German short title
 \end_layout
 
 \end_inset
 
-
-\lang ngerman
 German Title
-\lang english
-
 \begin_inset CommandInset label
 LatexCommand label
 name "fig:example-figure"
@@ -409,7 +435,6 @@ status open
 \begin_layout Plain Layout
 
 \series bold
-\color none
 Note
 \series default
 : Multilingual captions cannot be used for longtables.
@@ -456,7 +481,8 @@ font=
 \series default
 .
  For more information about possible customizations, see the documentation
- of the LaTeX-package 
+ of the \SpecialChar LaTeX
+ package 
 \series bold
 caption
 \series default
@@ -464,6 +490,7 @@ caption
 \begin_inset CommandInset citation
 LatexCommand cite
 key "caption"
+literal "true"
 
 \end_inset
 
@@ -534,7 +561,7 @@ labelfont=bf, labelsep=newline
 status collapsed
 
 \begin_layout Plain Layout
-the label font should be bold, the label separator is a line break instead
+The label font should be bold, the label separator is a line break instead
  of a colon.
 \end_layout
 
@@ -558,7 +585,7 @@ labelfont=bf, labelsep=newline
 status collapsed
 
 \begin_layout Plain Layout
-the first language label text should be in bold font
+The first language label font should be bold.
 \end_layout
 
 \end_inset
@@ -581,7 +608,7 @@ labelfont=bf, textfont={sf,it}, labelsep=newline
 status collapsed
 
 \begin_layout Plain Layout
-the second language caption text should be sans-serif italic
+The second language caption text should be sans-serif, italic.
 \end_layout
 
 \end_inset
@@ -609,6 +636,11 @@ width "50col%"
 special "none"
 height "1in"
 height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
 status open
 
 \begin_layout Plain Layout
@@ -685,7 +717,8 @@ PassOptionsToPackage{list=off}{bicaption}
 It is also possible to have two different lists, one for the document language,
  one for the second language.
  This is the case in this file.
- To split the list one needs to add these lines to the document preamble:
+ To split the list one needs to add these lines to the \SpecialChar LaTeX
+ preamble:
 \end_layout
 
 \begin_layout Standard
@@ -748,7 +781,8 @@ listoffigureGeres
 \end_layout
 
 \begin_layout Standard
-as TeX-Code.
+as \SpecialChar TeX
+ code.
  Here is the German list of figures:
 \end_layout
 
@@ -811,7 +845,8 @@ bi-second
 \end_layout
 
 \begin_layout Standard
-For more information what can be done with the LaTeX-package 
+For more information what can be done with the \SpecialChar LaTeX
+ package 
 \series bold
 bicaption
 \series default
@@ -819,6 +854,7 @@ bicaption
 \begin_inset CommandInset citation
 LatexCommand cite
 key "bicaption"
+literal "true"
 
 \end_inset
 
@@ -834,8 +870,8 @@ key "bicaption"
 
 \begin_layout Standard
 \begin_inset Tabular
-<lyxtabular version="3" rows="47" columns="2">
-<features rotate="0" booktabs="true" islongtable="true" headBottomDL="true" lastFootEmpty="true" longtabularalignment="center">
+<lyxtabular version="3" rows="48" columns="2">
+<features booktabs="true" islongtable="true" headBottomDL="true" lastFootEmpty="true" longtabularalignment="center">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="middle" width="35col%">
 <row endfirsthead="true" caption="true">
@@ -1232,6 +1268,26 @@ Galician
 galician
 \end_layout
 
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Georgian
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+georgian
+\end_layout
+
 \end_inset
 </cell>
 </row>
@@ -1620,7 +1676,7 @@ scottish
 \begin_inset Text
 
 \begin_layout Plain Layout
-Spanish
+Serbian
 \end_layout
 
 \end_inset
@@ -1629,7 +1685,7 @@ Spanish
 \begin_inset Text
 
 \begin_layout Plain Layout
-spanish
+serbian
 \end_layout
 
 \end_inset
@@ -1680,7 +1736,7 @@ slovene
 \begin_inset Text
 
 \begin_layout Plain Layout
-Swedish
+Spanish
 \end_layout
 
 \end_inset
@@ -1689,7 +1745,7 @@ Swedish
 \begin_inset Text
 
 \begin_layout Plain Layout
-swedish
+spanish
 \end_layout
 
 \end_inset
@@ -1700,7 +1756,7 @@ swedish
 \begin_inset Text
 
 \begin_layout Plain Layout
-Serbian
+Swedish
 \end_layout
 
 \end_inset
@@ -1709,7 +1765,7 @@ Serbian
 \begin_inset Text
 
 \begin_layout Plain Layout
-serbian
+swedish
 \end_layout
 
 \end_inset
@@ -1806,16 +1862,19 @@ welsh
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "bicaption"
+literal "true"
 
 \end_inset
 
-Documentation of the LaTeX-package 
+Documentation of the \SpecialChar LaTeX
+ package 
 \series bold
 
 \begin_inset CommandInset href
 LatexCommand href
 name "bicaption"
 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/bicaption.pdf"
+literal "false"
 
 \end_inset
 
@@ -1826,16 +1885,19 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/bicaptio
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "caption"
+literal "true"
 
 \end_inset
 
-Documentation of the LaTeX-package 
+Documentation of the \SpecialChar LaTeX
+ package 
 \series bold
 
 \begin_inset CommandInset href
 LatexCommand href
 name "caption"
 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
+literal "false"
 
 \end_inset