]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/tcolorbox.module
apa6.layout: add dependencies
[lyx.git] / lib / layouts / tcolorbox.module
index 4dfed77ede7182c98a68cbe9fa6826e3cfda1cd2..18a0eee39aaac9d14def72c282d0abbb0fcf19b2 100644 (file)
@@ -3,10 +3,10 @@
 #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 65
 
 InsetLayout Flex:Color_Box
   LyXType               custom
@@ -18,38 +18,38 @@ InsetLayout Flex:Color_Box
   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
 
@@ -134,12 +134,13 @@ Style New_Color_Box_Type
     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"