]> git.lyx.org Git - features.git/blobdiff - lib/doc/Customization.lyx
Allow to separate menu string from label string for arguments
[features.git] / lib / doc / Customization.lyx
index 69f70ec019f00218f9a31055524f27921b73e094..e034ea0aa10d4375c9602762744f521f5481bb8b 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 410
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 452
 \begin_document
 \begin_header
 \textclass scrbook
   \pdfbookmark[1]{\contentsname}{}
   \myTOC
   \mainmatter }
-
-% redefine the \LyX macro for PDF bookmarks
-\def\LyX{\texorpdfstring{%
-  L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
-  {LyX}}
-
-% used for multi-column text
-\usepackage{multicol}
 \end_preamble
 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
 \use_default_options false
@@ -46,8 +38,8 @@ logicalmkup
 \end_modules
 \maintain_unincluded_children false
 \begin_local_layout
-Format 7
-InsetLayout CharStyle:MenuItem
+Format 35
+InsetLayout Flex:MenuItem
 LyxType               charstyle
 LabelString           menu
 LatexType             command
@@ -70,18 +62,19 @@ End
 #End
 \end_local_layout
 \language english
+\language_package default
 \inputencoding auto
 \fontencoding global
 \font_roman default
 \font_sans default
 \font_typewriter default
+\font_math auto
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
-
 \graphics default
 \default_output_format default
 \output_sync 0
@@ -106,15 +99,21 @@ End
 \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_amsmath 0
-\use_esint 0
-\use_mhchem 0
-\use_mathdots 1
+\use_package amsmath 0
+\use_package amssymb 0
+\use_package esint 0
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 0
+\use_package undertilde 0
 \cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
 \use_bibtopic false
 \use_indices false
 \paperorientation portrait
 \suppress_date false
+\justification true
 \use_refstyle 0
 \branch OutDated
 \selected 0
@@ -133,10 +132,18 @@ End
 \papercolumns 1
 \papersides 2
 \paperpagestyle headings
-\tracking_changes false
+\tracking_changes true
 \output_changes false
 \html_math_output 0
+\html_css_as_file 0
 \html_be_strict true
+\author -712698321 "Jürgen Spitzmüller" 
+\author -195340706 "Georg Baum" 
+\author 5863208 "ab" 
+\author 155139281 "Jrgen Spitzmller" 
+\author 1082167584 "Kayvan Sylvan" kayvan@sylvan.com
+\author 1414654397 "Richard Heck" 
+\author 2090807402 "usti" 
 \end_header
 
 \begin_body
@@ -229,7 +236,7 @@ on, installing new LaTeX classes and LyX layouts, etc.
 
 \begin_layout Standard
 \begin_inset Branch OutDated
-status open
+status collapsed
 
 \begin_layout Standard
 Information from previous versions of this document that now seems to be
@@ -983,6 +990,40 @@ languages
 \end_inset
 
  this file contains a list of all the languages currently supported by LyX.
+\change_inserted -195340706 1334775793
+
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\change_inserted -195340706 1334775793
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -195340706 1334775793
+layouttranslations
+\end_layout
+
+\end_inset
+
+ this file contains translations for internationalized paragraph styles
+ (see sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:I18n"
+
+\end_inset
+
+).
+\change_unchanged
+
 \end_layout
 
 \begin_layout Section
@@ -1467,6 +1508,43 @@ Edit externally
  in the appearing context menu.
 \end_layout
 
+\begin_layout Standard
+
+\change_inserted -195340706 1329851811
+The 
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+MIME
+\end_layout
+
+\end_inset
+
+ type of a format is optional, but if it is specified, it must be unique
+ across all formats.
+ It is used to detect files of this format from the file contents.
+ For some important file formats there is no MIME type officially registered
+ with the 
+\begin_inset CommandInset href
+LatexCommand href
+name "IANA"
+target "http://www.iana.org/assignments/media-types/"
+
+\end_inset
+
+.
+ Therefore LyX uses the extended list of MIME types as specified by 
+\begin_inset CommandInset href
+LatexCommand href
+name "freedesktop.org"
+target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
+
+\end_inset
+
+.
+\end_layout
+
 \begin_layout Standard
 The 
 \begin_inset Flex MenuItem
@@ -1740,6 +1818,36 @@ $$o
 \end_inset
 
  The output file
+\change_inserted 1082167584 1348453985
+
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\change_inserted 1082167584 1348453986
+$$b The base name (without filename extension) in the LyX temporary directory
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\change_inserted 1082167584 1348453986
+$$p The full directory path of the LyX temporary directory
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\change_inserted 1082167584 1348453986
+$$r The full pathname to the original LyX file being processed
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\change_inserted 1082167584 1348453986
+$$f The filename (without any directory path) of the LyX file.
 \end_layout
 
 \begin_layout Labeling
@@ -1754,6 +1862,8 @@ $$l
 \end_inset
 
  The `LaTeX name'
+\change_inserted 1082167584 1348453720
+
 \end_layout
 
 \begin_layout Standard
@@ -2213,6 +2323,53 @@ status collapsed
 \end_inset
 
  file for the conversion.
+\change_inserted 1414654397 1337693117
+
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\change_inserted 1414654397 1337693188
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted 1414654397 1337693129
+nice
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ Needs a 
+\begin_inset Quotes eld
+\end_inset
+
+nice
+\begin_inset Quotes erd
+\end_inset
+
+ file from the backend, which in practice means a LaTeX file like the one
+ we would export, without 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted 1414654397 1337693184
+input@path
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+.
+\change_unchanged
+
 \end_layout
 
 \begin_layout Labeling
@@ -5267,7 +5424,7 @@ name "cha:Installing-New-Document"
 \end_inset
 
 
-\begin_inset Argument
+\begin_inset Argument 1
 status collapsed
 
 \begin_layout Plain Layout
@@ -6206,6 +6363,98 @@ usly working on actual documents
  syntax errors and the like in your module file could cause strange behavior.
 \end_layout
 
+\begin_layout Subsubsection
+Local Layout
+\end_layout
+
+\begin_layout Standard
+Modules are to LyX as packages are to LaTeX.
+ Sometimes, however, you find yourself wanting a specific inset or character
+ style just for one document and writing a module that will also be available
+ to other documents makes little sense.
+ What you need is LyX's 
+\begin_inset Quotes eld
+\end_inset
+
+Local Layout
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+You will find it under 
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Local Layout
+\family default
+.
+ The large text box allows you to enter anything that you might enter in
+ a layout file or module.
+ You can think of a document's local layout, in fact, as a module that belongs
+ just to it.
+ So, in particular, you must enter a 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Format
+\end_layout
+
+\end_inset
+
+ tag.
+ Any format is acceptable, but one would normally use the format current
+ at the time.
+ (In LyX 2.0, the current layout format is 35.) You should be aware that local
+ layout is not supported by versions of LyX prior to 1.6, so you should not
+ use it if you want to be able to export your document to LyX 1.5 or earlier
+ (without, that is, losing the local layout information).
+ If you wish to be able to export to 1.6---local layout is supported in 1.6,
+ though there is no UI for it---then you should use format 11 and, of course,
+ use only layout constructs that were available in LyX 1.6.
+\end_layout
+
+\begin_layout Standard
+When you have entered something in the 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Local Layout
+\end_layout
+
+\end_inset
+
+ pane, LyX will enable the 
+\begin_inset Quotes eld
+\end_inset
+
+Validate
+\begin_inset Quotes erd
+\end_inset
+
+ button at the bottom.
+ Clicking this button will cause LyX to determine whether what you have
+ entered is valid layout information for the chosen format.
+ LyX will report the result but, unfortunately, will not tell you what errors
+ there might have been.
+ These will be written to the terminal, however, if LyX is started from
+ a terminal.
+ You will not be permitted to save your local layout until you have entered
+ something valid.
+\end_layout
+
+\begin_layout Standard
+The warnings at the end of the previous section apply here, too.
+ Do not play with local layout while you are actually working, especially
+ if you have not saved your document.
+ That said, using local layout with a test document can be a very convenient
+ way to try out layout ideas, or even to start developing a module.
+\end_layout
+
 \begin_layout Subsection
 Layout for 
 \begin_inset Flex MenuItem
@@ -6519,7 +6768,7 @@ DeclareLyXModule{My Package}
 \end_layout
 
 \begin_layout LyX-Code
-#DescriptionEnd 
+#DescriptionEnd
 \begin_inset Newline newline
 \end_inset
 
@@ -6988,6 +7237,10 @@ default
 
 \begin_layout Subsection
 The document class declaration
+\change_inserted -712698321 1349766602
+ and classification
+\change_unchanged
+
 \end_layout
 
 \begin_layout Standard
@@ -7013,7 +7266,15 @@ status collapsed
 
 \end_inset
 
- files should begin with a line like:
+ files should begin with 
+\change_deleted -712698321 1349766533
+a 
+\change_unchanged
+line
+\change_inserted -712698321 1349766536
+s
+\change_unchanged
+ like:
 \end_layout
 
 \begin_layout LyX-Code
@@ -7027,11 +7288,45 @@ status collapsed
 \size small
 #  
 \backslash
-DeclareLaTeXClass{article}
+DeclareLaTeXClass{
+\change_deleted -712698321 1349766193
+article
+\change_inserted -712698321 1349766201
+Article (Standard Class)
+\change_unchanged
+}
+\change_inserted -712698321 1349766538
+
+\end_layout
+
+\begin_layout LyX-Code
+
+\change_inserted -712698321 1349766581
+
+\size small
+#  
+\backslash
+DeclareCategory{Articles}
+\change_unchanged
+
 \end_layout
 
 \begin_layout Standard
-The second line is used when you (re)configure LyX.
+The second 
+\change_inserted -712698321 1349766695
+and third 
+\change_unchanged
+line
+\change_inserted -712698321 1349766626
+s
+\change_unchanged
+\change_deleted -712698321 1349766628
+is
+\change_inserted -712698321 1349766628
+are
+\change_unchanged
+ used when you (re)configure LyX.
  The layout file is read by the LaTeX script 
 \begin_inset Flex Code
 status collapsed
@@ -7053,8 +7348,19 @@ status collapsed
 \end_inset
 
  is ignored.
- The first line is just a LaTeX comment, and the second one contains the
- declaration of the text class.
+ The first line is just a LaTeX comment, 
+\change_deleted -712698321 1349766656
+and 
+\change_unchanged
+the second one contains the 
+\change_inserted -712698321 1349766650
+mandatory 
+\change_unchanged
+declaration of the text class
+\change_inserted -712698321 1349766689
+, and the third line contains the optional classification of the class
+\change_unchanged
+.
  If these lines appear in a file named 
 \begin_inset Flex Code
 status collapsed
@@ -7090,7 +7396,13 @@ article.cls
 \begin_inset Quotes eld
 \end_inset
 
+
+\change_deleted -712698321 1349766253
 article
+\change_inserted -712698321 1349766260
+Article (Standard Class)
+\change_unchanged
+
 \begin_inset Quotes erd
 \end_inset
 
@@ -7106,6 +7418,90 @@ Settings
 \end_inset
 
  dialog.
+
+\change_inserted -712698321 1349767097
+ The category (
+\begin_inset Quotes eld
+\end_inset
+
+Articles
+\begin_inset Quotes erd
+\end_inset
+
+ in the example) is also used in the 
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1349766801
+Document\SpecialChar \menuseparator
+Settings
+\end_layout
+
+\end_inset
+
+ dialog: the text classes are grouped by these categories (which are usually
+ genres, so typical categories are 
+\begin_inset Quotes eld
+\end_inset
+
+Articles
+\begin_inset Quotes erd
+\end_inset
+
+, 
+\begin_inset Quotes eld
+\end_inset
+
+Books
+\begin_inset Quotes erd
+\end_inset
+
+, 
+\begin_inset Quotes eld
+\end_inset
+
+Reports
+\begin_inset Quotes erd
+\end_inset
+
+, 
+\begin_inset Quotes eld
+\end_inset
+
+Letters
+\begin_inset Quotes erd
+\end_inset
+
+, 
+\begin_inset Quotes eld
+\end_inset
+
+Presentations
+\begin_inset Quotes erd
+\end_inset
+
+, 
+\begin_inset Quotes eld
+\end_inset
+
+Curricula Vitae
+\begin_inset Quotes erd
+\end_inset
+
+ etc.).
+ If no category has been declared, the class will be put in the 
+\begin_inset Quotes eld
+\end_inset
+
+Uncategorized
+\begin_inset Quotes erd
+\end_inset
+
+ group.
+\change_unchanged
+
 \end_layout
 
 \begin_layout Standard
@@ -7144,12 +7540,50 @@ myarticle.layout
 \size small
 #  
 \backslash
-DeclareLaTeXClass[article]{article (with my own headings)}
+DeclareLaTeXClass[article]{
+\change_deleted -712698321 1349766303
+a
+\change_inserted -712698321 1349766303
+A
+\change_unchanged
+rticle (with 
+\change_deleted -712698321 1349766338
+m
+\change_inserted -712698321 1349766338
+M
+\change_unchanged
+y 
+\change_deleted -712698321 1349766340
+o
+\change_inserted -712698321 1349766340
+O
+\change_unchanged
+wn 
+\change_deleted -712698321 1349766343
+h
+\change_inserted -712698321 1349766343
+H
+\change_unchanged
+eadings)}
+\change_inserted -712698321 1349767223
+
 \end_layout
 
-\begin_layout Standard
-This declares a text class 
-\begin_inset Flex Code
+\begin_layout LyX-Code
+
+\change_inserted -712698321 1349767223
+
+\size small
+#  
+\backslash
+DeclareCategory{Articles}
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+This declares a text class 
+\begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
@@ -7172,7 +7606,31 @@ article.cls
 \begin_inset Quotes eld
 \end_inset
 
-article (with my own headings)
+
+\change_deleted -712698321 1349766329
+a
+\change_inserted -712698321 1349766329
+A
+\change_unchanged
+rticle (with 
+\change_deleted -712698321 1349766347
+m
+\change_inserted -712698321 1349766347
+M
+\change_unchanged
+y 
+\change_deleted -712698321 1349766350
+o
+\change_inserted -712698321 1349766350
+O
+\change_unchanged
+wn 
+\change_deleted -712698321 1349766352
+h
+\change_inserted -712698321 1349766352
+H
+\change_unchanged
+eadings)
 \begin_inset Quotes erd
 \end_inset
 
@@ -7191,7 +7649,45 @@ article (with my own headings)
 \size small
 #  
 \backslash
-DeclareLaTeXClass[article,foo.sty]{article (with my own headings)}
+DeclareLaTeXClass[article,foo.sty]{
+\change_deleted -712698321 1349766366
+a
+\change_inserted -712698321 1349766366
+A
+\change_unchanged
+rticle (with 
+\change_deleted -712698321 1349766369
+m
+\change_inserted -712698321 1349766369
+M
+\change_unchanged
+y 
+\change_deleted -712698321 1349766371
+o
+\change_inserted -712698321 1349766371
+O
+\change_unchanged
+wn 
+\change_deleted -712698321 1349766374
+h
+\change_inserted -712698321 1349766374
+H
+\change_unchanged
+eadings)}
+\change_inserted -712698321 1349767240
+
+\end_layout
+
+\begin_layout LyX-Code
+
+\change_inserted -712698321 1349767240
+
+\size small
+#  
+\backslash
+DeclareCategory{Articles}
+\change_unchanged
+
 \end_layout
 
 \begin_layout Standard
@@ -7221,7 +7717,27 @@ foo.sty
 \size small
 # 
 \backslash
-DeclareDocBookClass[article]{SGML (DocBook article)}
+DeclareDocBookClass[article]{SGML (DocBook 
+\change_deleted -712698321 1349766387
+a
+\change_inserted -712698321 1349766387
+A
+\change_unchanged
+rticle)}
+\change_inserted -712698321 1349767247
+
+\end_layout
+
+\begin_layout LyX-Code
+
+\change_inserted -712698321 1349767302
+
+\size small
+# 
+\backslash
+DeclareCategory{Articles (DocBook)}
+\change_unchanged
+
 \end_layout
 
 \begin_layout Standard
@@ -7239,6 +7755,20 @@ So, to be as explicit as possible, the form of the layout declaration is:
 #  
 \backslash
 DeclareLaTeXClass[class,package.sty]{layout description}
+\change_inserted -712698321 1349767329
+
+\end_layout
+
+\begin_layout LyX-Code
+
+\change_inserted -712698321 1349767339
+
+\size small
+#  
+\backslash
+DeclareCategory{category}
+\change_unchanged
+
 \end_layout
 
 \begin_layout Standard
@@ -7402,7 +7932,8 @@ status collapsed
 
 \begin_layout Plain Layout
 Document\SpecialChar \menuseparator
-Settings
+Settings\SpecialChar \menuseparator
+Modules
 \end_layout
 
 \end_inset
@@ -7457,7 +7988,19 @@ to
 \end_layout
 
 \begin_layout Standard
-The module declaration should then be followed by lines like the following:
+The module declaration should then be followed by lines like the following
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Preferably in English if the module should be published with LyX.
+ This description will appear in the list of messages to be translated and
+ will be thus translated with the next interface update.
+\end_layout
+
+\end_inset
+
+:
 \end_layout
 
 \begin_layout LyX-Code
@@ -7499,7 +8042,8 @@ status collapsed
 
 \begin_layout Plain Layout
 Document\SpecialChar \menuseparator
-Settings
+Settings\SpecialChar \menuseparator
+Modules
 \end_layout
 
 \end_inset
@@ -7578,7 +8122,7 @@ somemodule.module
 \end_layout
 
 \begin_layout Subsection
-File format
+Format number
 \end_layout
 
 \begin_layout Standard
@@ -7705,6 +8249,57 @@ EndPreamble
 \end_inset
 
 
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+AddToHTMLStyles
+\end_layout
+
+\end_inset
+
+ Adds CSS styling information.
+ This will either be output in a 
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+<style>
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+ block or, if the user has so chosen, to a separate CSS file.Must end with
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+EndStyles
+\end_layout
+
+\end_inset
+
+
 \begin_inset Quotes erd
 \end_inset
 
@@ -8223,6 +8818,88 @@ EndPreamble
 \end_inset
 
 
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+HTMLStyles
+\end_layout
+
+\end_inset
+
+ Sets CSS styling information.
+ This will either be output in a 
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+<style>
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+ block or, if the user has so chosen, to a separate CSS file.
+ Note that this will completely override any prior 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+HTMLStyles
+\end_layout
+
+\end_inset
+
+ or 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+AddToHTMLStyles
+\end_layout
+
+\end_inset
+
+ declarations.
+ (Use 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+AddToHTMLStyles
+\end_layout
+
+\end_inset
+
+ if you just want to add material.) Must end with 
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+EndStyles
+\end_layout
+
+\end_inset
+
+
 \begin_inset Quotes erd
 \end_inset
 
@@ -9455,7 +10132,7 @@ A paragraph style description looks like this:
 status collapsed
 
 \begin_layout Plain Layout
-Note that this will either define a new layout or modify an existing one.
+Note that this will either define a new style or modify an existing one.
 \end_layout
 
 \end_inset
@@ -9537,348 +10214,476 @@ block
  (Some LaTeX styles prohibit certain alignments, since those wouldn't make
  sense.
  For example a right-aligned or centered enumeration isn't possible.)
+\change_inserted -712698321 1353679769
+
 \end_layout
 
 \begin_layout Description
+
+\change_inserted -712698321 1353680268
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-BabelPreamble
+
+\change_inserted -712698321 1353679781
+Argument
 \end_layout
 
 \end_inset
 
- Note that this will completely override any prior 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-BabelPreamble
-\end_layout
 
-\end_inset
+\change_inserted -712698321 1353679772
+int
+\end_layout
 
- declaration for this style.
- Must end with 
-\begin_inset Quotes eld
 \end_inset
 
-
+] Defines argument number <int> of a command\SpecialChar \slash{}
+environment associated with
+ the current style.
+ This is useful for things like section headings, and only makes sense with
+ LaTeX.
+ Every (optional or required) argument of a command or environment -- except
+ for the required argument that is associated with the content of the paragraph
+ itself -- has a separate definition, where the number specifies the order
+ of the arguments.
+ The definition must end with 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-EndBabelPreamble
-\end_layout
-
-\end_inset
 
+\change_inserted -712698321 1353680069
+EndArgument
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
 .
- See section 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:I18n"
+ So a command with two optional arguments has:
+\end_layout
 
-\end_inset
+\begin_deeper
+\begin_layout Quote
 
- for details on its use.
+\change_inserted -712698321 1353680127
+
+\family typewriter
+Argument 1
 \end_layout
 
-\begin_layout Description
-\begin_inset Flex Code
-status collapsed
+\begin_layout Quote
 
-\begin_layout Plain Layout
-BottomSep
+\change_inserted -712698321 1353680195
+
+\family typewriter
+...
 \end_layout
 
-\end_inset
+\begin_layout Quote
 
- [
-\begin_inset Flex Code
-status collapsed
+\change_inserted -712698321 1353680135
 
-\begin_layout Plain Layout
-float=0
+\family typewriter
+EndArgument
 \end_layout
 
-\end_inset
+\begin_layout Quote
 
-]
-\begin_inset Foot
-status collapsed
+\change_inserted -712698321 1353680140
 
-\begin_layout Plain Layout
-Note that a `float' here is a real number, such as: 1.5.
+\family typewriter
+Argument 2
 \end_layout
 
-\end_inset
+\begin_layout Quote
 
- The vertical space with which the last of a chain of paragraphs with this
- layout is separated from the following paragraph.
- If the next paragraph has another layout, the separations are not simply
- added, but the maximum is taken.
+\change_inserted -712698321 1353680197
+
+\family typewriter
+...
 \end_layout
 
-\begin_layout Description
-\begin_inset Flex Code
-status collapsed
+\begin_layout Quote
 
-\begin_layout Plain Layout
-Category
+\change_inserted -712698321 1353680147
+
+\family typewriter
+EndArgument
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
+\change_inserted -712698321 1353680528
+Inside the 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-[string]
+
+\change_inserted -712698321 1353680412
+Argument
 \end_layout
 
 \end_inset
 
- The category for this style.
- This is used to group related styles in the Layout combobox on the toolbar.
- Any string can be used, but you may want to use existing categories with
- your own styles.
+ definition, the following specifications are possible:
 \end_layout
 
-\begin_layout Description
+\begin_layout Itemize
+
+\change_inserted -712698321 1355076779
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-CommandDepth
+
+\change_inserted -712698321 1353680543
+LabelString
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
- Depth of XML command.
- Used only with XML-type formats.
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353680567
+[string]
 \end_layout
 
-\begin_layout Description
+\end_inset
+
+ The string that will appear both in the menu (to insert this argument)
+ and on the argument inset button (unless you also specify a separate 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-CopyStyle
+
+\change_inserted -712698321 1355076779
+MenuString
 \end_layout
 
 \end_inset
 
-\begin_inset CommandInset label
-LatexCommand label
-name "des:CopyStyle"
+).
+ For the menu, you can define an accelerator by appending the respective
+ character to the string, divided by 
+\begin_inset Quotes eld
+\end_inset
 
+|
+\begin_inset Quotes erd
 \end_inset
 
+ (e.
+\begin_inset space \thinspace{}
+\end_inset
 
+g.
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-[string]
+
+\change_inserted -712698321 1353691482
+\begin_inset Quotes eld
+\end_inset
+
+Short Title|S
+\begin_inset Quotes erd
+\end_inset
+
+
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
- Copies all the features of an existing style into the current one.
+).
 \end_layout
 
-\begin_layout Description
+\begin_layout Itemize
+
+\change_inserted -712698321 1355076754
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-DependsOn
+
+\change_inserted -712698321 1355076658
+MenuString
 \end_layout
 
 \end_inset
 
- The name of a style whose preamble should be output 
-\emph on
-before
-\emph default
- this one.
- This allows to ensure some ordering of the preamble snippets when macros
- definitions depend on one another.
-\begin_inset Foot
+\begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Note that, besides that functionality, there is no way to ensure any ordering
- of preambles.
- The ordering that you see in a given version of LyX may change without
- warning in later versions.
+
+\change_inserted -712698321 1355076654
+[string]
 \end_layout
 
 \end_inset
 
+ A separate string for the menu.
+ You can define an accelerator by appending the respective character to
+ the string, divided by 
+\begin_inset Quotes eld
+\end_inset
 
-\end_layout
+|
+\begin_inset Quotes erd
+\end_inset
 
-\begin_layout Description
+ (e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-EndLabeltype
+
+\change_inserted -712698321 1355076654
+\begin_inset Quotes eld
+\end_inset
+
+Short Title|S
+\begin_inset Quotes erd
+\end_inset
+
+
 \end_layout
 
 \end_inset
 
- [
+).
+ This specification is optional.
+ If it is not given the 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
-\emph on
-No_Label
-\emph default
-, Box, Filled_Box, Static
+\change_inserted -712698321 1355076736
+LabelString
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
-] The type of label that stands at the end of the paragraph (or sequence
- of paragraphs if 
+ will be used instead for the menu.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1353680665
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LatexType
+
+\change_inserted -712698321 1353680616
+Tooltip
 \end_layout
 
 \end_inset
 
- is 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Environment
+
+\change_inserted -712698321 1353680623
+[string]
 \end_layout
 
 \end_inset
 
-, 
+ A longer explanatory text that appears in the tooltip when hovering over
+ the argument inset.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1353680874
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Item_Environment
+
+\change_inserted -712698321 1353680732
+Mandatory
 \end_layout
 
 \end_inset
 
- or 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-List_Environment
+
+\change_inserted -712698321 1353680738
+[int=0]
 \end_layout
 
 \end_inset
 
-).
+ Declare if this is a mandatory 
+\change_inserted 2090807402 1353765594
+(1) 
+\change_inserted -712698321 1353680874
+or an optional 
+\change_inserted 2090807402 1353765599
+(0) 
+\change_inserted -712698321 1353680874
+argument.
+ Mandatory arguments will be output empty if not given, while optional arguments
+ will not be output at all.
+ By default, mandatory arguments are delimited by 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-No_Label
+
+\change_inserted -712698321 1353680808
+{...}
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
- means 
-\begin_inset Quotes eld
-\end_inset
+, while optional arguments are delimited by 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353680833
+[...]
+\end_layout
 
-nothing
-\begin_inset Quotes erd
 \end_inset
 
-, 
+
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1353917199
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Box
+
+\change_inserted -712698321 1353680879
+Requires
 \end_layout
 
 \end_inset
 
- (resp.
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-\begin_inset space ~
-\end_inset
 
-Filled_Box
+\change_inserted -712698321 1353680874
+[int=0]
 \end_layout
 
 \end_inset
 
-) is a white (resp.
-\begin_inset space ~
+ defines another argument (by its number) which this argument requires to
+ be output if it is itself output.
+ E.
+\begin_inset space \thinspace{}
 \end_inset
 
-black) square suitable for end of proof markers, 
+g., in LaTeX commands, optional arguments often require previous optional
+ arguments to be output (at least empty), as in 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Static
-\end_layout
 
-\end_inset
+\change_inserted -712698321 1353688183
+
+\backslash
+command[][arg]{text}
+\change_unchanged
 
- is an explicit text string.
 \end_layout
 
-\begin_layout Description
+\end_inset
+
+.
+ This can be achieved by the statement 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-EndLabelString
+
+\change_inserted -712698321 1353681031
+Requires 1
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
- [
+ within 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string=""
+
+\change_inserted -712698321 1353681045
+Argument 2
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
-] The string used for a label with a 
+.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1354263104
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Static
+
+\change_inserted -712698321 1353681072
+LeftDelim
+\change_unchanged
+
 \end_layout
 
 \end_inset
@@ -9888,142 +10693,142 @@ Static
 status collapsed
 
 \begin_layout Plain Layout
-EndLabelType
+
+\change_inserted -712698321 1353681067
+[string]
 \end_layout
 
 \end_inset
 
-.
-\end_layout
-
-\begin_layout Description
+ defines a custom left delimiter (instead of 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Fill_Bottom
+
+\change_inserted -712698321 1353681127
+{
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
- [
+ or 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
-\emph on
-0
-\emph default
-,1
+\change_inserted -712698321 1353681133
+[
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
-] Similar to 
+).
+ A line break in the output can be indicated by 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Fill_Top
+
+\change_inserted -712698321 1354263104
+<br/>
 \end_layout
 
 \end_inset
 
 .
+\change_unchanged
+
 \end_layout
 
-\begin_layout Description
+\begin_layout Itemize
+
+\change_inserted -712698321 1354263106
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Fill_Top
+
+\change_inserted -712698321 1353681149
+RightDelim
 \end_layout
 
 \end_inset
 
- [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
-\emph on
-0
-\emph default
-,1
+\change_inserted -712698321 1353681146
+[string]
 \end_layout
 
 \end_inset
 
-] With this parameter the 
-\begin_inset Flex MenuItem
+ defines a custom right delimiter (instead of 
+\begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Fill
-\end_layout
 
-\end_inset
-
- value of the 
-\begin_inset Quotes eld
-\end_inset
+\change_inserted -712698321 1353681158
+}
+\end_layout
 
-Vertical space above
-\begin_inset Quotes erd
 \end_inset
 
- list of the 
-\begin_inset Flex MenuItem
+ or 
+\begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Edit\SpecialChar \menuseparator
-Paragraph
-\begin_inset space ~
-\end_inset
 
-Settings
+\change_inserted -712698321 1353681161
+]
 \end_layout
 
 \end_inset
 
- dialog can be set when initializing a paragraph with this style.
-\begin_inset Foot
+).
+ A line break in the output can be indicated by 
+\begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
-\emph on
-Note from Jean-Marc:
-\emph default
- I'm not sure that this setting has much use, and it should probably be
- removed in later versions.
+\change_inserted -712698321 1354263106
+<br/>
 \end_layout
 
 \end_inset
 
+.
+\change_unchanged
+
 \end_layout
 
-\begin_layout Description
+\begin_layout Itemize
+
+\change_inserted -712698321 1353917320
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
+
+\change_inserted -712698321 1353917320
 Font
 \end_layout
 
 \end_inset
 
- The font used for both the text body 
-\emph on
-and
-\emph default
- the label.
+ The font used for the argument content.
  See section
 \begin_inset space ~
 \end_inset
@@ -10036,55 +10841,59 @@ reference "sub:Font-description"
 \end_inset
 
 .
- Note that defining this font automatically defines the 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-LabelFont
 \end_layout
 
-\end_inset
+\begin_layout Itemize
 
- to the same value.
- So you should define this one first if you also want to define 
+\change_inserted -712698321 1353917320
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
+
+\change_inserted -712698321 1353917320
 LabelFont
 \end_layout
 
+\end_inset
+
+ The font used for the label.
+ See section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Font-description"
+
 \end_inset
 
 .
 \end_layout
 
-\begin_layout Description
+\begin_layout Itemize
+
+\change_inserted -712698321 1353917320
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-FreeSpacing
-\end_layout
-
-\end_inset
 
-\begin_inset CommandInset label
-LatexCommand label
-name "des:FreeSpacing"
+\change_inserted -712698321 1353917320
+Decoration
+\end_layout
 
 \end_inset
 
-[
+ can be 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
-\emph on
-0
+\change_inserted -712698321 1353917320
+Classic
 \end_layout
 
 \end_inset
@@ -10094,163 +10903,165 @@ status collapsed
 status collapsed
 
 \begin_layout Plain Layout
-1
+
+\change_inserted -712698321 1353917320
+Minimalistic
 \end_layout
 
 \end_inset
 
-] Usually LyX doesn't allow you to insert more than one space between words,
- since a space is considered as the separation between two words, not a
- character or symbol of its own.
- This is a very fine thing but sometimes annoying, for example, when typing
- program code or plain LaTeX code.
- For this reason, 
+, or 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-FreeSpacing
+
+\change_inserted -712698321 1353917320
+Conglomerate
 \end_layout
 
 \end_inset
 
- can be enabled.
- Note that LyX will create protected blanks for the additional blanks when
- in another mode than LaTeX-mode.
-\end_layout
-
-\begin_layout Description
+, describing the rendering style used for the inset's frame and buttons.
+ Default is 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-HTML*
-\end_layout
-
-\end_inset
 
- These tags are used with XHTML output.
- See 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Paragraph-Style-XHTML"
+\change_inserted -712698321 1353917320
+Classic
+\end_layout
 
 \end_inset
 
 .
+\change_inserted 155139281 1354198988
+
 \end_layout
 
-\begin_layout Description
+\begin_layout Standard
+
+\change_inserted 155139281 1354199102
+Arguments for list 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-InnerTag
-\end_layout
 
-\end_inset
-
- [[FIXME]] (Used only with XML-type formats.)
-\end_layout
+\change_inserted 155139281 1354199013
 
-\begin_layout Description
-\begin_inset Flex Code
-status collapsed
+\backslash
+item
+\change_unchanged
 
-\begin_layout Plain Layout
-InPreamble
 \end_layout
 
 \end_inset
 
+s (as in 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-[1, 0]
-\end_layout
 
-\end_inset
+\change_inserted 155139281 1354199102
 
- If 1, marks the layout as to be included in the document preamble rather
- than in the document body.
- This is useful for document classes that want such information as the title
- and author to appear in the preamble.
- Note that this works only for layouts for which the 
-\begin_inset Flex Code
-status collapsed
+\backslash
+item[foo]
+\change_unchanged
 
-\begin_layout Plain Layout
-LatexType
 \end_layout
 
 \end_inset
 
- is 
+) have the prefix 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Command
+
+\change_inserted 155139281 1354199044
+item:
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
- or 
+ followed by the number (e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Paragraph
+
+\change_inserted 155139281 1354199064
+Argument item:1
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
-.
+)
+\change_unchanged
+
 \end_layout
 
+\end_deeper
 \begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-InTitle
+BabelPreamble
 \end_layout
 
 \end_inset
 
+ Note that this will completely override any prior 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-[1, 0]
+BabelPreamble
 \end_layout
 
 \end_inset
 
- If 1, marks the layout as being part of a title block (see also the 
+ declaration for this style.
+ Must end with 
+\begin_inset Quotes eld
+\end_inset
+
+
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-TitleLatexType
+EndBabelPreamble
 \end_layout
 
 \end_inset
 
- and 
-\begin_inset Flex Code
-status collapsed
 
-\begin_layout Plain Layout
-TitleLatexName
-\end_layout
+\begin_inset Quotes erd
+\end_inset
+
+.
+ See section 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:I18n"
 
 \end_inset
 
global entries).
for details on its use.
 \end_layout
 
 \begin_layout Description
@@ -10258,7 +11069,7 @@ TitleLatexName
 status collapsed
 
 \begin_layout Plain Layout
-ItemSep
+BottomSep
 \end_layout
 
 \end_inset
@@ -10273,34 +11084,47 @@ float=0
 
 \end_inset
 
-] This provides extra space between paragraphs that have the same layout.
- If you put other layouts into an environment, each is separated with the
- environment's 
+]
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Note that a `float' here is a real number, such as: 1.5.
+\end_layout
+
+\end_inset
+
+ The vertical space with which the last of a chain of paragraphs with this
+ style is separated from the following paragraph.
+ If the next paragraph has another style, the separations are not simply
+ added, but the maximum is taken.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Parsep
+Category
 \end_layout
 
 \end_inset
 
-.
- But the whole items of the environment are additionally separated with
- this 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Itemsep
+[string]
 \end_layout
 
 \end_inset
 
-.
- Note that this is a
-\emph on
- multiplier.
+ The category for this style.
+ This is used to group related styles in the style combobox on the toolbar.
+ Any string can be used, but you may want to use existing categories with
+ your own styles.
 \end_layout
 
 \begin_layout Description
@@ -10308,12 +11132,13 @@ Itemsep
 status collapsed
 
 \begin_layout Plain Layout
-ItemTag
+CommandDepth
 \end_layout
 
 \end_inset
 
- [[FIXME]] (Used only with XML-type formats.)
+ Depth of XML command.
+ Used only with XML-type formats.
 \end_layout
 
 \begin_layout Description
@@ -10321,46 +11146,55 @@ ItemTag
 status collapsed
 
 \begin_layout Plain Layout
-KeepEmpty
+CopyStyle
 \end_layout
 
 \end_inset
 
  
-\begin_inset CommandInset label
-LatexCommand label
-name "des:KeepEmpty"
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+[string]
+\end_layout
 
 \end_inset
 
-[
+ Copies all the features of an existing style into the current one.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\emph on
-0
+DependsOn
 \end_layout
 
 \end_inset
 
-, 
-\begin_inset Flex Code
+ The name of a style whose preamble should be output 
+\emph on
+before
+\emph default
+ this one.
+ This allows to ensure some ordering of the preamble snippets when macros
+ definitions depend on one another.
+\begin_inset Foot
 status collapsed
 
 \begin_layout Plain Layout
-1
+Note that, besides that functionality, there is no way to ensure any ordering
+ of preambles.
+ The ordering that you see in a given version of LyX may change without
+ warning in later versions.
 \end_layout
 
 \end_inset
 
-] Usually LyX does not allow you to leave a paragraph empty, since it would
- lead to empty LaTeX output.
- There are some cases where this could be desirable however: in a letter
- template, the required fields can be provided as empty fields, so that
- people do not forget them; in some special classes, a layout can be used
- as some kind of break, which does not contain actual text.
+
 \end_layout
 
 \begin_layout Description
@@ -10368,191 +11202,167 @@ status collapsed
 status collapsed
 
 \begin_layout Plain Layout
-LabelBottomsep
+EndLabeltype
 \end_layout
 
 \end_inset
 
- [float=0] The vertical space between the label and the text body.
- Only used for labels that are above the text body (
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Top_Environment
+
+\emph on
+No_Label
+\emph default
+, Box, Filled_Box, Static
 \end_layout
 
 \end_inset
 
-, 
+] The type of label that stands at the end of the paragraph (or sequence
+ of paragraphs if 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Centered_Top_Environment
+LatexType
 \end_layout
 
 \end_inset
 
-).
-\end_layout
-
-\begin_layout Description
+ is 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelCounter
+Environment
 \end_layout
 
 \end_inset
 
- [
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string=""
+Item_Environment
 \end_layout
 
 \end_inset
 
-]
-\begin_inset Newline newline
-\end_inset
-
-The name of the counter for automatic numbering.
-\begin_inset Newline newline
-\end_inset
-
-This 
-\emph on
-must
-\emph default
- be given if 
+ or 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelType
+List_Environment
 \end_layout
 
 \end_inset
 
- is 
+).
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Counter
+No_Label
 \end_layout
 
 \end_inset
 
-.
- In that case, the counter will be stepped each time the layout appears.
-\begin_inset Newline newline
+ means 
+\begin_inset Quotes eld
 \end_inset
 
-This 
-\emph on
-may
-\emph default
- also be given if 
+nothing
+\begin_inset Quotes erd
+\end_inset
+
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelType
+Box
 \end_layout
 
 \end_inset
 
- is 
+ (resp.
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Enumerate
+\begin_inset space ~
+\end_inset
+
+Filled_Box
 \end_layout
 
 \end_inset
 
-, though this case is a bit complicated.
- Suppose you declare 
-\begin_inset Quotes eld
+) is a white (resp.
+\begin_inset space ~
 \end_inset
 
-
+black) square suitable for end of proof markers, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelCounter myenum
+Static
 \end_layout
 
 \end_inset
 
+ is an explicit text string.
+\end_layout
 
-\begin_inset Quotes erd
-\end_inset
-
-.
- Then the actual counters used are 
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-myenumi
+EndLabelString
 \end_layout
 
 \end_inset
 
-, 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-myenumii
+string=""
 \end_layout
 
 \end_inset
 
-, 
+] The string used for a label with a 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-myenumiii
+Static
 \end_layout
 
 \end_inset
 
-, and 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-myenumiv
+EndLabelType
 \end_layout
 
 \end_inset
 
-, much as in LaTeX.
- These counters must all be declared separately.
-\begin_inset Newline newline
-\end_inset
-
-See Section 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Counters"
-
-\end_inset
-
- for details on counters.
+.
 \end_layout
 
 \begin_layout Description
@@ -10560,12 +11370,16 @@ reference "sub:Counters"
 status collapsed
 
 \begin_layout Plain Layout
-LabelFont
+Font
 \end_layout
 
 \end_inset
 
- The font used for the label.
+ The font used for both the text body 
+\emph on
+and
+\emph default
+ the label.
  See section
 \begin_inset space ~
 \end_inset
@@ -10578,217 +11392,221 @@ reference "sub:Font-description"
 \end_inset
 
 .
-\end_layout
-
-\begin_layout Description
+ Note that defining this font automatically defines the 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelIndent
+LabelFont
 \end_layout
 
 \end_inset
 
- Text that indicates how far a label should be indented.
-\end_layout
-
-\begin_layout Description
+ to the same value.
+ So you should define this one first if you also want to define 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Labelsep
+LabelFont
 \end_layout
 
 \end_inset
 
- [
+.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string=""
+FreeSpacing
 \end_layout
 
 \end_inset
 
-] The horizontal space between the label and the text body.
- Only used for labels that are not above the text body.
-\end_layout
+\begin_inset CommandInset label
+LatexCommand label
+name "des:FreeSpacing"
 
-\begin_layout Description
+\end_inset
+
+[
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelString
+
+\emph on
+0
 \end_layout
 
 \end_inset
 
- [
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string=""
+1
 \end_layout
 
 \end_inset
 
-] The string used for a label with a 
+] Usually LyX doesn't allow you to insert more than one space between words,
+ since a space is considered as the separation between two words, not a
+ character or symbol of its own.
+ This is a very fine thing but sometimes annoying, for example, when typing
+ program code or plain LaTeX code.
+ For this reason, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Static
+FreeSpacing
 \end_layout
 
 \end_inset
 
- labeltype.
- When 
+ can be enabled.
+ Note that LyX will create protected blanks for the additional blanks when
+ in another mode than LaTeX-mode.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelCounter
+HTML*
 \end_layout
 
 \end_inset
 
- is set, this string can be contain the special formatting commands described
- in Section 
+ These tags are used with XHTML output.
+ See 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sub:Counters"
+reference "sub:Paragraph-Style-XHTML"
 
 \end_inset
 
 .
-\begin_inset Foot
-status collapsed
+\end_layout
 
-\begin_layout Plain Layout
-For the sake of backwards compatibility, the string 
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-@
-\emph on
-style-name
-\emph default
-@
+InnerTag
 \end_layout
 
 \end_inset
 
- will be replaced by the expanded 
+ [[FIXME]] (Used only with XML-type formats.)
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelString
+InPreamble
 \end_layout
 
 \end_inset
 
- of style 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\emph on
-style-name
+[1, 0]
 \end_layout
 
 \end_inset
 
-.
- This feature is now obsolete and should be replaced by the mechanisms of
- Section 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Counters"
-
-\end_inset
+ If 1, marks the style as to be included in the document preamble rather
+ than in the document body.
+ This is useful for document classes that want such information as the title
+ and author to appear in the preamble.
+ Note that this works only for styles for which the 
+\begin_inset Flex Code
+status collapsed
 
-.
+\begin_layout Plain Layout
+LatexType
 \end_layout
 
 \end_inset
 
-
-\end_layout
-
-\begin_layout Description
+ is 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelStringAppendix
+Command
 \end_layout
 
 \end_inset
 
- [
+ or 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string=""
+Paragraph
 \end_layout
 
 \end_inset
 
-] This is used inside the appendix instead of 
+.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelString
+InTitle
 \end_layout
 
 \end_inset
 
-.
- Note that every 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelString
+[1, 0]
 \end_layout
 
 \end_inset
 
- statement resets 
+ If 1, marks the style as being part of a title block (see also the 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelStringAppendix
+TitleLatexType
 \end_layout
 
 \end_inset
 
- too.
-\end_layout
-
-\begin_layout Description
+ and 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelTag
+TitleLatexName
 \end_layout
 
 \end_inset
 
- [FIXME] (Used only with XML-type formats.)
+ global entries).
 \end_layout
 
 \begin_layout Description
@@ -10796,7 +11614,7 @@ LabelTag
 status collapsed
 
 \begin_layout Plain Layout
-LabelType
+ItemSep
 \end_layout
 
 \end_inset
@@ -10806,208 +11624,202 @@ LabelType
 status collapsed
 
 \begin_layout Plain Layout
-
-\emph on
-No_Label
-\emph default
-, Manual, Static, Top_Environment, Centered_Top_Environment, Counter, Sensitive,
- Enumerate, Itemize, Bibliography
+float=0
 \end_layout
 
 \end_inset
 
-] 
-\end_layout
-
-\begin_deeper
-\begin_layout Itemize
+] This provides extra space between paragraphs that have the same style.
+ If you put other styles into an environment, each is separated with the
+ environment's 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Manual
+Parsep
 \end_layout
 
 \end_inset
 
- means the label is the very first word (up to the first real blank).
- Use protected spaces (like
-\begin_inset space ~
-\end_inset
-
-that one) if you want more than one word as the label.
-\end_layout
-
-\begin_layout Itemize
+.
+ But the whole items of the environment are additionally separated with
+ this 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Static
+Itemsep
 \end_layout
 
 \end_inset
 
- means the label is simply whatever 
+.
+ Note that this is a
+\emph on
+ multiplier.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelString
+ItemTag
 \end_layout
 
 \end_inset
 
- declares it to be.
- Note that this really is `static'.
+ [[FIXME]] (Used only with XML-type formats.)
 \end_layout
 
