1 #\DeclareLyXModule[tcolorbox.sty,environ.sty,etoolbox.sty,pgf.sty]{Fancy Colored Boxes}
3 #Adds custom insets that support colored boxes via the tcolorbox package.
4 #See the tcolorbox documentation for details.
6 #Authors: Jürgen Spitzmüller
7 # Uwe Stöhr <uwestoehr@lyx.org>
11 InsetLayout Flex:Color_Box
14 LabelString "Color Box"
19 LabelString "Color Box Options"
20 Tooltip "Insert the color box options here (see tcolorbox manual)"
26 InsetLayout Flex:Dynamic_Color_Box
27 CopyStyle Flex:Color_Box
29 LabelString "Color Box (Dynamic)"
33 InsetLayout Flex:Fit_Color_Box
34 CopyStyle Flex:Dynamic_Color_Box
35 LabelString "Color Box (Fit Contents)"
39 InsetLayout Flex:Raster_Color_Box
40 CopyStyle Flex:Color_Box
41 LabelString "Raster Color Box"
45 InsetLayout Flex:Subtitle
46 CopyStyle Flex:Dynamic_Color_Box
48 LabelString "Subtitle"
50 LabelString "Subtitle Options"
51 ToolTip "Insert the options here"
56 Style Color_Box_Separator
57 Category "Color Boxes"
63 AlignPossible Block, Left, Right, Center
82 CopyStyle Color_Box_Separator
91 Category "Color Boxes"
105 LabelString "Color Box Setup"
118 Style New_Color_Box_Type
119 CopyStyle Color_Box_Setup
120 LatexName newtcolorbox
121 LabelString "New Color Box Type"
129 LabelString "New Box Options"
130 Tooltip "Options for the new box type (optional)"
131 PassThruChars "\[]{}"
135 Tooltip "Name of the new box type"
140 LabelString "Arguments"
141 Tooltip "Number of arguments (remove this inset if none!)"
145 LabelString "Default Value"
146 Tooltip "Default value for argument (keep empty!)"
151 # define 5 different box environments that can be customized by the user
153 InsetLayout Flex:Custom_Color_Box_1
154 CopyStyle Flex:Color_Box
155 LabelString "Custom Color Box 1"
158 LabelString "More Color Box Options"
159 Tooltip "Insert more color box options here"
164 InsetLayout Flex:Custom_Color_Box_2
165 CopyStyle Flex:Custom_Color_Box_1
166 LabelString "Custom Color Box 2"
170 InsetLayout Flex:Custom_Color_Box_3
171 CopyStyle Flex:Custom_Color_Box_1
172 LabelString "Custom Color Box 3"
176 InsetLayout Flex:Custom_Color_Box_4
177 CopyStyle Flex:Custom_Color_Box_1
178 LabelString "Custom Color Box 4"
182 InsetLayout Flex:Custom_Color_Box_5
183 CopyStyle Flex:Custom_Color_Box_1
184 LabelString "Custom Color Box 5"