#LyX 2.4 created this file. For more info see https://www.lyx.org/
-\lyxformat 606
+\lyxformat 608
\begin_document
\begin_header
\save_transient_properties true
\html_css_as_file 0
\html_be_strict true
\docbook_table_output 0
+\docbook_mathml_prefix 1
\author -970929547 "Thibaut Cuvelier"
\author -712698321 "Jürgen Spitzmüller"
\author -584632292 "Richard Kimberly Heck"
\author -495245474 "Jean-Marc Lasgouttes"
\author 5863208 "ab"
+\author 34634807 "Jean-Pierre"
\author 232239728 "Owner"
\author 731793113 "Richard Kimberly Heck" rikiheck@lyx.org
\author 1075283030 "Thibaut"
\change_inserted -712698321 1612018457
ModifyInsetLayout
+\change_unchanged
+
\end_layout
\end_inset
\change_inserted -712698321 1612018466
<type>
+\change_unchanged
+
\end_layout
\end_inset
\change_inserted -712698321 1612018452
End
+\change_unchanged
+
\end_layout
\end_inset
\change_inserted -712698321 1612018506
ProvideInsetLayout
+\change_unchanged
+
\end_layout
\end_inset
\change_inserted -712698321 1612018509
<type>
+\change_unchanged
+
\end_layout
\end_inset
\change_inserted -712698321 1612018500
End
+\change_unchanged
+
\end_layout
\end_inset
\end_inset
-, but with the header column offset with a second horizontal line.
+, but with the header
+\change_deleted 34634807 1619712593
+column
+\change_inserted 34634807 1619712594
+row
+\change_inserted -712698321 1553618309
+ offset with a second horizontal line.
This is also the default style of \SpecialChar LyX
.
\end_layout
] Defines argument number <int> of a command\SpecialChar breakableslash
environment associated with
the current style.
- This is useful for things like section headings, and only makes sense with
+
+\change_inserted -584632292 1615846868
+ The definition must end with
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846867
+EndArgument
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+.
+
+\change_unchanged
+
+\change_inserted -584632292 1615846880
+See
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Arguments"
+plural "false"
+caps "false"
+noprefix "false"
+
+\end_inset
+
+ for more information.
+
+\change_deleted -584632292 1615846694
+This is useful for things like section headings, and only makes sense with
\SpecialChar LaTeX
.
Every (optional or required) argument of a command or environment – except
\begin_deeper
\begin_layout Quote
+\change_deleted -584632292 1615846694
+
\family typewriter
Argument 1
\end_layout
\begin_layout Quote
+\change_deleted -584632292 1615846694
+
\family typewriter
...
\end_layout
\begin_layout Quote
+\change_deleted -584632292 1615846694
+
\family typewriter
EndArgument
\end_layout
\begin_layout Quote
+\change_deleted -584632292 1615846694
+
\family typewriter
Argument 2
\end_layout
\begin_layout Quote
+\change_deleted -584632292 1615846694
+
\family typewriter
...
\end_layout
\begin_layout Quote
+\change_deleted -584632292 1615846694
+
\family typewriter
EndArgument
\end_layout
\begin_layout Standard
+
+\change_deleted -584632292 1615846694
Inside the
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_inset
-\change_inserted -712698321 1555579782
-
\end_layout
\begin_layout Itemize
-\change_inserted -712698321 1555579780
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
) to be used for line breaks.
The initial backslash must not be specified.
-\change_unchanged
-
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_inset
.
-\change_inserted -712698321 1559484228
-
\end_layout
\begin_layout Itemize
-\change_inserted -712698321 1559484228
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_inset
.
-\change_unchanged
-
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\change_deleted -712698321 1559484200
Currently, only one argument per style\SpecialChar breakableslash
layout can be automatically inserted.
-\change_unchanged
+\change_deleted -584632292 1615846694
\end_layout
\begin_layout Itemize
-\change_inserted -712698321 1559491402
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Itemize
+
+\change_deleted -584632292 1615846694
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Standard
+
+\change_deleted -584632292 1615846694
By default, the text entered in the \SpecialChar LyX
workarea in the respective layout is
the last (mandatory) argument of a command if the
\end_layout
\begin_layout Standard
+
+\change_deleted -584632292 1615846694
Arguments for list
\begin_inset Flex Code
status collapsed
\end_inset
).
-\change_inserted -712698321 1534487781
-
\end_layout
\begin_layout Standard
-\change_inserted -712698321 1534488561
+\change_deleted -584632292 1615846694
Finally, there is a special argument type with the prefix
\begin_inset Flex Code
status collapsed
Note that
\change_unchanged
\SpecialChar LyX
- will create protected blanks for the additional blanks when in
+ will create protected blanks for the additional blanks when
+\change_deleted 34634807 1619626461
+ in
+\change_unchanged
+
\change_inserted -495245474 1550490096
\begin_inset Flex Code
.
See
+\change_inserted -584632292 1615846847
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Arguments"
+plural "false"
+caps "false"
+noprefix "false"
+
+\end_inset
+
+
+\change_deleted -584632292 1615846847
+
\begin_inset CommandInset ref
LatexCommand ref
reference "subsec:Paragraph-Styles"
\end_inset
- for details.
+
+\change_unchanged
+ for
+\change_deleted -584632292 1615846902
+details
+\change_inserted -584632292 1615846906
+more information
+\change_unchanged
+.
\end_layout
\begin_layout Description
\end_inset
,
+\change_deleted -584632292 1615846609
+
\begin_inset Flex Code
status collapsed
\end_inset
- or
+
+\change_unchanged
+or
\begin_inset Flex Code
status collapsed
] Allow spell-checking the contents of this inset.
Default is true.
+\change_inserted -584632292 1615846659
+
\end_layout
\begin_layout Subsection
-Counters
+
+\change_inserted -584632292 1615846729
+Arguments
\begin_inset CommandInset label
LatexCommand label
-name "subsec:Counters"
+name "subsec:Arguments"
\end_inset
\end_layout
\begin_layout Standard
-It is necessary to define the counters (
-\begin_inset Flex Noun
+
+\change_inserted -584632292 1615846807
+Both paragraph styles and inset layouts allow for
+\emph on
+arguments
+\emph default
+ as well as the main content.
+ This is especially useful for things like section headings and only makes
+ sense with \SpecialChar LaTeX
+.
+ Each (optional or required) argument of a command or environment—except
+ for the required argument that is associated with the content—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
-chapter
+
+\change_inserted -584632292 1615846730
+EndArgument
+\change_unchanged
+
\end_layout
\end_inset
-,
-\begin_inset Flex Noun
-status collapsed
+.
+ So a command with two optional arguments looks like:
+\end_layout
-\begin_layout Plain Layout
-figure
+\begin_layout Quote
+
+\change_inserted -584632292 1615846730
+
+\family typewriter
+Argument 1
\end_layout
-\end_inset
+\begin_layout Quote
-, \SpecialChar ldots
-) in the text class itself.
- The standard counters are defined in the file
-\begin_inset Flex Code
-status collapsed
+\change_inserted -584632292 1615846730
-\begin_layout Plain Layout
-stdcounters.inc
+\family typewriter
+...
\end_layout
-\end_inset
+\begin_layout Quote
-, so you may have to do no more than add
+\change_inserted -584632292 1615846730
+
+\family typewriter
+EndArgument
\end_layout
-\begin_layout LyX-Code
-Input stdcounters.inc
+\begin_layout Quote
+
+\change_inserted -584632292 1615846730
+
+\family typewriter
+Argument 2
\end_layout
-\begin_layout Standard
-to your layout file to get them to work.
- But if you want to define custom counters, then you can do so.
- The counter declaration must begin with:
+\begin_layout Quote
+
+\change_inserted -584632292 1615846730
+
+\family typewriter
+...
\end_layout
-\begin_layout LyX-Code
-Counter CounterName
+\begin_layout Quote
+
+\change_inserted -584632292 1615846730
+
+\family typewriter
+EndArgument
\end_layout
\begin_layout Standard
-where of course `
+
+\change_inserted -584632292 1615846730
+Inside the
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-CounterName
+
+\change_inserted -584632292 1615846730
+Argument
+\change_unchanged
+
\end_layout
\end_inset
-' is replaced by the name of the counter.
- And it must end with
-\begin_inset Quotes eld
-\end_inset
+ definition, the following specifications are possible:
+\end_layout
+\begin_layout Itemize
+\change_inserted -584632292 1615846730
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-End
-\end_layout
-\end_inset
+\change_inserted -584632292 1615846730
+LabelString
+\change_unchanged
+\end_layout
-\begin_inset Quotes erd
\end_inset
-.
- The following parameters can also be used:
-\end_layout
-
-\begin_layout Description
+
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-InitialValue
+
+\change_inserted -584632292 1615846730
+[string]
+\change_unchanged
+
\end_layout
\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
-int=1
+
+\change_inserted -584632292 1615846730
+MenuString
+\change_unchanged
+
\end_layout
\end_inset
-] Sets the initial value for the counter, to which it will be reset whenever
- that happens.
- Normally, one will want the default, 1.
-\end_layout
+).
+ 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_layout Description
-\begin_inset Flex Code
-status collapsed
+|
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Plain Layout
-LabelString
-\end_layout
+ (e.
+\begin_inset space \thinspace{}
+\end_inset
+g.
+\begin_inset space \space{}
\end_inset
- [
+
+\begin_inset Quotes eld
+\end_inset
+
+
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-string
+
+\change_inserted -584632292 1615846730
+Short Title|S
+\change_unchanged
+
\end_layout
\end_inset
-=
+
\begin_inset Quotes erd
\end_inset
+).
+\end_layout
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Itemize
-] When defined, this string defines how the counter is displayed.
- Setting this value sets
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+MenuString
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[string]
+\change_unchanged
+
+\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
+
+|
+\begin_inset Quotes erd
+\end_inset
+
+ (e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+Short Title|S
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+).
+ This specification is optional.
+ If it is not given the
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+LabelString
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ will be used instead for the menu.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+Tooltip
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[string]
+\change_unchanged
+
+\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 -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+Mandatory
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+
+\emph on
+0
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+,
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+1
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+] Declare if this is a mandatory (1) or an optional (0) 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
+
+\change_inserted -584632292 1615846730
+{...}
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+, while optional arguments are delimited by
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[...]
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+NewlineCmd
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[string]
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ Option to define a different command (from the default
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+
+\backslash
+
+\backslash
+
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+) to be used for line breaks.
+ The initial backslash must not be specified.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+Requires
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[int=0]
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ 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
+
+g., in \SpecialChar 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
+
+\change_inserted -584632292 1615846730
+
+\backslash
+command[][argument]{text}
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+.
+ This can be achieved by the statement
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+Requires 1
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ within
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+Argument 2
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+LeftDelim
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[string]
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ defines a custom left delimiter (instead of
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+{
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ or
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+).
+ A line break in the output can be indicated by
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+<br/>
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+RightDelim
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[string]
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ defines a custom right delimiter (instead of
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+}
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ or
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+]
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+).
+ A line break in the output can be indicated by
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+<br/>
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+DefaultArg
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[string]
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ defines an argument that is inserted if and only if no user-specified arguments
+ were given, i.
+\begin_inset space \thinspace{}
+\end_inset
+
+e.
+\begin_inset space \space{}
+\end_inset
+
+if no argument inset has been inserted (note that also an empty argument
+ inset omits the DefaultArg).
+ Multiple arguments need to be separated by comma.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+PresetArg
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[string]
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ defines an argument that is inserted in any case (alone or in addition
+ to user-specified arguments).
+ Multiple arguments need to be separated by comma.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+Font
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ The font used for the argument content, see
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Font-description"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+FreeSpacing
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+
+\emph on
+0
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+,
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+1
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+] As with paragraph styles, see
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Paragraph-Styles"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+LabelFont
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ The font used for the label; see
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Font-description"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+Decoration
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+
+\emph on
+Classic
+\emph default
+, Minimalistic, Conglomerate
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+] describes the rendering style used for the inset's frame and buttons.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+AutoInsert
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[int=0]
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ If this is set to
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+1
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+, this argument is automatically inserted when the respective style is selected.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+InsertOnNewline
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[int=0]
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ If this is set to
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+1
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+, this argument will be inserted on a new line with
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+AutoInsert
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ (only available within Flex insets).
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+InsertCotext
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+[int=0]
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ If this is set to
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+1
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+, this argument will be inserted with a copy of the co-text (either selected
+ text or the whole paragraph) as content.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+PassThru
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+
+\emph on
+inherited
+\emph default
+, true, false
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+] Whether the contents of this argument should be output in raw form, meaning
+ without special translations that \SpecialChar LaTeX
+ would require.
+ By default, the
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+PassThru
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ status is inherited by the inset or paragraph layout the argument belongs
+ to, true and false change the status for the given argument only.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+PassThruChars
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+string of characters
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+]
+\family typewriter
+
+\family default
+Defines individual characters
+\begin_inset Newline linebreak
+\end_inset
+
+that should be output in raw form, meaning without special translations
+ that \SpecialChar LaTeX
+ would require.
+ Note that, contrary to PassThru, this needs to be explicitly defined for
+ arguments.
+ That is, arguments do not inherit PassThruChars from their parent inset
+ or layout.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -584632292 1615846730
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+IsTocCaption
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+
+\emph on
+0
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+,
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+1
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+] If this is set to 1, the argument will output its content in the corresponding
+ item in the table of contents.
+ See AddToToc.
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -584632292 1615846730
+By default, the text entered in the \SpecialChar LyX
+ workarea in the respective layout is
+ the last (mandatory) argument of a command if the
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+LatexType
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ is
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+Command
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+.
+ However, arguments with the prefix
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+post:
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ are output after this workarea argument.
+ Note that post-argument numbering restarts at 1, so the first argument
+ following the workarea argument is
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+post:1
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+.
+ Post-arguments are ignored in any other
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+LatexType
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ than
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+Command
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -584632292 1615846730
+Arguments for list
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+
+\backslash
+item
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+s (as in
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+
+\backslash
+item[foo]
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+) have the prefix
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+item:
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ followed by the number (e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+Argument item:1
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+).
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -584632292 1615846730
+Finally, there is a special argument type with the prefix
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+listpreamble:
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+.
+ It is not really an argument, but uses the argument interface (thus, the
+ prefix is also followed by a number, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+Argument listpreamble:1
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+).
+ As the name implies, it is targeted at lists such as
+\family sans
+Itemize
+\family default
+,
+\family sans
+Enumerate
+\family default
+,
+\family sans
+Description
+\family default
+, or
+\family sans
+Bibliography
+\family default
+.
+ Its content will be output at the list start, before the first
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -584632292 1615846730
+
+\backslash
+item
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+, on an own line (a place that is otherwise not accessible in \SpecialChar LyX
+).
+ This way, users can insert redefinitions (of lengths etc.) to individual
+ lists.
+ By default, these arguments do not have a delimiter.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Subsection
+Counters
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Counters"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+It is necessary to define the counters (
+\begin_inset Flex Noun
+status collapsed
+
+\begin_layout Plain Layout
+chapter
+\end_layout
+
+\end_inset
+
+,
+\begin_inset Flex Noun
+status collapsed
+
+\begin_layout Plain Layout
+figure
+\end_layout
+
+\end_inset
+
+, \SpecialChar ldots
+) in the text class itself.
+ The standard counters are defined in the file
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+stdcounters.inc
+\end_layout
+
+\end_inset
+
+, so you may have to do no more than add
+\end_layout
+
+\begin_layout LyX-Code
+Input stdcounters.inc
+\end_layout
+
+\begin_layout Standard
+to your layout file to get them to work.
+ But if you want to define custom counters, then you can do so.
+ The counter declaration must begin with:
+\end_layout
+
+\begin_layout LyX-Code
+Counter CounterName
+\end_layout
+
+\begin_layout Standard
+where of course `
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+CounterName
+\end_layout
+
+\end_inset
+
+' is replaced by the name of the counter.
+ And it must end with
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+End
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+.
+ The following parameters can also be used:
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+InitialValue
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+int=1
+\end_layout
+
+\end_inset
+
+] Sets the initial value for the counter, to which it will be reset whenever
+ that happens.
+ Normally, one will want the default, 1.
+\end_layout
+
+\begin_layout Description
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+LabelString
+\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
+
+] When defined, this string defines how the counter is displayed.
+ Setting this value sets
\begin_inset Flex Code
status collapsed
] The counter name as used in \SpecialChar LaTeX
.
- (E.g., in \SpecialChar LyX
+ (
+\change_inserted 34634807 1619711355
+e
+\change_deleted 34634807 1619711355
+E
+\change_inserted -584632292 1607202682
+.g., in \SpecialChar LyX
, there is a counter named `theorem', but it is output to \SpecialChar LaTeX
as `thm'.)
\change_unchanged
\end_inset
- is true—then the contents of the inset will itself be output as paragraphs
- formatted according to the styles used for those paragraphs (standard,
- quote, and the like).
+ is true—then the contents of the inset will
+\change_deleted 34634807 1620029217
+itself
+\change_inserted 34634807 1620029219
+themselves
+\change_inserted -970929547 1515111183
+ be output as paragraphs formatted according to the styles used for those
+ paragraphs (standard, quote, and the like).
The inner tag is optional and, by default, does not appear.
\end_layout
\end_inset
-] Specifies attribute information to be output with the outer tag, replacing
-
+] Specifies attribute information to be output with the outer
+\change_inserted 34634807 1620057958
+wrapper
+\change_inserted -970929547 1515110832
+tag, replacing
\begin_inset Quotes eld
\end_inset
\begin_layout Standard
\change_inserted 1075283030 1597700112
-When the bibliographic entries are manually inserted into the LyX document
- as Bibliography Items, the user deals with formatting themself: there is
- no attempt of parsing what the user wrote, the string is directly used
- (with the
+When the bibliographic entries are manually inserted into the
+\change_deleted 34634807 1620057319
+LyX
+\change_inserted 34634807 1620057319
+\SpecialChar LyX
+
+\change_inserted 1075283030 1597700112
+ document as Bibliography Items, the user deals with formatting
+\change_unchanged
+them
+\change_inserted 1075283030 1597700112
+self: there is no attempt of parsing what the user wrote, the string is
+ directly used (with the
\begin_inset Flex Code
status collapsed