-\begin_layout Itemize
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Top_Environment
+KeepEmpty
 \end_layout
 
 \end_inset
 
- and 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Centered_Top_Environment
+
+\emph on
+0
 \end_layout
 
 \end_inset
 
- are special cases of 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Static
+1
 \end_layout
 
 \end_inset
 
-.
- The label will be printed above the paragraph, but only at the top of an
- environment or the top of a chain of paragraphs with this layout.
- This might be used with the 
-\begin_inset Flex MenuItem
+] Usually LyX does not allow you to leave a paragraph empty, since it would
+ lead to empty LaTeX output.
+ There are some cases where this could be desirable however: in a letter
+ template, the required fields can be provided as empty fields, so that
+ people do not forget them; in some special classes, a style can be used
+ as some kind of break, which does not contain actual text.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Abstract
+LabelBottomsep
 \end_layout
 
 \end_inset
 
- layout, for example.
-\end_layout
-
-\begin_layout Itemize
+ [float=0] The vertical space between the label and the text body.
+ Only used for labels that are above the text body (
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Sensitive
+Top_Environment
 \end_layout
 
 \end_inset
 
- is a special case for the caption-labels 
-\begin_inset Quotes eld
-\end_inset
-
-Figure
-\begin_inset Quotes erd
-\end_inset
-
- and 
-\begin_inset Quotes eld
-\end_inset
-
-Table
-\begin_inset Quotes erd
-\end_inset
-
-.
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Sensitive
+Centered_Top_Environment
 \end_layout
 
 \end_inset
 
- means the (hardcoded) label string depends on the kind of float: It is
- hardcoded to be `FloatType N', where N is the value of the counter associated
- with the float.
+).
 \end_layout
 
-\begin_layout Itemize
-The 
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Counter
+LabelCounter
 \end_layout
 
 \end_inset
 
- label type defines automatically numbered labels.
- The 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelString
+string=""
 \end_layout
 
 \end_inset
 
- will be expanded to resolve any counter references it contains: For example,
- it might be 
-\begin_inset Quotes eld
+]
+\begin_inset Newline newline
 \end_inset
 
+The name of the counter for automatic numbering.
+\begin_inset Newline newline
+\end_inset
 
+This 
+\emph on
+must
+\emph default
+ be given if 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Section 
-\backslash
-thechapter.
-\backslash
-thesection
+LabelType
 \end_layout
 
 \end_inset
 
+ is 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Counter
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
 .
- See Section 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Counters"
-
+ In that case, the counter will be stepped each time the style appears.
+\begin_inset Newline newline
 \end_inset
 
- for more information on counters.
+This 
+\emph on
+may
+\emph default
+ also be given if 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+LabelType
 \end_layout
 
-\begin_layout Itemize
+\end_inset
+
+ is 
 \begin_inset Flex Code
 status collapsed
 
@@ -11017,97 +11829,104 @@ Enumerate
 
 \end_inset
 
- produces the usual sort of enumeration labels.
- At present, it is hardcoded to use Arabic numerals, lowercase letters,
- small Roman numerals, and uppercase letters for the four possible depths.
-\end_layout
+, though this case is a bit complicated.
+ Suppose you declare 
+\begin_inset Quotes eld
+\end_inset
+
 
-\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Itemize
+LabelCounter myenum
 \end_layout
 
 \end_inset
 
- produces various bullets at the different levels.
- It is also hardcoded.
-\end_layout
 
-\begin_layout Itemize
+\begin_inset Quotes erd
+\end_inset
+
+.
+ Then the actual counters used are 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Bibliography
+myenumi
 \end_layout
 
 \end_inset
 
- is used internally by LyX and should be used only with 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LatexType BibEnvironment
+myenumii
 \end_layout
 
 \end_inset
 
-.
-\end_layout
-
-\end_deeper
-\begin_layout Description
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LangPreamble
+myenumiii
 \end_layout
 
 \end_inset
 
- Note that this will completely override any prior 
+, and 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LangPreamble
+myenumiv
 \end_layout
 
 \end_inset
 
- declaration for this style.
- Must end with 
-\begin_inset Quotes eld
+, much as in LaTeX.
+ These counters must all be declared separately.
+\begin_inset Newline newline
+\end_inset
+
+See Section 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Counters"
+
 \end_inset
 
+ for details on counters.
+\end_layout
 
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-EndLangPreamble
+LabelFont
 \end_layout
 
 \end_inset
 
-
-\begin_inset Quotes erd
+ The font used for the label.
+ See section
+\begin_inset space ~
 \end_inset
 
-.
- See section 
+
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sub:I18n"
+reference "sub:Font-description"
 
 \end_inset
 
- for details on its use.
+.
 \end_layout
 
 \begin_layout Description
@@ -11115,13 +11934,12 @@ reference "sub:I18n"
 status collapsed
 
 \begin_layout Plain Layout
-LatexName
+LabelIndent
 \end_layout
 
 \end_inset
 
- The name of the corresponding LaTeX stuff.
- Either the environment or command name.
+ Text that indicates how far a label should be indented.
 \end_layout
 
 \begin_layout Description
@@ -11129,23 +11947,23 @@ LatexName
 status collapsed
 
 \begin_layout Plain Layout
-LatexParam
+Labelsep
 \end_layout
 
 \end_inset
 
- An optional parameter for the corresponding 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LatexName
+string=""
 \end_layout
 
 \end_inset
 
- stuff.
This parameter cannot be changed from within LyX.
+] The horizontal space between the label and the text body.
Only used for labels that are not above the text body.
 \end_layout
 
 \begin_layout Description
@@ -11153,579 +11971,492 @@ LatexName
 status collapsed
 
 \begin_layout Plain Layout
-LatexType
+LabelString
 \end_layout
 
 \end_inset
 
-\begin_inset CommandInset label
-LatexCommand label
-name "des:LatexType"
-
-\end_inset
-
-[
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\emph on
-Paragraph
-\emph default
-, Command, Environment, Item_Environment,
+string=""
 \end_layout
 
 \end_inset
 
+] The string used for a label with a 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-List_Environment, Bib_Environment
+Static
 \end_layout
 
 \end_inset
 
-] How the layout should be translated into LaTeX.
-\begin_inset Foot
+ labeltype.
+ When 
+\begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-LatexType
+LabelCounter
 \end_layout
 
 \end_inset
 
- is perhaps a bit misleading, since these rules apply to SGML classes, too.
- Visit the SGML class files for specific examples.
-\end_layout
+ is set, this string can be contain the special formatting commands described
+ in Section 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Counters"
 
 \end_inset
 
+.
+\begin_inset Foot
+status collapsed
 
-\end_layout
-
-\begin_deeper
-\begin_layout Itemize
+\begin_layout Plain Layout
+For the sake of backwards compatibility, the string 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Paragraph
+@
+\emph on
+style-name
+\emph default
+@
 \end_layout
 
 \end_inset
 
- means nothing special.
-\end_layout
-
-\begin_layout Itemize
+ will be replaced by the expanded 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Command
+LabelString
 \end_layout
 
 \end_inset
 
- means 
+ of style 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
-\backslash
-
 \emph on
-LatexName
-\emph default
-{\SpecialChar \ldots{}
-}
+style-name
 \end_layout
 
 \end_inset
 
 .
-\end_layout
-
-\begin_layout Itemize
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-Environment
-\end_layout
+ This feature is now obsolete and should be replaced by the mechanisms of
+ Section 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Counters"
 
 \end_inset
 
- means 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-begin{
-\emph on
-LatexName
-\emph default
-}\SpecialChar \ldots{}
-
-\backslash
-end{
-\emph on
-LatexName
-\emph default
-}
+.
 \end_layout
 
 \end_inset
 
-.
+
 \end_layout
 
-\begin_layout Itemize
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Item_Environment
+LabelStringAppendix
 \end_layout
 
 \end_inset
 
- is the same as 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Environment
+string=""
 \end_layout
 
 \end_inset
 
-, except that an 
+] This is used inside the appendix instead of 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\backslash
-item
+LabelString
 \end_layout
 
 \end_inset
 
- is generated for each paragraph of this environment.
-\end_layout
-
-\begin_layout Itemize
+.
+ Note that every 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-List_Environment
+LabelString
 \end_layout
 
 \end_inset
 
is the same a
statement reset
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Item_Environment
+LabelStringAppendix
 \end_layout
 
 \end_inset
 
-, except that 
+ too.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelWidthString
+LabelTag
 \end_layout
 
 \end_inset
 
- is passed as an argument to the environment.
+ [FIXME] (Used only with XML-type formats.)
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelWidthString
+LabelType
 \end_layout
 
 \end_inset
 
- can be defined in the 
-\begin_inset Flex MenuItem
+ [
+\begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
-\bar under
-L
-\bar default
-ayout\SpecialChar \menuseparator
-
-\bar under
-P
-\bar default
-aragraph
+\emph on
+No_Label
+\emph default
+, Manual, Static, Top_Environment, Centered_Top_Environment, Counter, Sensitive,
+ Enumerate, Itemize, Bibliography
 \end_layout
 
 \end_inset
 
- dialog.
-\end_layout
-
-\begin_layout Standard
-Putting the last few things together, the LaTeX output will be either: 
+] 
 \end_layout
 
-\begin_layout LyX-Code
+\begin_deeper
+\begin_layout Itemize
+\begin_inset Flex Code
+status collapsed
 
-\backslash
-latexname[latexparam]{\SpecialChar \ldots{}
-}
+\begin_layout Plain Layout
+Manual
 \end_layout
 
-\begin_layout Standard
-or: 
-\end_layout
+\end_inset
 
-\begin_layout LyX-Code
+ means the label is the very first word (up to the first real blank).
+ Use protected spaces (like
+\begin_inset space ~
+\end_inset
 
-\backslash
-begin{latexname}[latexparam] \SpecialChar \ldots{}
+that one) if you want more than one word as the label.
  
-\backslash
-end{latexname}.
-\end_layout
-
-\begin_layout Standard
-depending upon the LaTeX type.
 \end_layout
 
-\end_deeper
-\begin_layout Description
+\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LeftMargin
+Static
 \end_layout
 
 \end_inset
 
- [
+ means the label is simply whatever 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string=""
+LabelString
 \end_layout
 
 \end_inset
 
-] If you put layouts into environments, the leftmargins are not simply added,
- but added with a factor 
-\begin_inset Formula $\frac{4}{depth+4}$
-\end_inset
+ declares it to be.
+ Note that this really is `static'.
+\end_layout
 
-.
- Note that this parameter is also used when the margin is defined as 
+\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Manual
+Top_Environment
 \end_layout
 
 \end_inset
 
- or 
+ and 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Dynamic
+Centered_Top_Environment
 \end_layout
 
 \end_inset
 
-.
- Then it is added to the manual or dynamic margin.
-\begin_inset Newline newline
-\end_inset
-
-The argument is passed as a string.
- For example 
-\begin_inset Quotes eld
-\end_inset
-
-
+ are special cases of 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-MM
+Static
 \end_layout
 
 \end_inset
 
+.
+ The label will be printed above the paragraph, but only at the top of an
+ environment or the top of a chain of paragraphs with this style.
+ This might be used with the 
+\begin_inset Flex MenuItem
+status collapsed
 
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
+Abstract
+\end_layout
 
- means that the paragraph is indented with the width of 
-\begin_inset Quotes eld
 \end_inset
 
+ style, for example.
+\end_layout
 
+\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-MM
+Sensitive
 \end_layout
 
 \end_inset
 
+ is a special case for the caption-labels 
+\begin_inset Quotes eld
+\end_inset
 
+Figure
 \begin_inset Quotes erd
 \end_inset
 
- in the normal font.
- You can get a negative width by prefixing the string with 
+ and 
 \begin_inset Quotes eld
 \end_inset
 
+Table
+\begin_inset Quotes erd
+\end_inset
 
+.
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
--
+Sensitive
 \end_layout
 
 \end_inset
 
-
-\begin_inset Quotes erd
-\end_inset
-
-.
- This way was chosen so that the look is the same with each used screen
- font.
+ means the (hardcoded) label string depends on the kind of float: It is
+ hardcoded to be `FloatType N', where N is the value of the counter associated
+ with the float.
 \end_layout
 
-\begin_layout Description
+\begin_layout Itemize
+The 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Margin
+Counter
 \end_layout
 
 \end_inset
 
- [
+ label type defines automatically numbered labels.
+ The 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\emph on
-Static
-\emph default
-, Manual, Dynamic, First_Dynamic, Right_Address_Box
+LabelString
 \end_layout
 
 \end_inset
 
-] 
-\begin_inset Newline newline
+ will be expanded to resolve any counter references it contains: For example,
+ it might be 
+\begin_inset Quotes eld
 \end_inset
 
-The kind of margin that the layout has on the left side.
+
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Static
+Section 
+\backslash
+thechapter.
+\backslash
+thesection
 \end_layout
 
 \end_inset
 
- just means a fixed margin.
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-Manual
-\end_layout
 
+\begin_inset Quotes erd
 \end_inset
 
- means that the left margin depends on the string entered in the 
-\begin_inset Flex MenuItem
-status collapsed
+.
+ See Section 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Counters"
 
-\begin_layout Plain Layout
-Edit\SpecialChar \menuseparator
-Paragraph
-\begin_inset space ~
 \end_inset
 
-Settings
+ for more information on counters.
 \end_layout
 
-\end_inset
-
- dialog.
- This is used to typeset nice lists without tabulators.
+\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Dynamic
+Enumerate
 \end_layout
 
 \end_inset
 
- means that the margin depends on the size of the label.
- This is used for automatic enumerated headlines.
- It is obvious that the headline 
-\begin_inset Quotes eld
-\end_inset
-
-5.4.3.2.1 Very long headline
-\begin_inset Quotes erd
-\end_inset
-
- must have a wider left margin (as wide as 
-\begin_inset Quotes eld
-\end_inset
-
-5.4.3.2.1
-\begin_inset Quotes erd
-\end_inset
+ produces the usual sort of enumeration labels.
+ At present, it is hardcoded to use Arabic numerals, lowercase letters,
+ small Roman numerals, and uppercase letters for the four possible depths.
+\end_layout
 
- plus the space) than 
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Itemize
+\begin_inset Flex Code
+status collapsed
 
-3.2 Very long headline
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
+Itemize
+\end_layout
 
-, even if standard 
-\begin_inset Quotes eld
 \end_inset
 
-word processors
-\begin_inset Quotes erd
-\end_inset
+ produces various bullets at the different levels.
+ It is also hardcoded.
+\end_layout
 
- are not able to do this.
+\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-First_Dynamic
+Bibliography
 \end_layout
 
 \end_inset
 
- is similar, but only the very first row of the paragraph is dynamic, while
- the others are static; this is used, for example, for descriptions.
+ is used internally by LyX and should be used only with 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Right_Address_Box
+LatexType BibEnvironment
 \end_layout
 
 \end_inset
 
- means the margin is chosen in a way that the longest row of this paragraph
- fits to the right margin.
- This is used to typeset an address on the right edge of the page.
+.
 \end_layout
 
+\end_deeper
 \begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-NeedProtect
+LangPreamble
 \end_layout
 
 \end_inset
 
- [
+ Note that this will completely override any prior 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\emph on
-0
+LangPreamble
 \end_layout
 
 \end_inset
 
-,
+ declaration for this style.
+ Must end with 
+\begin_inset Quotes eld
+\end_inset
+
+
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-1
+EndLangPreamble
 \end_layout
 
 \end_inset
 
-] Whether fragile commands in this layout should be 
-\begin_inset Flex Code
-status collapsed
 
-\begin_layout Plain Layout
+\begin_inset Quotes erd
+\end_inset
 
-\backslash
-protect
-\end_layout
+.
+ See section 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:I18n"
 
 \end_inset
 
-'ed.
- (Note: This is 
-\emph on
-not
-\emph default
- whether this command should itself be protected.)
+ for details on its use.
 \end_layout
 
 \begin_layout Description
@@ -11733,50 +12464,37 @@ not
 status collapsed
 
 \begin_layout Plain Layout
-Newline
+LatexName
 \end_layout
 
 \end_inset
 
- [
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-0
+ The name of the corresponding LaTeX stuff.
+ Either the environment or command name.
 \end_layout
 
-\end_inset
-
-, 
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\emph on
-1
+LatexParam
 \end_layout
 
 \end_inset
 
-] Whether newlines are translated into LaTeX newlines (
+ An optional parameter for the corresponding 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\backslash
-
-\backslash
-
+LatexName
 \end_layout
 
 \end_inset
 
-) or not.
- The translation can be switched off to allow more comfortable LaTeX editing
- inside LyX.
+ stuff.
+ This parameter cannot be changed from within LyX.
 \end_layout
 
 \begin_layout Description
@@ -11784,7 +12502,7 @@ status collapsed
 status collapsed
 
 \begin_layout Plain Layout
-NextNoIndent
+LatexType
 \end_layout
 
 \end_inset
@@ -11794,252 +12512,265 @@ NextNoIndent
 status collapsed
 
 \begin_layout Plain Layout
-1
+
+\emph on
+Paragraph
+\emph default
+, Command, Environment, Item_Environment,
 \end_layout
 
 \end_inset
 
-, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\emph on
-0
+List_Environment, Bib_Environment
 \end_layout
 
 \end_inset
 
-] Whether the following Paragraph is allowed to indent its very first row.
+] How the style should be translated into LaTeX.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-1
+LatexType
 \end_layout
 
 \end_inset
 
- means that it is not allowed to do so; 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-0
+ is perhaps a bit misleading, since these rules apply to SGML classes, too.
+ Visit the SGML class files for specific examples.
 \end_layout
 
 \end_inset
 
- means it could do so if it wants to.
+
 \end_layout
 
-\begin_layout Description
+\begin_deeper
+\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-ObsoletedBy
+Paragraph
 \end_layout
 
 \end_inset
 
Name of a layout that has replaced this layout.
- This is used to rename a layout, while keeping backward compatibility.
means nothing special.
 \end_layout
 
-\begin_layout Description
+\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-OptionalArgs
+Command
 \end_layout
 
 \end_inset
 
- [
+ means 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-int=0
-\end_layout
 
-\end_inset
+\backslash
 
-] The number of optional arguments that can be used with this layout.
- This is useful for things like section headings, and only makes sense with
- LaTeX.
- Note that, on output, the optional arguments will all precede any required
- arguments (see below).
- So one can have constructs like:
+\emph on
+LatexName
+\emph default
+{\SpecialChar \ldots{}
+}
 \end_layout
 
-\begin_deeper
-\begin_layout LyX-Code
+\end_inset
 
-\backslash
-mycmd[opt1]{req1}{contents of paragraph}
+.
 \end_layout
 
-\begin_layout Standard
-but one cannot have things like: 
+\begin_layout Itemize
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Environment
 \end_layout
 
-\begin_layout LyX-Code
+\end_inset
 
-\backslash
-mycmd[opt1]{req1}[opt2]{contents of paragraph}
-\end_layout
-
-\begin_layout Standard
-at least, not without ERT (with which you can have anything).
-\end_layout
-
-\end_deeper
-\begin_layout Description
+ means 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-ParbreakIsNewline
-\end_layout
-
-\end_inset
 
+\backslash
+begin{
+\emph on
+LatexName
+\emph default
+}\SpecialChar \ldots{}
 
-\begin_inset CommandInset label
-LatexCommand label
-name "des:ParbreakIsNewline"
+\backslash
+end{
+\emph on
+LatexName
+\emph default
+}
+\end_layout
 
 \end_inset
 
- [
+.
+\end_layout
+
+\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\emph on
-0
+Item_Environment
 \end_layout
 
 \end_inset
 
-, 
+ is the same as 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-1
+Environment
 \end_layout
 
 \end_inset
 
-] Indicates that paragraphs will not be separated by an empty line in LaTeX
- output, but only by a line break; together with 
+, except that an 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-PassThru 1
+
+\backslash
+item
 \end_layout
 
 \end_inset
 
-, this allows to emulate a plain text editor (like the ERT inset).
+ is generated for each paragraph of this environment.
 \end_layout
 
-\begin_layout Description
+\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-ParIndent
+List_Environment
 \end_layout
 
 \end_inset
 
- [
+ is the same as 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string=""
+Item_Environment
 \end_layout
 
 \end_inset
 
-] The indent of the very first line of a paragraph.
- The 
+, except that 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Parindent
+LabelWidthString
 \end_layout
 
 \end_inset
 
- will be fixed for a certain layout.
- The exception is Standard layout, since the indentation of a Standard layout
- paragraph can be prohibited with 
+ is passed as an argument to the environment.
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-NextNoIndent
+LabelWidthString
 \end_layout
 
 \end_inset
 
-.
- Also, Standard layout paragraphs inside environments use the 
-\begin_inset Flex Code
+ can be defined in the 
+\begin_inset Flex MenuItem
 status collapsed
 
 \begin_layout Plain Layout
-Parindent
+Edit\SpecialChar \menuseparator
+Paragraph
+\begin_inset space ~
+\end_inset
+
+settings
 \end_layout
 
 \end_inset
 
of the environment, not their native one.
- For example, Standard paragraphs inside an enumeration are not indented.
dialog.
 \end_layout
 
-\begin_layout Description
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-Parsep
+\begin_layout Standard
+Putting the last few things together, the LaTeX output will be either: 
 \end_layout
 
-\end_inset
+\begin_layout LyX-Code
 
- [
-\begin_inset Flex Code
-status collapsed
+\backslash
+latexname[latexparam]{\SpecialChar \ldots{}
+}
+\end_layout
 
-\begin_layout Plain Layout
-float=0
+\begin_layout Standard
+or: 
 \end_layout
 
-\end_inset
+\begin_layout LyX-Code
+
+\backslash
+begin{latexname}[latexparam] \SpecialChar \ldots{}
+\backslash
+end{latexname}.
+\end_layout
 
-] The vertical space between two paragraphs of this layout.
+\begin_layout Standard
+depending upon the LaTeX type.
 \end_layout
 
+\end_deeper
 \begin_layout Description
+
+\change_inserted -712698321 1354263086
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Parskip
+
+\change_inserted -712698321 1353866852
+LeftDelim
 \end_layout
 
 \end_inset
@@ -12049,146 +12780,122 @@ Parskip
 status collapsed
 
 \begin_layout Plain Layout
-float=0
-\end_layout
 
-\end_inset
+\change_inserted -712698321 1353866852
+string
+\end_layout
 
-] LyX allows the user to choose either 
-\begin_inset Quotes eld
 \end_inset
 
-indent
-\begin_inset Quotes erd
-\end_inset
+] A string that is put at the beginning of the style content.
+ A line break in the output can be indicated by 
+\begin_inset Flex Code
+status collapsed
 
- or 
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
 
-skip
-\begin_inset Quotes erd
-\end_inset
+\change_inserted -712698321 1354263086
+<br/>
+\end_layout
 
- to typeset a document.
- When 
-\begin_inset Quotes eld
 \end_inset
 
-indent
-\begin_inset Quotes erd
-\end_inset
+.
+\change_unchanged
 
- is chosen, this value is completely ignored.
- When 
-\begin_inset Quotes eld
-\end_inset
+\end_layout
 
-skip
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
 
- is chosen, the parindent of a LaTeXtype 
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
+LeftMargin
+\end_layout
 
-Paragraph
-\begin_inset Quotes erd
 \end_inset
 
- layout is ignored and all paragraphs are separated by this parskip argument.
- The vertical space is calculated with 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-value
-\begin_inset space ~
-\end_inset
-
-* DefaultHeight
+string=""
 \end_layout
 
 \end_inset
 
- where 
+] If you put styles into environments, the leftmargins are not simply added,
+ but added with a factor 
+\begin_inset Formula $\frac{4}{depth+4}$
+\end_inset
+
+.
+ Note that this parameter is also used when the margin is defined as 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-DefaultHeight
+Manual
 \end_layout
 
 \end_inset
 
- is the height of a row with the normal font.
- This way, the look stays the same with different screen fonts.
-\end_layout
-
-\begin_layout Description
+ or 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-PassThru
+Dynamic
 \end_layout
 
 \end_inset
 
+.
+ Then it is added to the manual or dynamic margin.
  
-\begin_inset CommandInset label
-LatexCommand label
-name "des:PassThru"
+\begin_inset Newline newline
+\end_inset
 
+The argument is passed as a string.
+ For example 
+\begin_inset Quotes eld
 \end_inset
 
-[
+
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\emph on
-0
+MM
 \end_layout
 
 \end_inset
 
-, 
-\begin_inset Flex Code
-status collapsed
 
-\begin_layout Plain Layout
-1
-\end_layout
+\begin_inset Quotes erd
+\end_inset
 
+ means that the paragraph is indented with the width of 
+\begin_inset Quotes eld
 \end_inset
 
-] Whether the contents of this paragraph should be output in raw form, meaning
- without special translations that LaTeX would require.
-\end_layout
 
-\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Preamble
+MM
 \end_layout
 
 \end_inset
 
-\begin_inset CommandInset label
-LatexCommand label
-name "des:Preamble"
 
+\begin_inset Quotes erd
 \end_inset
 
-Information to be included in the LaTeX preamble when this style is used.
- Used to define macros, load packages, etc., required by this particular
- style.
- Must end with 
+ in the normal font.
+ You can get a negative width by prefixing the string with 
 \begin_inset Quotes eld
 \end_inset
 
@@ -12197,7 +12904,7 @@ Information to be included in the LaTeX preamble when this style is used.
 status collapsed
 
 \begin_layout Plain Layout
-EndPreamble
+-
 \end_layout
 
 \end_inset
@@ -12207,6 +12914,9 @@ EndPreamble
 \end_inset
 
 .
+ This way was chosen so that the look is the same with each used screen
+ font.
 \end_layout
 
 \begin_layout Description
@@ -12214,7 +12924,7 @@ EndPreamble
 status collapsed
 
 \begin_layout Plain Layout
-RefPrefix
+Margin
 \end_layout
 
 \end_inset
@@ -12224,149 +12934,128 @@ RefPrefix
 status collapsed
 
 \begin_layout Plain Layout
-string
+
+\emph on
+Static
+\emph default
+, Manual, Dynamic, First_Dynamic, Right_Address_Box
 \end_layout
 
 \end_inset
 
-] The prefix to use when creating labels referring to paragraphs of this
- type.
- This allows the use of formatted references.
-\end_layout
+] 
+\begin_inset Newline newline
+\end_inset
 
-\begin_layout Description
+The kind of margin that the style has on the left side.
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-RequiredArgs
+Static
 \end_layout
 
 \end_inset
 
- [
+ just means a fixed margin.
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-int=0
+Manual
 \end_layout
 
 \end_inset
 
-] The number of required arguments that the LaTeX command or environment
- corresponding to this layout expects.
- In the case of a command, these are required arguments 
-\emph on
-other than
-\emph default
- that associated with the content of the paragraph itself.
- These do not actually have to be provided: LyX will output empty arguments
- if necessary.
- Note that optional arguments will be output before required arguments.
- See the discussion of the 
-\begin_inset Flex Code
+ means that the left margin depends on the string entered in the 
+\begin_inset Flex MenuItem
 status collapsed
 
 \begin_layout Plain Layout
-OptionalArgs
-\end_layout
-
+Edit\SpecialChar \menuseparator
+Paragraph
+\begin_inset space ~
 \end_inset
 
- tag above for more information.
-\end_layout
-
-\begin_layout Description
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-Requires 
+Settings
 \end_layout
 
 \end_inset
 
- [
+ dialog.
+ This is used to typeset nice lists without tabulators.
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string
+Dynamic
 \end_layout
 
 \end_inset
 
-] 
-\begin_inset CommandInset label
-LatexCommand label
-name "des:Requires"
-
+ means that the margin depends on the size of the label.
+ This is used for automatic enumerated headlines.
+ It is obvious that the headline 
+\begin_inset Quotes eld
 \end_inset
 
-Whether the layout requires the feature 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-string
-\end_layout
-
+5.4.3.2.1 Very long headline
+\begin_inset Quotes erd
 \end_inset
 
-.
- See the description of 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-Provides
-\end_layout
-
+ must have a wider left margin (as wide as 
+\begin_inset Quotes eld
 \end_inset
 
- above (page 
-\begin_inset CommandInset ref
-LatexCommand pageref
-reference "des:FreeSpacing"
-
+5.4.3.2.1
+\begin_inset Quotes erd
 \end_inset
 
-) for information on `features'.
-\end_layout
+ plus the space) than 
+\begin_inset Quotes eld
+\end_inset
 
