X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fvarwidth.module;h=6c0ea475da4c079697703d17fc93c9803139739c;hb=8d0d3ea0905172b4a1fba7fbfadba83ff61671c6;hp=fc69597de77cc814205c6f83860b7911fcaa9dfd;hpb=a9b8cdca9e56f15128ba80b12cd16efb7ff85a81;p=lyx.git diff --git a/lib/layouts/varwidth.module b/lib/layouts/varwidth.module index fc69597de7..6c0ea475da 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). +# +# See example in varwidth-floats-side-by-side.lyx. #DescriptionEnd # -# Authors: d.iabo +# Authors: Guillaume Munch # Jürgen Spitzmüller -Format 49 +Format 89 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