lyx_mirror/lib/layouts/litinsets.inc
Juergen Spitzmueller b124adbd38 Introduce listpreamble argument type
This uses the InsetArgument interface to provide access to a document
part hitherto inaccessible by LyX: the part between \begin and the first
\item in a list (where lengths and counters can be redefined, for
instance).

Fixes: #11098

File format change, layout format change
2018-08-17 10:22:32 +02:00

56 lines
1.4 KiB
HTML

# Literate Chunk inset definitions.
# This defines the Chunk inset used in the literate modules.
#
# Author: Liviu Andronic <landronimirc@gmail.com>
#
# Note that this file is included in sweave.module,
# knitr.module and noweb.module.
Format 69
Counter chunk
PrettyFormat "Chunk ##"
End
OutlinerName literate "Literate programming"
InsetLayout "Flex:Chunk"
LabelString "Chunk"
LatexType none
LyXType Custom
Counter chunk
RightDelim <br/>@
Decoration Classic
Font
Color latex
Family typewriter
EndFont
# LabelFont
# Color latex
# Size Small
# EndFont
MultiPar true
CustomPars false
ForcePlain true
PassThru 1
ParbreakIsNewline 1
KeepEmpty true
Spellcheck 0
FreeSpacing true
ForceLTR true
AddToToc literate
IsTocCaption 0
Argument 1
Mandatory 1
LabelString "Options"
Tooltip "Options"
LeftDelim <<
RightDelim >>=<br/>
IsTocCaption 1
AutoInsert 1
EndArgument
ResetsFont false
ForceOwnlines true
NeedCProtect true
End