-\begin_layout Description
-\begin_inset Flex Code
-status collapsed
+3.2 Very long headline
+\begin_inset Quotes erd
+\end_inset
 
-\begin_layout Plain Layout
-RightMargin
-\end_layout
+, even if standard 
+\begin_inset Quotes eld
+\end_inset
 
+word processors
+\begin_inset Quotes erd
 \end_inset
 
- [
+ are not able to do this.
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string=""
+First_Dynamic
 \end_layout
 
 \end_inset
 
-] Similar to 
+ is similar, but only the very first row of the paragraph is dynamic, while
+ the others are static; this is used, for example, for descriptions.
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LeftMargin
+Right_Address_Box
 \end_layout
 
 \end_inset
 
-.
+ means the margin is chosen in a way that the longest row of this paragraph
+ fits to the right margin.
+ This is used to typeset an address on the right edge of the page.
 \end_layout
 
 \begin_layout Description
@@ -12374,7 +13063,7 @@ LeftMargin
 status collapsed
 
 \begin_layout Plain Layout
-Spacing
+NeedProtect
 \end_layout
 
 \end_inset
@@ -12386,84 +13075,90 @@ status collapsed
 \begin_layout Plain Layout
 
 \emph on
-single
-\emph default
-, onehalf, double, other
+0
 \end_layout
 
 \end_inset
 
