mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
5c54557350
Remove the trimming operation on LabelString, LabelStringAppendix, EndLabelString and LabelCounter. This trimming meant that quotes strings were not preserved, which is wrong. To preserve layouts, the Layout format has been updated to 64, so that layout2layout can remove extra spaces on existing strings, which ensures that behavior is unchanged for old layouts (courtesy of rgheck). It is now possible to re-add spaces in label strings where it makes sense. Fixes bug #10723.
37 lines
965 B
Plaintext
37 lines
965 B
Plaintext
#\DeclareLyXModule[multicol.sty]{Multiple Columns}
|
|
#DescriptionBegin
|
|
#Adds a custom inset whose content is set with multiple columns (2 by default).
|
|
#See the Additional manual, section 'Multiple Text Columns', for a detailed
|
|
#description of multiple columns.
|
|
#DescriptionEnd
|
|
#Authors: Uwe Stöhr and Jürgen Spitzmüller
|
|
|
|
Format 64
|
|
|
|
InsetLayout Flex:Multiple_Columns
|
|
LyXType custom
|
|
Decoration classic
|
|
LabelString Columns
|
|
LatexType environment
|
|
LatexName multicols
|
|
Requires multicol
|
|
Argument 1
|
|
LabelString "Number of Columns"
|
|
Tooltip "Insert the number of columns here"
|
|
Mandatory 1
|
|
DefaultArg 2
|
|
PassThru 1
|
|
EndArgument
|
|
Argument 2
|
|
LabelString "Preface"
|
|
Tooltip "An optional preface"
|
|
EndArgument
|
|
Argument 3
|
|
LabelString "Space Before Page Break"
|
|
Tooltip "Free space that needs to be on the page to start the multiple columns on this page"
|
|
Requires 2
|
|
EndArgument
|
|
ResetsFont true
|
|
End
|
|
|