X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fvarwidth.module;h=04a0867fb11b1b6b508dd46d27c88e1d9465e441;hb=e2e74ffb0a72477420bfc2a8be0fcfbafe52e8ae;hp=f1aebf52b6a1549c2e00780d9ef5e5a21f27d4cb;hpb=4d6f9eb089bfa664374e599db17d9f671a22f968;p=lyx.git diff --git a/lib/layouts/varwidth.module b/lib/layouts/varwidth.module index f1aebf52b6..04a0867fb1 100644 --- a/lib/layouts/varwidth.module +++ b/lib/layouts/varwidth.module @@ -1,4 +1,5 @@ #\DeclareLyXModule{Variable-width Minipages} +#\DeclareCategory{Boxes} #DescriptionBegin # Adds a 'Minipage (Var. Width)' inset using the varwidth LaTeX package. # The varwidth package provides a variable-width minipage, whose resulting @@ -7,12 +8,14 @@ # # The inset has two optional arguments: vertical adjustment (c|t|b) and # maximum width (defaults to \linewidth). +# +# For an example, see File > Open Example > Modules > Variable-width Minipages. #DescriptionEnd # # Authors: Guillaume Munch # Jürgen Spitzmüller -Format 58 +Format 104 InsetLayout Flex:Minipage_(Var._Width) LyXType custom @@ -30,12 +33,14 @@ InsetLayout Flex:Minipage_(Var._Width) Argument 1 LabelString "Vert. Adjustment" Tooltip "Vertical adjustment: c (center), t (top) or b (bottom)" + DocBookTag IGNORE EndArgument Argument 2 LabelString "Max. Width" Tooltip "Maximum width (default: \linewidth)" DefaultArg "\linewidth" Mandatory 1 + DocBookTag IGNORE EndArgument Requires varwidth End