-\emph on
-value
-\emph default
-] This defines what the default spacing should be in the layout.
- The arguments 
+,
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-single
+1
 \end_layout
 
 \end_inset
 
-, 
+] Whether fragile commands in this style should be 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-onehalf
+
+\backslash
+protect
 \end_layout
 
 \end_inset
 
- and 
+'ed.
+ (Note: This is 
+\emph on
+not
+\emph default
+ whether this command should itself be protected.)
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-double
+Newline
 \end_layout
 
 \end_inset
 
- correspond respectively to a multiplier value of 1, 1.25 and 1.667.
- If you specify the argument 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-other
+0
 \end_layout
 
 \end_inset
 
-, then you should also provide a numerical argument which will be the actual
- multiplier value.
- Note that, contrary to other parameters, 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Spacing
+
+\emph on
+1
 \end_layout
 
 \end_inset
 
- implies the generation of specific LaTeX code, using the package 
-\family roman
-
+] Whether newlines are translated into LaTeX newlines (
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-setspace.sty
+
+\backslash
+
+\backslash
+
 \end_layout
 
 \end_inset
 
-.
+) or not.
+ The translation can be switched off to allow more comfortable LaTeX editing
+ inside LyX.
 \end_layout
 
 \begin_layout Description
@@ -12471,7 +13166,7 @@ setspace.sty
 status collapsed
 
 \begin_layout Plain Layout
