]> git.lyx.org Git - lyx.git/blob - lib/layouts/varwidth.module
Fix typos in comments
[lyx.git] / lib / layouts / varwidth.module
1 #\DeclareLyXModule{Variable-width Minipages}
2 #\DeclareCategory{Boxes}
3 #DescriptionBegin
4 # Adds a 'Minipage (Var. Width)' inset using the varwidth LaTeX package.
5 # The varwidth package provides a variable-width minipage, whose resulting
6 # width is the width of its contents (if this does not exceed the specified
7 # maximum width).
8 #
9 # The inset has two optional arguments: vertical adjustment (c|t|b) and
10 # maximum width (defaults to \linewidth).
11 #
12 # See example in varwidth-floats-side-by-side.lyx.
13 #DescriptionEnd
14 #
15 # Authors: Guillaume Munch <gm@lyx.org>
16 #          Jürgen Spitzmüller <spitz@lyx.org>
17
18 Format 98
19
20 InsetLayout Flex:Minipage_(Var._Width)
21   LyXType               custom
22   LabelString           "Minipage (var.)"
23   LatexType             Environment
24   LatexName             varwidth
25   Decoration            Classic
26   MultiPar              true
27   CustomPars            true
28   ResetsFont            true
29   LabelFont
30     Color               foreground
31     Size                Small
32   EndFont
33   Argument 1
34     LabelString         "Vert. Adjustment"
35     Tooltip             "Vertical adjustment: c (center), t (top) or b (bottom)"
36     DocBookTag      IGNORE
37   EndArgument
38   Argument 2
39     LabelString         "Max. Width"
40     Tooltip             "Maximum width (default: \linewidth)"
41     DefaultArg          "\linewidth"
42     Mandatory           1
43     DocBookTag      IGNORE
44   EndArgument
45   Requires              varwidth
46 End
47