#Adds custom insets that support colored boxes via the tcolorbox package.
#See the tcolorbox documentation for details.
#DescriptionEnd
-#Author: Jürgen Spitzmüller
-# Uwe Stöhr <uwestoehr@lyx.org>
+#Authors: Jürgen Spitzmüller
+# Uwe Stöhr <uwestoehr@lyx.org>
-Format 54
+Format 68
InsetLayout Flex:Color_Box
LyXType custom
Argument 1
LabelString "Color Box Options"
Tooltip "Insert the color box options here (see tcolorbox manual)"
- PassThruChars "\[]{}"
+ PassThruChars "\[]{}"
EndArgument
ResetsFont true
End
InsetLayout Flex:Dynamic_Color_Box
- CopyStyle Flex:Color_Box
+ CopyStyle Flex:Color_Box
LatexType command
LabelString "Color Box (Dynamic)"
LatexName tcbox
End
InsetLayout Flex:Fit_Color_Box
- CopyStyle Flex:Dynamic_Color_Box
+ CopyStyle Flex:Dynamic_Color_Box
LabelString "Color Box (Fit Contents)"
LatexName tcboxfit
End
InsetLayout Flex:Raster_Color_Box
- CopyStyle Flex:Color_Box
+ CopyStyle Flex:Color_Box
LabelString "Raster Color Box"
LatexName tcbraster
End
InsetLayout Flex:Subtitle
- CopyStyle Flex:Dynamic_Color_Box
- LatexName tcbsubtitle
- LabelString "Subtitle"
+ CopyStyle Flex:Dynamic_Color_Box
+ LatexName tcbsubtitle
+ LabelString "Subtitle"
Argument 1
- LabelString "Subtitle Options"
- ToolTip "Insert the options here"
- PassThruChars "\[]{}"
+ LabelString "Subtitle Options"
+ ToolTip "Insert the options here"
+ PassThruChars "\[]{}"
EndArgument
End
LabelString "Name"
Tooltip "Name of the new box type"
Mandatory 1
- AutoInsert 1
+ AutoInsert 1
EndArgument
Argument 3
LabelString "Arguments"
Tooltip "Number of arguments (remove this inset if none!)"
Requires 4
+ PassThru 1
EndArgument
Argument 4
LabelString "Default Value"