-Spellcheck
+NextNoIndent
 \end_layout
 
 \end_inset
@@ -12481,84 +13176,70 @@ Spellcheck
 status collapsed
 
 \begin_layout Plain Layout
-0
+1
 \end_layout
 
 \end_inset
 
-,
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
 \emph on
-1
+0
 \end_layout
 
 \end_inset
 
-] Spellcheck paragraphs of this style.
- Default is true.
-\end_layout
-
-\begin_layout Description
+] If set to true, and if 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-TextFont
+DefaultStyle
 \end_layout
 
 \end_inset
 
- The font used for the text body .
- See section 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Font-description"
-
-\end_inset
-
-.
-\end_layout
-
-\begin_layout Description
+ (usually 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-TocLevel
+Standard
 \end_layout
 
 \end_inset
 
+) paragraphs are being indented, then the indentation of such a paragraph
+ following one of this type will be suppressed.
+ (So this will not affect the display of non-default paragraphs.)
+\end_layout
 
-\series medium
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\series medium
-[int]
+ObsoletedBy
 \end_layout
 
 \end_inset
 
-
-\series default
- The level of the style in the table of contents.
- This is used for automatic numbering of section headings.
+ Name of a style that has replaced this style.
+ This is used to rename a style, while keeping backward compatibility.
 \end_layout
 
 \begin_layout Description
+
+\change_deleted -712698321 1353679722
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-TopSep
+OptionalArgs
 \end_layout
 
 \end_inset
@@ -12568,312 +13249,1144 @@ TopSep
 status collapsed
 
 \begin_layout Plain Layout
-float=0
+int=0
 \end_layout
 
 \end_inset
 
-] The vertical space with which the very first of a chain of paragraphs
- with this layout is separated from the previous paragraph.
- If the previous paragraph has another layout, the separations are not simply
- added, but the maximum is taken.
+] The number of optional arguments that can be used with this style.
+ This is useful for things like section headings, and only makes sense with
+ LaTeX.
+ Note that, on output, the optional arguments will all precede any required
+ arguments (see below).
+ So one can have constructs like:
 \end_layout
 
-\begin_layout Subsection
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:I18n"
+\begin_deeper
+\begin_layout LyX-Code
 
-\end_inset
+\change_deleted -712698321 1353679722
 
-Internationalization of Paragraph Styles
+\backslash
+mycmd[opt1]{req1}{contents of paragraph}
 \end_layout
 
 \begin_layout Standard
-LyX has long supported internationalization of layout information, but,
- until version 2.0, this applied only to the user interface and not to, say,
- PDF output.
- Thus, French authors were forced to resort to ugly hacks if they wanted
- `
-\lang french
-Théorème
-\lang english
- 1' instead of `Theorem 1'.
- Thanks to Georg Baum, that is no longer the case.
+
+\change_deleted -712698321 1353679722
+but one cannot have things like: 
 \end_layout
 
-\begin_layout Standard
-If a 
-\begin_inset Flex Code
-status collapsed
+\begin_layout LyX-Code
 
-\begin_layout Plain Layout
-Style
+\change_deleted -712698321 1353679722
+
+\backslash
+mycmd[opt1]{req1}[opt2]{contents of paragraph}
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
- defines text that is to appear in the typeset document, it may use 
-\begin_inset Flex Code
+\change_deleted -712698321 1353679722
+at least, not without ERT (with which you can have anything).
+\change_unchanged
+
+\end_layout
+
+\end_deeper
+\begin_layout Description
+\begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LangPreamble
+ParbreakIsNewline
 \end_layout
 
 \end_inset
 
- and 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-BabelPreamble
+
+\emph on
+0
 \end_layout
 
 \end_inset
 
- to support non-English and even multi-language documents correctly.
- The following excerpt (from the 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-theorems-ams.inc
+1
 \end_layout
 
 \end_inset
 
- file) shows how this works:
-\end_layout
+] Indicates that paragraphs will not be separated by an empty line in LaTeX
+ output, but only by a line break; together with 
+\begin_inset Flex Code
+status collapsed
 
-\begin_layout LyX-Code
-Preamble
+\begin_layout Plain Layout
+PassThru 1
 \end_layout
 
-\begin_deeper
-\begin_layout LyX-Code
-  
-\backslash
-theoremstyle{remark}
-\end_layout
+\end_inset
 
-\begin_layout LyX-Code
-  
-\backslash
-newtheorem{claim}[thm]{
-\backslash
-protect
-\backslash
-claimname}
+, this allows to emulate a plain text editor (like the ERT inset).
 \end_layout
 
-\begin_layout LyX-Code
-EndPreamble
-\end_layout
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
 
-\begin_layout LyX-Code
-LangPreamble
+\begin_layout Plain Layout
+ParIndent
 \end_layout
 
-\begin_layout LyX-Code
-  
-\backslash
-providecommand{
-\backslash
-claimname}{_(Claim)}
-\end_layout
+\end_inset
 
-\begin_layout LyX-Code
-EndLangPreamble
-\end_layout
+ [
+\begin_inset Flex Code
+status collapsed
 
-\begin_layout LyX-Code
-BabelPreamble
+\begin_layout Plain Layout
+string=""
 \end_layout
 
-\begin_layout LyX-Code
-    
-\backslash
-addto
-\backslash
-captions$$lang{
-\backslash
-renewcommand{
-\backslash
-claimname}{_(Claim)}}
-\end_layout
+\end_inset
 
-\begin_layout LyX-Code
-EndBabelPreamble
+] The indent of the very first line of a paragraph.
+ The 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Parindent
 \end_layout
 
-\end_deeper
-\begin_layout Standard
-In principle, any legal LaTeX may appear in the 
+\end_inset
+
+ will be fixed for a certain style.
+ The exception is the default style, since the indentation for these paragraphs
+ can be prohibited with 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LangPreamble
+NextNoIndent
 \end_layout
 
 \end_inset
 
- and 
+.
+ Also, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-BabelPreamble
+Standard
 \end_layout
 
 \end_inset
 
- tags, but in practice they will typically look as they do here.
- The key to correct translation of the typeset text is the definition of
- the LaTeX command 
+ style paragraphs inside environments use the 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
+Parindent
+\end_layout
 
-\backslash
-claimname
+\end_inset
+
+ of the environment, not their native one.
+ For example, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Standard
 \end_layout
 
 \end_inset
 
- and its use in 
+ paragraphs inside an enumeration are not indented.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
+Parsep
+\end_layout
 
-\backslash
-newtheorem
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+float=0
 \end_layout
 
 \end_inset
 
-.
+] The vertical space between two paragraphs of this style.
 \end_layout
 
-\begin_layout Standard
-The 
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LangPreamble
+Parskip
 \end_layout
 
 \end_inset
 
- tag provides for internationalization based upon the overall language of
- the document.
- The contents of the tag will be included in the preamble, just as with
- the 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Preamble
+float=0
 \end_layout
 
 \end_inset
 
- tag.
- What makes it special is the use of the 
+] LyX allows the user to choose either 
 \begin_inset Quotes eld
 \end_inset
 
-function
+indent
 \begin_inset Quotes erd
 \end_inset
 
+ or 
+\begin_inset Quotes eld
+\end_inset
+
+skip
+\begin_inset Quotes erd
+\end_inset
+
+ to typeset a document.
+ When 
+\begin_inset Quotes eld
+\end_inset
+
+indent
+\begin_inset Quotes erd
+\end_inset
+
+ is chosen, this value is completely ignored.
+ When 
+\begin_inset Quotes eld
+\end_inset
+
+skip
+\begin_inset Quotes erd
+\end_inset
+
+ is chosen, the parindent of a LaTeXtype 
+\begin_inset Quotes eld
+\end_inset
+
+Paragraph
+\begin_inset Quotes erd
+\end_inset
+
+ style is ignored and all paragraphs are separated by this parskip argument.
+ The vertical space is calculated with 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-_()
-\end_layout
-
+value
+\begin_inset space ~
 \end_inset
 
-, which will be replaced, when LyX produces LaTeX output, with the translation
- of its argument into the document language.
+* DefaultHeight
 \end_layout
 
-\begin_layout Standard
-The 
+\end_inset
+
+ where 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-BabelPreamble
+DefaultHeight
 \end_layout
 
 \end_inset
 
- tag is more complex, since it is meant to provide support for multi-language
- documents and so offers an interface to the 
+ is the height of a row with the normal font.
+ This way, the look stays the same with different screen fonts.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-babel
+PassThru
 \end_layout
 
 \end_inset
 
- package.
- Its contents will be added to the preamble once for each language that
- appears in the document.
- In this case, the argument to 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-_()
+
+\emph on
+0
 \end_layout
 
 \end_inset
 
- will be replaced with its translation into the language in question; the
- expression 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-$$lang
+1
 \end_layout
 
 \end_inset
 
- is replaced by the language name (as used by the babel package).
+] Whether the contents of this paragraph should be output in raw form, meaning
+ without special translations that LaTeX would require.
 \end_layout
 
-\begin_layout Standard
-A German document that also included a French section would thus have the
- following in the preamble:
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Preamble
 \end_layout
 
-\begin_layout LyX-Code
+\end_inset
 
