]> git.lyx.org Git - lyx.git/blob - lib/layouts/varwidth.module
Add a pref to disable OS keyboard language support
[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 76
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   EndArgument
37   Argument 2
38     LabelString         "Max. Width"
39     Tooltip             "Maximum width (default: \linewidth)"
40     DefaultArg          "\linewidth"
41     Mandatory           1
42   EndArgument
43   Requires              varwidth
44 End
45