]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/MultilingualCaptions.lyx
splash.lyx: link https://www.lyx.org/Walkthrough
[lyx.git] / lib / examples / MultilingualCaptions.lyx
index ffe30b997df822c6b860299a8de5d2352dd034dd..124ce287d601e32792107e642eb3b2f765b88cad 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
@@ -78,6 +92,7 @@ bicaption
 \suppress_date true
 \justification true
 \use_refstyle 1
+\use_minted 0
 \notefontcolor #0000ff
 \index Index
 \shortcut idx
@@ -87,7 +102,10 @@ bicaption
 \tocdepth 3
 \paragraph_separation skip
 \defskip medskip
-\quotes_language english
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
@@ -130,11 +148,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 +163,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 +241,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 +262,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 +289,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
@@ -294,6 +322,7 @@ reference "fig:example-figure"
 status open
 
 \begin_layout Plain Layout
+
 bi-second
 \end_layout
 
@@ -332,6 +361,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 +405,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 +437,6 @@ status open
 \begin_layout Plain Layout
 
 \series bold
-\color none
 Note
 \series default
 : Multilingual captions cannot be used for longtables.
@@ -456,7 +483,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 +492,7 @@ caption
 \begin_inset CommandInset citation
 LatexCommand cite
 key "caption"
+literal "true"
 
 \end_inset
 
@@ -502,7 +531,8 @@ status open
 \series bold
 Note
 \series default
-: This setup does not have an effect in this file as described in section
+: This setup does not have an effect in this file as described in the note
+ of section
 \begin_inset space ~
 \end_inset
 
@@ -523,6 +553,7 @@ reference "sec:Float-List-Customization"
 status open
 
 \begin_layout Plain Layout
+
 bi-both
 \end_layout
 
@@ -533,7 +564,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
 
@@ -547,6 +578,7 @@ the label font should be bold, the label separator is a line break instead
 status open
 
 \begin_layout Plain Layout
+
 bi-first
 \end_layout
 
@@ -557,7 +589,7 @@ labelfont=bf, labelsep=newline
 status collapsed
 
 \begin_layout Plain Layout
-the first language caption text should be sans-serif italic
+The first language label font should be bold.
 \end_layout
 
 \end_inset
@@ -570,6 +602,7 @@ the first language caption text should be sans-serif italic
 status open
 
 \begin_layout Plain Layout
+
 bi-second
 \end_layout
 
@@ -580,7 +613,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
@@ -608,6 +641,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
@@ -684,7 +722,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
@@ -747,7 +786,8 @@ listoffigureGeres
 \end_layout
 
 \begin_layout Standard
-as TeX-Code.
+as \SpecialChar TeX
+ code.
  Here is the German list of figures:
 \end_layout
 
@@ -810,7 +850,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
@@ -818,6 +859,7 @@ bicaption
 \begin_inset CommandInset citation
 LatexCommand cite
 key "bicaption"
+literal "true"
 
 \end_inset
 
@@ -833,8 +875,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">
@@ -1231,6 +1273,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>
@@ -1619,7 +1681,7 @@ scottish
 \begin_inset Text
 
 \begin_layout Plain Layout
-Spanish
+Serbian
 \end_layout
 
 \end_inset
@@ -1628,7 +1690,7 @@ Spanish
 \begin_inset Text
 
 \begin_layout Plain Layout
-spanish
+serbian
 \end_layout
 
 \end_inset
@@ -1679,7 +1741,7 @@ slovene
 \begin_inset Text
 
 \begin_layout Plain Layout
-Swedish
+Spanish
 \end_layout
 
 \end_inset
@@ -1688,7 +1750,7 @@ Swedish
 \begin_inset Text
 
 \begin_layout Plain Layout
-swedish
+spanish
 \end_layout
 
 \end_inset
@@ -1699,7 +1761,7 @@ swedish
 \begin_inset Text
 
 \begin_layout Plain Layout
-Serbian
+Swedish
 \end_layout
 
 \end_inset
@@ -1708,7 +1770,7 @@ Serbian
 \begin_inset Text
 
 \begin_layout Plain Layout
-serbian
+swedish
 \end_layout
 
 \end_inset
@@ -1805,16 +1867,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
 
@@ -1825,16 +1890,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