+ Information to be included in the LaTeX preamble when this style is used.
+ Used to define macros, load packages, etc., required by this particular
+ style.
+ Must end with 
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+EndPreamble
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+RefPrefix
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+] The prefix to use when creating labels referring to paragraphs of this
+ type.
+ This allows the use of formatted references.
+\end_layout
+
+\begin_layout Description
+
+\change_deleted -712698321 1353681258
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+RequiredArgs
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+int=0
+\end_layout
+
+\end_inset
+
+] The number of required arguments that the LaTeX command or environment
+ corresponding to this style expects.
+ In the case of a command, these are required arguments 
+\emph on
+other than
+\emph default
+ that associated with the content of the paragraph itself.
+ These do not actually have to be provided: LyX will output empty arguments
+ if necessary.
+ Note that optional arguments will be output before required arguments.
+ See the discussion of the 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+OptionalArgs
+\end_layout
+
+\end_inset
+
+ tag above for more information.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Requires 
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+] Whether the style requires the feature 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+.
+ See the description of 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Provides
+\end_layout
+
+\end_inset
+
+ above (page 
+\begin_inset CommandInset ref
+LatexCommand pageref
+reference "des:FreeSpacing"
+
+\end_inset
+
+) for information on `features'.
+\change_inserted -712698321 1353693134
+
+\end_layout
+
+\begin_layout Description
+
+\change_inserted -712698321 1353693371
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353693146
+ResetArgs
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353693235
+
+\emph on
+0
+\end_layout
+
+\end_inset
+
+,
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353693235
+1
+\end_layout
+
+\end_inset
+
+] Resets the LaTeX arguments of this style (as defined via the 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353693371
+Argument
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ tag).
+ This is useful if you have copied a style via 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353693302
+CopyStyle
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+, but you do not want to inherit its (required and optional) arguments.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Description
+
+\change_inserted -712698321 1354263074
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353866876
+RightDelim
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353866873
+string
+\end_layout
+
+\end_inset
+
+] A string that is put at the end of the layout content.
+ A line break in the output can be indicated by 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1354263069
+<br/>
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+RightMargin
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string=""
+\end_layout
+
+\end_inset
+
+] Similar to 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+LeftMargin
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Spacing
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\emph on
+single
+\emph default
+, onehalf, double, other
+\end_layout
+
+\end_inset
+
+\emph on
+value
+\emph default
+] This defines what the default spacing should be in the style.
+ The arguments 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+single
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+onehalf
+\end_layout
+
+\end_inset
+
+ and 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+double
+\end_layout
+
+\end_inset
+
+ correspond respectively to a multiplier value of 1, 1.25 and 1.667.
+ If you specify the argument 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+other
+\end_layout
+
+\end_inset
+
+, then you should also provide a numerical argument which will be the actual
+ multiplier value.
+ Note that, contrary to other parameters, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Spacing
+\end_layout
+
+\end_inset
+
+ implies the generation of specific LaTeX code, using the package 
+\family roman
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+setspace.sty
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Spellcheck
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+0
+\end_layout
+
+\end_inset
+
+,
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\emph on
+1
+\end_layout
+
+\end_inset
+
+] Spellcheck paragraphs of this style.
+ Default is true.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+TextFont
+\end_layout
+
+\end_inset
+
+ The font used for the text body .
+ See section 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Font-description"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+TocLevel
+\end_layout
+
+\end_inset
+
+
+\series medium
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\series medium
+[int]
+\end_layout
+
+\end_inset
+
+
+\series default
+ The level of the style in the table of contents.
+ This is used for automatic numbering of section headings.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+TopSep
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+float=0
+\end_layout
+
+\end_inset
+
+] The vertical space with which the very first of a chain of paragraphs
+ with this style is separated from the previous paragraph.
+ If the previous paragraph has another style, the separations are not simply
+ added, but the maximum is taken.
+\end_layout
+
+\begin_layout Subsection
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:I18n"
+
+\end_inset
+
+Internationalization of Paragraph Styles
+\end_layout
+
+\begin_layout Standard
+LyX has long supported internationalization of layout information, but,
+ until version 2.0, this applied only to the user interface and not to, say,
+ PDF output.
+ Thus, French authors were forced to resort to ugly hacks if they wanted
+ `
+\lang french
+Théorème
+\lang english
+ 1' instead of `Theorem 1'.
+ Thanks to Georg Baum, that is no longer the case.
+\end_layout
+
+\begin_layout Standard
+If a 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Style
+\end_layout
+
+\end_inset
+
+ defines text that is to appear in the typeset document, it may use 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+LangPreamble
+\end_layout
+
+\end_inset
+
+ and 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+BabelPreamble
+\end_layout
+
+\end_inset
+
+ to support non-English and even multi-language documents correctly.
+ The following excerpt (from the 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+theorems-ams.inc
+\end_layout
+
+\end_inset
+
+ file) shows how this works:
+\end_layout
+
+\begin_layout LyX-Code
+Preamble
+\end_layout
+
+\begin_deeper
+\begin_layout LyX-Code
+  
+\backslash
+theoremstyle{remark}
+\end_layout
+
+\begin_layout LyX-Code
+  
+\backslash
+newtheorem{claim}[thm]{
+\backslash
+protect
+\backslash
+claimname}
+\end_layout
+
+\begin_layout LyX-Code
+EndPreamble
+\end_layout
+
+\begin_layout LyX-Code
+LangPreamble
+\end_layout
+
+\begin_layout LyX-Code
+  
+\backslash
+providecommand{
+\backslash
+claimname}{_(Claim)}
+\end_layout
+
+\begin_layout LyX-Code
+EndLangPreamble
+\end_layout
+
+\begin_layout LyX-Code
+BabelPreamble
+\end_layout
+
+\begin_layout LyX-Code
+    
+\backslash
+addto
+\backslash
+captions$$lang{
+\backslash
+renewcommand{
+\backslash
+claimname}{_(Claim)}}
+\end_layout
+
+\begin_layout LyX-Code
+EndBabelPreamble
+\end_layout
+
+\end_deeper
+\begin_layout Standard
+In principle, any legal LaTeX may appear in the 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+LangPreamble
+\end_layout
+
+\end_inset
+
+ and 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+BabelPreamble
+\end_layout
+
+\end_inset
+
+ tags, but in practice they will typically look as they do here.
+ The key to correct translation of the typeset text is the definition of
+ the LaTeX command 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+claimname
+\end_layout
+
+\end_inset
+
+ and its use in 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+newtheorem
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+The 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+LangPreamble
+\end_layout
+
+\end_inset
+
+ tag provides for internationalization based upon the overall language of
+ the document.
+ The contents of the tag will be included in the preamble, just as with
+ the 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Preamble
+\end_layout
+
+\end_inset
+
+ tag.
+ What makes it special is the use of the 
+\begin_inset Quotes eld
+\end_inset
+
+function
+\begin_inset Quotes erd
+\end_inset
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+_()
+\end_layout
+
+\end_inset
+
+, which will be replaced, when LyX produces LaTeX output, with the translation
+ of its argument into the document language.
+\end_layout
+
+\begin_layout Standard
+The 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+BabelPreamble
+\end_layout
+
+\end_inset
+
+ tag is more complex, since it is meant to provide support for multi-language
+ documents and so offers an interface to the 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+babel
+\end_layout
+
+\end_inset
+
+ package.
+ Its contents will be added to the preamble once for each language that
+ appears in the document.
+ In this case, the argument to 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+_()
+\end_layout
+
+\end_inset
+
+ will be replaced with its translation into the language in question; the
+ expression 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+$$lang
+\end_layout
+
+\end_inset
+
+ is replaced by the language name (as used by the babel package).
+\end_layout
+
+\begin_layout Standard
+A German document that also included a French section would thus have the
+ following in the preamble:
+\end_layout
+
+\begin_layout LyX-Code
+
+\backslash
+addto
+\backslash
+captionsfrench{
+\backslash
+renewcommand{
+\backslash
+claimname}{Affirmation}}   
+\backslash
+addto
 \backslash
-addto
-\backslash
-captionsfrench{
-\backslash
-renewcommand{
-\backslash
-claimname}{Affirmation}}   
-\backslash
-addto
-\backslash
 captionsngerman{
 \backslash
 renewcommand{
@@ -12882,111 +14395,752 @@ claimname}{Behauptung}}
 \backslash
 providecommand{
 \backslash
-claimname}{Behauptung}
+claimname}{Behauptung}
+\end_layout
+
+\begin_layout Standard
+LaTeX and 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+babel
+\end_layout
+
+\end_inset
+
+ will then conspire to produce the correct text in the output.
+\end_layout
+
+\begin_layout Standard
+One important point to note here is that the translations are provided by
+ LyX itself, through the 
+\change_inserted -195340706 1334775793
+file 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -195340706 1334775793
+layouttranslations
+\end_layout
+
+\end_inset
+
+
+\change_deleted -195340706 1334775793
+same mechanism it uses for internationalization of the user interface
+\change_unchanged
+.
+ This means, in effect, that 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+LangPreamble
+\end_layout
+
+\end_inset
+
+ and 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+BabelPreamble
+\end_layout
+
+\end_inset
+
+ are really only of use in layout files that are provided with LyX, since
+ text entered in user-created layout files will not be seen by LyX's internation
+alization routines
+\change_inserted -195340706 1334775793
+ unless the 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -195340706 1334775793
+layouttranslations
+\end_layout
+
+\end_inset
+
+ file is modified accordingly
+\change_unchanged
+.
+ That said, however, any layout created with the intention that it will
+ be included with LyX should use these tags where appropriate.
+
+\change_inserted -195340706 1334775793
+ Please note that the paragraph style translations provided by LyX will
+ never change with a minor update (e.g.
+ from version 2.1.x to 2.1.y).
+ It is however quite likely that a major update (e.g.
+ from 2.0.x to 2.1.y) will introduce new translations or corrections.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Subsection
+Floats
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Floats"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Since version 1.3.0 of LyX, it is has been both possible and necessary to
+ define the floats (
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+figure
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+table
+\end_layout
+
+\end_inset
+
+, \SpecialChar \ldots{}
+) in the text class itself.
+ Standard floats are included in the file 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+stdfloats.inc
+\end_layout
+
+\end_inset
+
+, so you may have to do no more than add
+\end_layout
+
+\begin_layout LyX-Code
+Input stdfloats.inc
+\end_layout
+
+\begin_layout Standard
+to your layout file.
+ If you want to implement a text class that proposes some other float types
+ (like the AGU class bundled with LyX), the information below will hopefully
+ help you:
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Extension
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+=
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+] The file name extension of an auxiliary file for the list of figures (or
+ whatever).
+ LaTeX writes the captions to this file.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+GuiName
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+=
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+] The string that will be used in the menus and also for the caption.
+ This is translated to the current language if babel is used.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+HTML*
+\end_layout
+
+\end_inset
+
+ These are used for XHTML output.
+ See 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Tags-for-XHTML"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+IsPredefined
+\end_layout
+
+\end_inset
+
+ [
+\emph on
+
+\begin_inset Flex Code
+status open
+
+\begin_layout Plain Layout
+0
+\end_layout
+
+\end_inset
+
+
+\emph default
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+
+] Indicates whether the float is already defined in the document class or
+ if we instead need to load 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+float.sty
+\end_layout
+
+\end_inset
+
+ and use what it provides to define it on-the-fly.
+ The default is 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+0
+\end_layout
+
+\end_inset
+
+, which means: use 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+float.sty
+\end_layout
+
+\end_inset
+
+.
+ It should be set to 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+
+ if the float is already defined by the LaTeX document class.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+ListCommand
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+=
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+] The command used to generate a list of floats of this type; the leading
+ `
+\backslash
+' should be omitted.
+ This 
+\emph on
+must
+\emph default
+ be given if 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+UsesFloatPkg
+\end_layout
+
+\end_inset
+
+ is false, since there is no standard way to generate this command.
+ It is ignored if 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+UsesFloatPkg
+\end_layout
+
+\end_inset
+
+ is true, since in that case there is a standard way to define the command.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+ListName
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+=
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+] A title for a list of floats of this kind (list of figures, tables, or
+ whatever).
+ It is used for the screen label within LyX; it is passed to LaTeX for use
+ as the title there; and it is used as the title in XHTML output.
+ It will be translated to the document language.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+NumberWithin
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+=
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+] This (optional) argument determines whether floats of this class will
+ be numbered within some sectional unit of the document.
+ For example, if within is equal to 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+chapter
+\end_layout
+
+\end_inset
+
+, the floats will be numbered within chapters.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Placement
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+=
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+] The default placement for the given class of floats.
+ The string should be as in standard LaTeX: 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+t
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+p
+\end_layout
+
+\end_inset
+
+ and 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+
+ for top, bottom, page, and here, respectively.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Note that the order of these letters in the string is irrelevant, like in
+ LaTeX.
+\end_layout
+
+\end_inset
+
+ On top of that there is a new type, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+H
+\end_layout
+
+\end_inset
+
+, which does not really correspond to a float, since it means: put it 
+\begin_inset Quotes eld
+\end_inset
+
+here
+\begin_inset Quotes erd
+\end_inset
+
+ and nowhere else.
+ Note however that the 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+H
+\end_layout
+
+\end_inset
+
+ specifier is special and, because of implementation details, cannot be
+ used in non-built in float types.
+ If you do not understand what this means, just use 
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+tbp
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+RefPrefix
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+] The prefix to use when creating labels referring to floats of this type.
+ This allows the use of formatted references.
+ Note that you can remove any 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+RefPrefix
 \end_layout
 
-\begin_layout Standard
-LaTeX and 
+\end_inset
+
+ set by a copied style by using the special value 
+\begin_inset Quotes eld
+\end_inset
+
+OFF
+\begin_inset Quotes erd
+\end_inset
+
+, which must be all caps.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Style
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+=
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+] The style used when defining the float using 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-babel
+
+\backslash
+newfloat
 \end_layout
 
 \end_inset
 
- will then conspire to produce the correct text in the output.
+.
 \end_layout
 
-\begin_layout Standard
-One important point to note here is that the translations are provided by
- LyX itself, through the same mechanism it uses for internationalization
- of the user interface.
- This means, in effect, that 
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LangPreamble
+Type
 \end_layout
 
 \end_inset
 
- and 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-BabelPreamble
+string
 \end_layout
 
 \end_inset
 
- are really only of use in layout files that are provided with LyX, since
- text entered in user-created layout files will not be seen by LyX's internation
-alization routines.
- That said, however, any layout created with the intention that it will
- be included with LyX should use these tags where appropriate.
-\end_layout
+=
+\begin_inset Quotes erd
+\end_inset
 
-\begin_layout Subsection
-Floats
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Floats"
 
+\begin_inset Quotes erd
 \end_inset
 
+] The 
+\begin_inset Quotes eld
+\end_inset
 
-\end_layout
+type
+\begin_inset Quotes erd
+\end_inset
 
-\begin_layout Standard
-Since version 1.3.0 of LyX, it is has been both possible and necessary to
- define the floats (
-\begin_inset Flex MenuItem
+ of the new class of floats, like program or algorithm.
+ After the appropriate 
+\begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-figure
+
+\backslash
+newfloat
 \end_layout
 
 \end_inset
 
-, 
-\begin_inset Flex MenuItem
+, commands such as 
+\begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-table
+
+\backslash
+begin{program}
 \end_layout
 
 \end_inset
 
-, \SpecialChar \ldots{}
-) in the text class itself.
- Standard floats are included in the file 
+ or 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-stdfloats.inc
-\end_layout
-
-\end_inset
 
-, so you may have to do no more than add
+\backslash
+end{algorithm*}
 \end_layout
 
-\begin_layout LyX-Code
-Input stdfloats.inc
-\end_layout
+\end_inset
 
-\begin_layout Standard
-to your layout file.
- If you want to implement a text class that proposes some other float types
- (like the AGU class bundled with LyX), the information below will hopefully
- help you:
+ will be available.
 \end_layout
 
 \begin_layout Description
@@ -12994,339 +15148,394 @@ to your layout file.
 status collapsed
 
 \begin_layout Plain Layout
-Extension
+UsesFloatPkg
 \end_layout
 
 \end_inset
 
  [
 \begin_inset Flex Code
-status collapsed
+status open
 
 \begin_layout Plain Layout
-string
+0
 \end_layout
 
 \end_inset
 
-=
-\begin_inset Quotes erd
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\emph on
+1
+\end_layout
+
 \end_inset
 
+] Tells us whether this float is defined using the facilities provided by
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+float.sty
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
-] The file name extension of an auxiliary file for the list of figures (or
- whatever).
- LaTeX writes the captions to this file.
+, either by the class file or a package, or on-the-fly by LyX itself.
 \end_layout
 
-\begin_layout Description
+\begin_layout Standard
+Note that defining a float with type 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-GuiName
+
+\emph on
+type
 \end_layout
 
 \end_inset
 
- [
+ automatically defines the corresponding counter with name 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string
+
+\emph on
+type
 \end_layout
 
 \end_inset
 
-=
-\begin_inset Quotes erd
-\end_inset
+.
+\end_layout
 
+\begin_layout Subsection
+Flex insets and InsetLayout
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Flex-insets-and"
 
-\begin_inset Quotes erd
 \end_inset
 
-] The string that will be used in the menus and also for the caption.
- This is translated to the current language if babel is used.
+
 \end_layout
 
-\begin_layout Description
+\begin_layout Standard
+LyX has supported character styles since version 1.4.0; as of version 1.6.0,
+ these are called Flex insets.
+\end_layout
+
+\begin_layout Standard
+Flex insets come in three different kinds: 
+\end_layout
+
+\begin_layout Itemize
+character style (
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-HTML*
+CharStyle
 \end_layout
 
 \end_inset
 
- These are used for XHTML output.
- See 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Tags-for-XHTML"
+): These define semantic markup corresponding to such LaTeX commands as
+\begin_inset Flex Code
+status collapsed
 
-\end_inset
+\begin_layout Plain Layout
 
-.
+\backslash
+noun
 \end_layout
 
-\begin_layout Description
+\end_inset
+
+ and 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-ListCommand
+
+\backslash
+code
 \end_layout
 
 \end_inset
 
- [
+.
+\end_layout
+
+\begin_layout Itemize
+user custom (
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string
+Custom
 \end_layout
 
 \end_inset
 
-=
-\begin_inset Quotes erd
-\end_inset
+): These can be used to define custom collapsible insets, similar to TeX
+ code, footnote, and the like.
+ An obvious example is an endnote inset, which is defined in the 
+\begin_inset Flex Code
+status collapsed
 
+\begin_layout Plain Layout
+endnote
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
-] The command used to generate a list of floats of this type; the leading
- `
-\backslash
-' should be omitted.
- This 
-\emph on
-must
-\emph default
- be given if 
+ module.
+\end_layout
+
+\begin_layout Itemize
+XML elements (
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-NeedsFloatPkg
+Element
 \end_layout
 
 \end_inset
 
- is false, since there is no standard way to generate this command.
- It is ignored if 
+): For use with DocBook classes.
+\end_layout
+
+\begin_layout Standard
+Flex insets are defined using the 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-NeedsFloatPkg
+InsetLayout
 \end_layout
 
 \end_inset
 
is true, since in that case there is a standard way.
tag, which shall be explained in a moment.
 \end_layout
 
-\begin_layout Description
+\begin_layout Standard
+The 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-ListName
+InsetLayout
 \end_layout
 
 \end_inset
 
