mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
6b49b6b129
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit() compatible. There is no user visible change except for the Chunk inset which does not produce invalid LaTeX after editing operations anymore. This is the safe version for 2.1.0, for later there are still open questions: - All insets with ResetsFont true should be audited: Is this really needed, or do they show similar editing problems as the Chunk inset? - Does inheritFont() need to be customizable in the layout file as well? - Is resetFontEdit() != !inheritFont() needed at all? I did not use change tracking for the docs, since I updated all existing translations.
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
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 49
|
|
|
|
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
|
|
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
|
|
|