mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +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.
52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
#\DeclareLyXModule[sectionbox.sty]{Section Boxes}
|
|
#DescriptionBegin
|
|
#Defines Boxes with section header. Mainly intended for
|
|
#the SciPoster class.
|
|
#DescriptionEnd
|
|
|
|
# Author: Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
Format 64
|
|
|
|
InsetLayout Flex:SectionBox
|
|
LyXType custom
|
|
LabelString "Section Box"
|
|
LatexType environment
|
|
LatexName sectionbox
|
|
Decoration classic
|
|
MultiPar true
|
|
CustomPars true
|
|
Requires sectionbox
|
|
Argument 1
|
|
LabelString "Width"
|
|
MenuString "Section Box Width|S"
|
|
Tooltip "Width of the section Box"
|
|
EndArgument
|
|
Argument 2
|
|
LabelString "Heading"
|
|
MenuString "Section Box Heading"
|
|
Mandatory 1
|
|
Decoration conglomerate
|
|
AutoInsert 1
|
|
Tooltip "Insert the section box header here"
|
|
Font
|
|
Size Large
|
|
Series Bold
|
|
EndFont
|
|
EndArgument
|
|
ResetsFont true
|
|
End
|
|
|
|
InsetLayout Flex:SubsectionBox
|
|
CopyStyle Flex:SectionBox
|
|
LabelString "Subsection Box"
|
|
LatexName subsectionbox
|
|
End
|
|
|
|
InsetLayout Flex:SubsubsectionBox
|
|
CopyStyle Flex:SectionBox
|
|
LabelString "Subsubsection Box"
|
|
LatexName subsubsectionbox
|
|
End
|
|
|