- [
+ tag also serves another function: It can be used to customize the general
+ layout of many different types of insets.
+ Currently, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string
+InsetLayout
 \end_layout
 
 \end_inset
 
-=
-\begin_inset Quotes erd
-\end_inset
+ can be used to customize the layout parameters for footnotes, marginal
+ notes, note insets, TeX code (ERT) insets, branches, listings, indexes,
+ boxes, tables, algorithms, URLs, and optional arguments, as well as to
+ define Flex insets.
+\end_layout
+
+\begin_layout Standard
+The 
+\begin_inset Flex Code
+status collapsed
 
+\begin_layout Plain Layout
+InsetLayout
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
-] A title for a list of floats of this kind (list of figures, tables, or
- whatever).
- It is used for the screen label within LyX; it is passed to LaTeX for use
- as the title there; and it is used as the title in XHTML output.
- It will be translated to the document language.
+ definition must begin with a line of the form:
+\end_layout
+
+\begin_layout LyX-Code
+InsetLayout <Type>
 \end_layout
 
-\begin_layout Description
+\begin_layout Standard
+Here 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-NeedsFloatPkg
+<Type>
 \end_layout
 
 \end_inset
 
- [
+ indicates the inset whose layout is being defined, and here there are 
+\change_inserted 5863208 1334489266
+three
+\change_deleted 5863208 1334489267
+two
+\change_unchanged
+ cases.
+\end_layout
+
+\begin_layout Enumerate
+The layout for a pre-existing inset is being modified.
+ In this case, can be 
 \begin_inset Flex Code
-status open
+status collapsed
 
 \begin_layout Plain Layout
-0
+<Type>
 \end_layout
 
 \end_inset
 
-, 
+ any one of the following: 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\emph on
-1
+Algorithm
 \end_layout
 
 \end_inset
 
-] Indicates whether the float is already defined in the document class or
- if we instead need to load 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-float.sty
+Branch
 \end_layout
 
 \end_inset
 
- and use what it provides.
- The default is 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-1
+Box
 \end_layout
 
 \end_inset
 
-, which means: use 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-float.sty
+Box:shaded
 \end_layout
 
 \end_inset
 
-.
- It should be set to 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-0
+ERT
 \end_layout
 
 \end_inset
 
- if the float is already defined by the LaTeX document class.
-\end_layout
-
-\begin_layout Description
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-NumberWithin
+Figure
 \end_layout
 
 \end_inset
 
- [
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string
+Foot
 \end_layout
 
 \end_inset
 
-=
-\begin_inset Quotes erd
-\end_inset
+, 
+\begin_inset Flex Code
+status collapsed
 
+\begin_layout Plain Layout
+Index
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
-] This (optional) argument determines whether floats of this class will
- be numbered within some sectional unit of the document.
- For example, if within is equal to 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-chapter
+Info
 \end_layout
 
 \end_inset
 
-, the floats will be numbered within chapters.
-\end_layout
-
-\begin_layout Description
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Placement
+Info:menu
 \end_layout
 
 \end_inset
 
- [
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string
+Info:shortcut
 \end_layout
 
 \end_inset
 
-=
-\begin_inset Quotes erd
-\end_inset
+, 
+\begin_inset Flex Code
+status collapsed
 
+\begin_layout Plain Layout
+Info:shortcuts
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
-] The default placement for the given class of floats.
- The string should be as in standard LaTeX: 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-t
+Listings
 \end_layout
 
 \end_inset
 status collapsed
 
 \begin_layout Plain Layout
-b
+Marginal
 \end_layout
 
 \end_inset
 status collapsed
 
 \begin_layout Plain Layout
-p
+Note:Comment
 \end_layout
 
 \end_inset
 
- and 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-h
+Note:Note
 \end_layout
 
 \end_inset
 
- for top, bottom, page, and here, respectively.
-\begin_inset Foot
+, 
+\begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Note that the order of these letters in the string is irrelevant, like in
- LaTeX.
+Note:Greyedout
 \end_layout
 
 \end_inset
 
- On top of that there is a new type
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-H
-\end_layout
 
-\end_inset
+\change_deleted -712698321 1353866704
+Opt
+\change_unchanged
+Arg
+\change_inserted -712698321 1353866707
+ument
+\change_unchanged
 
-, which does not really correspond to a float, since it means: put it 
-\begin_inset Quotes eld
-\end_inset
+\end_layout
 
-here
-\begin_inset Quotes erd
 \end_inset
 
- and nowhere else.
- Note however that the 
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-H
+Table
 \end_layout
 
 \end_inset
 
- specifier is special and, because of implementation details, cannot be
- used in non-built in float types.
- If you do not understand what this means, just use 
-\begin_inset Quotes eld
-\end_inset
-
-
+, or 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-tbp
+URL
 \end_layout
 
 \end_inset
 
-
-\begin_inset Quotes erd
-\end_inset
-
 .
 \end_layout
 
-\begin_layout Description
+\begin_layout Enumerate
+The layout for a Flex inset is being defined.
+ In this case, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-RefPrefix
+<Type>
 \end_layout
 
 \end_inset
 
- [
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-string
-\end_layout
-
+ must be of the form 
+\begin_inset Quotes eld
 \end_inset
 
-] The prefix to use when creating labels referring to floats of this type.
- This allows the use of formatted references.
- Note that you can remove any 
+
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-RefPrefix
+Flex:<name>
 \end_layout
 
 \end_inset
 
- set by a copied style by using the special value 
-\begin_inset Quotes eld
-\end_inset
 
-OFF
 \begin_inset Quotes erd
 \end_inset
 
-, which must be all caps.
-\end_layout
-
-\begin_layout Description
+, where 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Style
+name
 \end_layout
 
 \end_inset
 
- [
+ may be be any valid identifier not used by a pre-existing Flex inset.
+ The identifier may include spaces, but in that case the whole thing must
+ be wrapped in quotes.
+ Note that the definition of a flex inset 
+\emph on
+must 
+\emph default
+also include a 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string
+LyXType
 \end_layout
 
 \end_inset
 
-=
-\begin_inset Quotes erd
-\end_inset
+ entry, declaring which type of inset it defines.
+\change_inserted 5863208 1334489312
 
+\end_layout
 
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Enumerate
 
-] The style used when defining the float using 
+\change_inserted 5863208 1334492248
+The layout for user specific branch is being defined.
+ In this case, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
-\backslash
-newfloat
+\change_inserted 5863208 1334489384
+<Type>
 \end_layout
 
 \end_inset
 
-.
-\end_layout
-
-\begin_layout Description
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-Type
-\end_layout
-
+ must be of the form 
+\begin_inset Quotes eld
 \end_inset
 
- [
+
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-string
-\end_layout
-
-\end_inset
-
-=
-\begin_inset Quotes erd
-\end_inset
 
+\change_inserted 5863208 1334489392
+Branch:<name>
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
-] The 
-\begin_inset Quotes eld
-\end_inset
 
-type
 \begin_inset Quotes erd
 \end_inset
 
- of the new class of floats, like program or algorithm.
- After the appropriate 
+, where 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
-\backslash
-newfloat
+\change_inserted 5863208 1334489384
+name
 \end_layout
 
 \end_inset
 
-, commands such as 
+ may be be any valid identifier of branch defined in user's document.
+ The identifier may include spaces, but in that case the whole thing must
+ be wrapped in quotes.
+ The main purpose of this feature is to allow LaTeX wrapping around specific
+ branches as user needs.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+The 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\backslash
-begin{program}
+InsetLayout
 \end_layout
 
 \end_inset
 
- or 
+ definition can contain the following entries:
+\end_layout
+
+\begin_layout Description
+
+\change_inserted -712698321 1353681390
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
-\backslash
-end{algorithm*}
+\change_inserted -712698321 1353681344
+Argument
 \end_layout
 
 \end_inset
 
- will be available.
-\end_layout
-
-\begin_layout Standard
-Note that defining a float with type 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
-\emph on
-type
+\change_inserted -712698321 1353681344
+int
 \end_layout
 
 \end_inset
 
- automatically defines the corresponding counter with name 
+] Defines argument number <int> of a command\SpecialChar \slash{}
+environment associated with
+ the current layout.
+ The definition must end with 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
-\emph on
-type
+\change_inserted -712698321 1353681344
+EndArgument
 \end_layout
 
 \end_inset
 
 .
-\end_layout
-
-\begin_layout Subsection
-Flex insets and InsetLayout
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Flex-insets-and"
-
+ See section
+\begin_inset space ~
 \end_inset
 
 
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Paragraph-Styles"
 
-\begin_layout Standard
-LyX has supported character styles since version 1.4.0; as of version 1.6.0,
- these are called Flex insets.
-\end_layout
+\end_inset
 
-\begin_layout Standard
-Flex insets come in three different kinds: 
+ for details.
 \end_layout
 
-\begin_layout Itemize
-character style (
+\begin_layout Description
+
+\change_inserted -195340706 1333913893
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-CharStyle
+BabelPreamble
 \end_layout
 
 \end_inset
 
-): These define semantic markup corresponding to such LaTeX commands as
+ Preamble for changing languages.
+ See section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:I18n"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\backslash
-noun
+BgColor
 \end_layout
 
 \end_inset
 
- and 
+ The color for the inset's background.
+ The valid colors are defined in 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\backslash
-code
+src/ColorCode.h
 \end_layout
 
 \end_inset
 .
 \end_layout
 
-\begin_layout Itemize
-user custom (
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Custom
+ContentAsLabel
 \end_layout
 
 \end_inset
 
-): These can be used to define custom collapsible insets, similar to TeX
- code, footnote, and the like.
- An obvious example is an endnote inset, which is defined in the 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-endnote
+
+\emph on
+0
 \end_layout
 
 \end_inset
 
- module.
-\end_layout
-
-\begin_layout Itemize
-XML elements (
+,
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Element
+1
 \end_layout
 
 \end_inset
 
-): For use with DocBook classes.
+] Whether to use the content of the inset as the label, when the inset is
+ closed.
+ Default is false.
 \end_layout
 
-\begin_layout Standard
-Flex insets are defined using the 
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-InsetLayout
+CopyStyle
 \end_layout
 
 \end_inset
 
- tag, which shall be explained in a moment.
-\end_layout
-
-\begin_layout Standard
-The 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-InsetLayout
+[string]
 \end_layout
 
 \end_inset
 
- tag also serves another function: It can be used to customize the general
- layout of many different types of insets.
- Currently, 
+ Copies all the features of an existing style into the current one.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-InsetLayout
+CustomPars
 \end_layout
 
 \end_inset
 
- can be used to customize the layout parameters for footnotes, marginal
- notes, note insets, TeX code (ERT) insets, branches, listings, indexes,
- boxes, tables, algorithms, URLs, and optional arguments, as well as to
- define Flex insets.
-\end_layout
-
-\begin_layout Standard
-The 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-InsetLayout
-\end_layout
-
-\end_inset
 
- definition must begin with a line of the form:
+\emph on
+0
 \end_layout
 
-\begin_layout LyX-Code
-InsetLayout <Type>
-\end_layout
+\end_inset
 
-\begin_layout Standard
-Here 
+,
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-<Type>
+1
 \end_layout
 
 \end_inset
 
- indicates the inset whose layout is being defined, and here there are two
- cases.
+] Indicates whether the user may employ the Paragraph Settings dialog to
+ customize the paragraph.
 \end_layout
 
-\begin_layout Enumerate
-The layout for a pre-existing inset is being modified.
- In this case, can be 
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-<Type>
+Decoration
 \end_layout
 
 \end_inset
 
- any one of the following: 
+ can be 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Algorithm
+Classic
 \end_layout
 
 \end_inset
@@ -13817,258 +15983,283 @@ Algorithm
 status collapsed
 
 \begin_layout Plain Layout
-Branch
+Minimalistic
 \end_layout
 
 \end_inset
 
-, 
+, or 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Box
+Conglomerate
 \end_layout
 
 \end_inset
 
-, 
+, describing the rendering style used for the inset's frame and buttons.
+ Footnotes generally use 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Box:shaded
+Classic
 \end_layout
 
 \end_inset
 
-, 
+, ERT insets generally 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-ERT
+Minimalistic
 \end_layout
 
 \end_inset
 
-, 
+, and character styles 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Figure
+Conglomerate
 \end_layout
 
 \end_inset
 
-, 
+.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Foot
+Display
 \end_layout
 
 \end_inset
 
-, 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Index
+0
 \end_layout
 
 \end_inset
 
-, 
+,
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Info
+
+\emph on
+1
 \end_layout
 
 \end_inset
 
-, 
+] Only useful if 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Info:menu
+LatexType
 \end_layout
 
 \end_inset
 
-, 
+ is 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Info:shortcut
+Environment
 \end_layout
 
 \end_inset
 
-, 
+.
+ Indicates whether the environment will stand on its own in LaTeX output
+ or will appear inline with the surrounding text.
+ If set to false, it is supposed that the LaTeX environment ignores white
+ space (including one newline character) after the 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Info:shortcuts
+
+\backslash
+begin{
+\emph on
+LatexName
+\emph default
+}
 \end_layout
 
 \end_inset
 
-, 
+ and 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Listings
+
+\backslash
+end{
+\emph on
+LatexName
+\emph default
+}
 \end_layout
 
 \end_inset
 
-, 
+ tags.
+ Default is true.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Marginal
+End
 \end_layout
 
 \end_inset
 
-, 
+ Required at the end of the InsetLayout declarations.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Note:Comment
+Font
 \end_layout
 
 \end_inset
 
-, 
-\begin_inset Flex Code
-status collapsed
+ The font used for both the text body 
+\emph on
+and
+\emph default
+ the label.
+ See section
+\begin_inset space ~
+\end_inset
 
-\begin_layout Plain Layout
-Note:Note
-\end_layout
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Font-description"
 
 \end_inset
 
-, 
+.
+ Note that defining this font automatically defines the 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Note:Greyedout
+LabelFont
 \end_layout
 
 \end_inset
 
-, 
+ to the same value, so define this first and define 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-OptArg
+LabelFont
 \end_layout
 
 \end_inset
 
-, 
-\begin_inset Flex Code
-status collapsed
+ later if you want them to be different.
+\change_inserted 155139281 1354130923
 
-\begin_layout Plain Layout
-Table
 \end_layout
 
-\end_inset
+\begin_layout Description
 
-, or 
+\change_inserted 155139281 1354130923
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-URL
+
+\change_inserted 155139281 1354130923
+ForceLocalFontSwitch
 \end_layout
 
 \end_inset
 
-.
-\end_layout
-
-\begin_layout Enumerate
-The layout for a Flex inset is being defined.
- In this case, 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-<Type>
-\end_layout
 
-\end_inset
+\change_inserted 155139281 1354130923
 
- may be be any valid identifier not used by a pre-existing inset.
- The identifier may include spaces, but in that case the whole thing must
- be wrapped in quotes.
- It may also include a namespace identifier, preceding a colon, such as
-\begin_inset Quotes eld
-\end_inset
+\emph on
+0
+\end_layout
 
+\end_inset
 
+,
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Flex:Code
-\end_layout
-
-\end_inset
 
+\change_inserted 155139281 1354130923
+1
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
-.
- Note that the definition of a flex inset 
-\emph on
-must 
-\emph default
-also include a 
+] When using babel, always use a local font switch (
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LyXType
-\end_layout
 
-\end_inset
+\change_inserted 155139281 1354130923
 
- entry, declaring which type of inset it defines.
+\backslash
+foreignlanguage
 \end_layout
 
-\begin_layout Standard
-The 
+\end_inset
+
+), never a global one (such as 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-InsetLayout
+
+\change_inserted 155139281 1354130923
+
+\backslash
+selectlanguage
 \end_layout
 
 \end_inset
 
- definition can contain the following entries:
+).
+\change_unchanged
+
 \end_layout
 
 \begin_layout Description
@@ -14076,23 +16267,29 @@ InsetLayout
 status collapsed
 
 \begin_layout Plain Layout
-BgColor
+ForceLTR
 \end_layout
 
 \end_inset
 
- The color for the inset's background.
- The valid colors are defined in 
-\begin_inset Flex Code
-status collapsed
+ Force the 
+\begin_inset Quotes eld
+\end_inset
 
-\begin_layout Plain Layout
-src/ColorCode.h
-\end_layout
+latex
+\begin_inset Quotes erd
+\end_inset
+
+ language, leading to Left-to-Right (latin) output, e.
+\begin_inset space \thinspace{}
+\end_inset
 
+g.
+\begin_inset space \space{}
 \end_inset
 
-.
+in TeX code or URL.
+ A kludge.
 \end_layout
 
 \begin_layout Description
@@ -14100,7 +16297,7 @@ src/ColorCode.h
 status collapsed
 
 \begin_layout Plain Layout
-ContentAsLabel
+ForcePlain
 \end_layout
 
 \end_inset
@@ -14127,29 +16324,19 @@ status collapsed
 
 \end_inset
 
-] Whether to use the content of the inset as the label, when the inset is
- closed.
- Default is false.
-\end_layout
-
-\begin_layout Description
+] Indicates whether the 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-CopyStyle
+PlainLayout
 \end_layout
 
 \end_inset
 
- As with paragraph styles (see page 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "des:CopyStyle"
-
-\end_inset
-
-).
+ should be used or, instead, the user can change the paragraph style used
+ in the inset.
+ Default is false.
 \end_layout
 
 \begin_layout Description
@@ -14157,7 +16344,7 @@ reference "des:CopyStyle"
 status collapsed
 
 \begin_layout Plain Layout
-CustomPars
+FreeSpacing
 \end_layout
 
 \end_inset
@@ -14174,7 +16361,7 @@ status collapsed
 
 \end_inset
 
-,
+, 
 \begin_inset Flex Code
 status collapsed
 
@@ -14184,82 +16371,86 @@ status collapsed
 
 \end_inset
 
-] Indicates whether the user may employ the Paragraph Settings dialog to
- customize the paragraph.
-\end_layout
-
-\begin_layout Description
+] Usually LyX doesn't allow you to insert more than one space between words,
+ since a space is considered as the separation between two words, not a
+ character or symbol of its own.
+ This is a very fine thing but sometimes annoying, for example, when typing
+ program code or plain LaTeX code.
+ For this reason, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Decoration
+FreeSpacing
 \end_layout
 
 \end_inset
 
