mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 07:16:48 +00:00
9ae4b659dc
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.
See #10678 for discussion
This last part updates the layout format and changes collapsable color.
This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).
(cherry picked from commit 4345331870
)
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
#\DeclareLyXModule{Variable-width Minipages}
|
|
#DescriptionBegin
|
|
# Adds a 'Minipage (Var. Width)' inset using the varwidth LaTeX package.
|
|
# The varwidth package provides a variable-width minipage, whose resulting
|
|
# width is the width of its contents (if this does not exceed the specified
|
|
# maximum width).
|
|
#
|
|
# The inset has two optional arguments: vertical adjustment (c|t|b) and
|
|
# maximum width (defaults to \linewidth).
|
|
#DescriptionEnd
|
|
#
|
|
# Authors: Guillaume Munch <gm@lyx.org>
|
|
# Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
Format 65
|
|
|
|
InsetLayout Flex:Minipage_(Var._Width)
|
|
LyXType custom
|
|
LabelString "Minipage (var.)"
|
|
LatexType Environment
|
|
LatexName varwidth
|
|
Decoration Classic
|
|
MultiPar true
|
|
CustomPars true
|
|
ResetsFont true
|
|
LabelFont
|
|
Color foreground
|
|
Size Small
|
|
EndFont
|
|
Argument 1
|
|
LabelString "Vert. Adjustment"
|
|
Tooltip "Vertical adjustment: c (center), t (top) or b (bottom)"
|
|
EndArgument
|
|
Argument 2
|
|
LabelString "Max. Width"
|
|
Tooltip "Maximum width (default: \linewidth)"
|
|
DefaultArg "\linewidth"
|
|
Mandatory 1
|
|
EndArgument
|
|
Requires varwidth
|
|
End
|
|
|