- can be 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-Classic
+ can be enabled.
+ Note that LyX will create protected blanks for the additional blanks when
+ in another mode than LaTeX-mode.
+ Default is false.
 \end_layout
 
-\end_inset
-
-, 
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Minimalistic
+HTML*
 \end_layout
 
 \end_inset
 
-, or 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-Conglomerate
-\end_layout
+ These tags control XHTML output.
+ See section 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Tags-for-XHTML"
 
 \end_inset
 
-, describing the rendering style used for the inset's frame and buttons.
- Footnotes generally use 
+.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Classic
+InToc
 \end_layout
 
 \end_inset
 
-, ERT insets generally 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Minimalistic
+
+\emph on
+0
 \end_layout
 
 \end_inset
 
-, and character styles 
+,
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Conglomerate
+1
 \end_layout
 
 \end_inset
 
-.
+] Whether to include the contents of this inset in the strings generated
+ for the `Outline' pane.
+ One would not, for example, want the content of a footnote in a section
+ header to be included in the TOC displayed in the outline, but one would
+ normally want the content of a character style displayed.
+ Default is false: not to include.
 \end_layout
 
 \begin_layout Description
@@ -14267,7 +16458,7 @@ Conglomerate
 status collapsed
 
 \begin_layout Plain Layout
-Display
+KeepEmpty
 \end_layout
 
 \end_inset
@@ -14277,111 +16468,115 @@ Display
 status collapsed
 
 \begin_layout Plain Layout
+
+\emph on
 0
 \end_layout
 
 \end_inset
 
-,
+, 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\emph on
 1
 \end_layout
 
 \end_inset
 
-] Only useful if 
+] Usually LyX does not allow you to leave a paragraph empty, since it would
+ lead to empty LaTeX output.
+ There are some cases where this could be desirable however: in a letter
+ template, the required fields can be provided as empty fields, so that
+ people do not forget them; in some special classes, a style can be used
+ as some kind of break, which does not contain actual text.
+ Default is false.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LatexType
+LabelFont
 \end_layout
 
 \end_inset
 
- is 
+ The font used for the label.
+ See section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Font-description"
+
+\end_inset
+
+.
+ Note that this definition can never appear before 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Environment
+Font
 \end_layout
 
 \end_inset
 
-.
- Indicates whether the environment will stand on its own in LaTeX output
- or will appear inline with the surrounding text.
- If set to false, it is supposed that the LaTeX environment ignores white
- space (including one newline character) after the 
+, lest it be ineffective.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\backslash
-begin{
-\emph on
-LatexName
-\emph default
-}
+LabelString
 \end_layout
 
 \end_inset
 
- and 
+ What will be displayed on the button or elsewhere as the inset label.
+ Some inset types (
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\backslash
-end{
-\emph on
-LatexName
-\emph default
-}
+TeX code
 \end_layout
 
 \end_inset
 
- tags.
- Default is true.
-\end_layout
-
-\begin_layout Description
+ and 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-End
+Branch
 \end_layout
 
 \end_inset
 
- Required at the end of the InsetLayout declarations.
+) modify this label on the fly.
 \end_layout
 
 \begin_layout Description
+
+\change_inserted -195340706 1333913893
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Font
+LangPreamble
 \end_layout
 
-\end_inset
-
- The font used for both the text body 
-\emph on
-and
-\emph default
- the label.
+\end_inset
+
+ Language dependent preamble.
  See section
 \begin_inset space ~
 \end_inset
@@ -14389,62 +16584,59 @@ and
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sub:Font-description"
+reference "sub:I18n"
 
 \end_inset
 
 .
- Note that defining this font automatically defines the 
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelFont
+LatexName
 \end_layout
 
 \end_inset
 
- to the same value, so define this first and define 
+ The name of the corresponding LaTeX stuff.
+ Either the environment or command name.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelFont
+LatexParam
 \end_layout
 
 \end_inset
 
- later if you want them to be different.
-\end_layout
-
-\begin_layout Description
+ The optional parameter for the corresponding 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-ForceLTR
+LatexName
 \end_layout
 
 \end_inset
 
- Force the 
-\begin_inset Quotes eld
-\end_inset
-
-latex
-\begin_inset Quotes erd
-\end_inset
+ stuff, including possible bracket pairs like 
+\begin_inset Flex Code
+status collapsed
 
- language, leading to Left-to-Right (latin) output, e.
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
+[]
+\end_layout
 
-g.
-\begin_inset space \space{}
 \end_inset
 
-in TeX code or URL.
A kludge.
+.
This parameter cannot be changed from within LyX.
 \end_layout
 
 \begin_layout Description
@@ -14452,7 +16644,7 @@ in TeX code or URL.
 status collapsed
 
 \begin_layout Plain Layout
-ForcePlain
+LatexType
 \end_layout
 
 \end_inset
@@ -14463,246 +16655,336 @@ status collapsed
 
 \begin_layout Plain Layout
 
+\change_deleted -712698321 1353867544
+
 \emph on
-0
+Paragraph
+\emph default
+, 
+\change_unchanged
+Command, Environment, 
+\change_inserted -712698321 1353867573
+None
+\change_deleted -712698321 1353867557
+Item_Environment,
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
-,
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-1
+
+\change_deleted -712698321 1353867564
+List_Environment
+\change_unchanged
+, 
+\change_deleted -712698321 1353867569
+Bib_Environment
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
-] Indicates whether the PlainLayout should be used or, instead, the user
- can change the paragraph style used in the inset.
- Default is false.
-\end_layout
+] How the style should be translated into LaTeX.
+\begin_inset Foot
+status collapsed
 
-\begin_layout Description
+\begin_layout Plain Layout
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-FreeSpacing
+LatexType
 \end_layout
 
 \end_inset
 
- As with paragraph styles (see page 
-\begin_inset CommandInset ref
-LatexCommand pageref
-reference "des:FreeSpacing"
+ is perhaps a bit misleading, since these rules apply to SGML classes, too.
+ Visit the SGML class files for specific examples.
+\end_layout
 
 \end_inset
 
-).
- Default is false.
+
 \end_layout
 
-\begin_layout Description
+\begin_deeper
+\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-HTML*
-\end_layout
 
-\end_inset
+\change_deleted -712698321 1353867582
+Paragraph
+\change_inserted -712698321 1353867583
+None
+\change_unchanged
 
- These tags control XHTML output.
- See section 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Tags-for-XHTML"
+\end_layout
 
 \end_inset
 
-.
+ means nothing special.
 \end_layout
 
-\begin_layout Description
+\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-InToc
+Command
 \end_layout
 
 \end_inset
 
- [
+ means 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
 
+\backslash
+
 \emph on
-0
+LatexName
+\emph default
+{\SpecialChar \ldots{}
+}
 \end_layout
 
 \end_inset
 
-,
+.
+\end_layout
+
+\begin_layout Itemize
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-1
+Environment
 \end_layout
 
 \end_inset
 
-] Whether to include the contents of this inset in the strings generated
- for the `Outline' pane.
- One would not, for example, want the content of a footnote in a section
- header to be included in the TOC displayed in the outline, but one would
- normally want the content of a character style displayed.
- Default is false: not to include.
-\end_layout
-
-\begin_layout Description
+ means 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-KeepEmpty
-\end_layout
 
-\end_inset
+\backslash
+begin{
+\emph on
+LatexName
+\emph default
+}\SpecialChar \ldots{}
 
- As with paragraph styles (see page 
-\begin_inset CommandInset ref
-LatexCommand pageref
-reference "des:KeepEmpty"
+\backslash
+end{
+\emph on
+LatexName
+\emph default
+}
+\end_layout
 
 \end_inset
 
-).
- Default is false.
+.
 \end_layout
 
-\begin_layout Description
+\begin_layout Itemize
+
+\change_deleted -712698321 1353867600
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelFont
+Item_Environment
 \end_layout
 
 \end_inset
 
- The font used for the label.
- See section
-\begin_inset space ~
-\end_inset
-
+ is the same as 
+\begin_inset Flex Code
+status collapsed
 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Font-description"
+\begin_layout Plain Layout
+Environment
+\end_layout
 
 \end_inset
 
-.
- Note that this definition can never appear before 
+, except that an 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-Font
+
+\backslash
+item
 \end_layout
 
 \end_inset
 
-, lest it be ineffective.
+ is generated for each paragraph of this environment.
 \end_layout
 
-\begin_layout Description
+\begin_layout Itemize
+
+\change_deleted -712698321 1353867600
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LabelString
+List_Environment
 \end_layout
 
 \end_inset
 
- What will be displayed on the button or elsewhere as the inset label.
- Some inset types (TeX code and Branch) modify this label on the fly.
+ is the same as 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Item_Environment
 \end_layout
 
-\begin_layout Description
+\end_inset
+
+, except that 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LatexName
+LabelWidthString
 \end_layout
 
 \end_inset
 
- The name of the corresponding LaTeX stuff.
- Either the environment or command name.
+ is passed as an argument to the environment.
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+LabelWidthString
 \end_layout
 
-\begin_layout Description
-\begin_inset Flex Code
+\end_inset
+
+ can be defined in the 
+\begin_inset Flex MenuItem
 status collapsed
 
 \begin_layout Plain Layout
-LatexParam
+
+\bar under
+Edit
+\bar default
+\SpecialChar \menuseparator
+
+\bar under
+P
+\bar default
+aragraph
+\begin_inset space ~
+\end_inset
+
+settings
+\end_layout
+
+\end_inset
+
+ dialog.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+Putting the last few things together, the LaTeX output will be either: 
+\end_layout
+
+\begin_layout LyX-Code
+
+\backslash
+latexname[latexparam]{\SpecialChar \ldots{}
+}
+\end_layout
+
+\begin_layout Standard
+or: 
+\end_layout
+
+\begin_layout LyX-Code
+
+\backslash
+begin{latexname}[latexparam] \SpecialChar \ldots{}
+\backslash
+end{latexname}.
+\end_layout
+
+\begin_layout Standard
+depending upon the LaTeX type.
 \end_layout
 
-\end_inset
+\end_deeper
+\begin_layout Description
 
- The optional parameter for the corresponding 
+\change_inserted -712698321 1354263128
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LatexName
+
+\change_inserted -712698321 1353866742
+LeftDelim
+\change_unchanged
+
 \end_layout
 
 \end_inset
 
- stuff, including possible bracket pairs like 
+ [
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-[]
+
+\change_inserted -712698321 1353866752
+string
 \end_layout
 
 \end_inset
 
-.
- This parameter cannot be changed from within LyX.
-\end_layout
-
-\begin_layout Description
+] A string that is put at the beginning of the layout content.
+ A line break in the output can be indicated by 
 \begin_inset Flex Code
 status collapsed
 
 \begin_layout Plain Layout
-LatexType
+
+\change_inserted -712698321 1354263128
+<br/>
 \end_layout
 
 \end_inset
 
- As with paragraph styles (see page 
-\begin_inset CommandInset ref
-LatexCommand pageref
-reference "des:LatexType"
-
-\end_inset
+.
+\change_unchanged
 
-).
 \end_layout
 
 \begin_layout Description
@@ -14920,7 +17202,7 @@ status collapsed
 
 \end_inset
 
-] Whether fragile commands in this layout should be 
+] Whether fragile commands in this inset should be 
 \begin_inset Flex Code
 status collapsed
 
@@ -14972,14 +17254,18 @@ status collapsed
 
 \end_inset
 
-] As with paragraph styles (see page 
-\begin_inset CommandInset ref
-LatexCommand pageref
-reference "des:ParbreakIsNewline"
+] Indicates that paragraphs will not be separated by an empty line in LaTeX
+ output, but only by a line break; together with 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+PassThru 1
+\end_layout
 
 \end_inset
 
-).
+, this allows to emulate a plain text editor (like the ERT inset).
  Default is false.
 \end_layout
 
@@ -15005,7 +17291,7 @@ status collapsed
 
 \end_inset
 
-,
+, 
 \begin_inset Flex Code
 status collapsed
 
@@ -15015,15 +17301,8 @@ status collapsed
 
 \end_inset
 
-] As with paragraph styles (see page 
-\begin_inset CommandInset ref
-LatexCommand pageref
-reference "des:PassThru"
-
-\end_inset
-
-).
- Default is false.
+] Whether the contents of this paragraph should be output in raw form, meaning
+ without special translations that LaTeX would require.
 \end_layout
 
 \begin_layout Description
@@ -15036,14 +17315,28 @@ Preamble
 
 \end_inset
 
- As with paragraph styles (see page 
-\begin_inset CommandInset ref
-LatexCommand pageref
-reference "des:Preamble"
+ Information to be included in the LaTeX preamble when this style is used.
+ Used to define macros, load packages, etc., required by this particular
+ style.
+ Must end with 
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+EndPreamble
+\end_layout
 
 \end_inset
 
-).
+
+\begin_inset Quotes erd
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Description
@@ -15090,14 +17383,110 @@ string
 
 \end_inset
 
-] As with paragraph styles (see page 
+] Whether the style requires the feature 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+string
+\end_layout
+
+\end_inset
+
+.
+ See the description of 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Provides
+\end_layout
+
+\end_inset
+
+ above (page 
 \begin_inset CommandInset ref
 LatexCommand pageref
-reference "des:Requires"
+reference "des:FreeSpacing"
 
 \end_inset
 
-).
+) for information on `features'.
+\change_inserted -712698321 1354439699
+
+\end_layout
+
+\begin_layout Description
+
+\change_inserted -712698321 1354439705
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1354439699
+ResetArgs
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1354439699
+
+\emph on
+0
+\end_layout
+
+\end_inset
+
+,
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1354439699
+1
+\end_layout
+
+\end_inset
+
+] Resets the LaTeX arguments of this layout (as defined via the 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1354439699
+Argument
+\end_layout
+
+\end_inset
+
+ tag).
+ This is useful if you have copied a style via 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1354439699
+CopyStyle
+\end_layout
+
+\end_inset
+
+, but you do not want to inherit its (required and optional) arguments.
+
+\change_deleted -712698321 1354439698
+\change_unchanged
+
 \end_layout
 
 \begin_layout Description
@@ -15135,6 +17524,52 @@ status collapsed
 ] Whether this inset should use the font of its surrounding environment
  or uses its own.
  Default is true: uses its own.
+\change_inserted -712698321 1353866806
+
+\end_layout
+
+\begin_layout Description
+
+\change_inserted -712698321 1354263134
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353866810
+RightDelim
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353866806
+string
+\end_layout
+
+\end_inset
+
+] A string that is put at the end of the layout content.
+ A line break in the output can be indicated by 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1354263134
+<br/>
+\end_layout
+
+\end_inset
+
+.
+\change_unchanged
+
 \end_layout
 
 \begin_layout Description
@@ -15881,7 +18316,7 @@ Typewriter
 
 \end_inset
 
-] 
+]
 \end_layout
 
 \begin_layout Description
@@ -15928,6 +18363,16 @@ noun
 \begin_inset Flex Code
 status collapsed
 
+\begin_layout Plain Layout
+strikeout
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
 \begin_layout Plain Layout
 underbar
 \end_layout
@@ -15938,6 +18383,26 @@ underbar
 \begin_inset Flex Code
 status collapsed
 
+\begin_layout Plain Layout
+uuline
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+uwave
+\end_layout
+
+\end_inset
+
+, 
+\begin_inset Flex Code
+status collapsed
+
 \begin_layout Plain Layout
 no_emph
 \end_layout
@@ -15954,7 +18419,17 @@ no_noun
 
 \end_inset
 
- and 
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+no_strikeout
+\end_layout
+
+\end_inset
+
+, 
 \begin_inset Flex Code
 status collapsed
 
@@ -15964,6 +18439,26 @@ no_bar
 
 \end_inset
 
+, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+no_uuline
+\end_layout
+
+\end_inset
+
+ and 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+no_uwave
+\end_layout
+
+\end_inset
+
 .
  Each of these turns on or off the corresponding attribute.
  For example, 
@@ -16290,7 +18785,7 @@ misc %author%,
 \begin_inset Quotes erd
 \end_inset
 
-
+.
 \end_layout
 
 \begin_layout Standard
@@ -18481,7 +20976,6 @@ src/FontInfo.cpp
 \end_inset
 
  for the details.
 \end_layout
 
 \begin_layout Chapter
@@ -18628,7 +21122,7 @@ This distinction is important in order to allow updating of the material
  multiple export formats.
  For instance, in the case of a plain text file, it is not exactly an award-winn
 ing idea to include the figure as raw PostScript.
- Instead, you'd either prefer to just include a reference to the figure
+ Instead, you would either prefer to just include a reference to the figure
  or try to invoke some graphics to ASCII converter to make the final result
  look similar to the real graphics.
  The external material management allows you to do this, because it is parametri
@@ -19112,7 +21606,11 @@ InputFormat
 \end_inset
 
  The file format of the original file.
- This must be the name of a format that is known to LyX (see section 
+ This must be the name of a format that is known to LyX (see section
+\begin_inset space ~
+\end_inset
+
+
 \begin_inset CommandInset ref
 LatexCommand ref
 reference "sec:Formats"
@@ -19253,7 +21751,7 @@ Format
 
 \end_inset
 
- section for all formats.
+ section for all templates.
  Use a dummy text when no representation is available.
  Then you can at least see a reference to the external material in the exported
  document.
@@ -19621,7 +22119,9 @@ ools\SpecialChar \menuseparator
 \bar under
 P
 \bar default
-references:Conversion
+references\SpecialChar \menuseparator
+File Handling\SpecialChar \menuseparator
+File Format
 \end_layout
 
 \end_inset