mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +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.
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
#\DeclareLyXModule[algorithm2e.sty]{Algorithm2e}
|
|
#DescriptionBegin
|
|
# Use the algorithm2e package for algorithm floats rather
|
|
# than LyX's home-brewed algorithm floats. Use the Algorithm
|
|
# style to enter and indent the algorithm.
|
|
#DescriptionEnd
|
|
#
|
|
#Author: Jürgen Spitzmüller
|
|
|
|
Format 64
|
|
|
|
Requires algorithm2e
|
|
|
|
Input stdfloatnames.inc
|
|
|
|
Float
|
|
Type algorithm
|
|
GuiName Algorithm
|
|
Placement tbp
|
|
AllowedPlacement !htbp
|
|
AllowsSideways 0
|
|
Extension loa
|
|
NumberWithin none
|
|
Style plain
|
|
ListName "List of Algorithms"
|
|
IsPredefined true
|
|
UsesFloatPkg false
|
|
ListCommand listofalgorithms
|
|
RefPrefix alg
|
|
End
|
|
|
|
Style Algorithm
|
|
Category List
|
|
Margin Static
|
|
LatexType Environment
|
|
NextNoIndent 1
|
|
ParbreakIsNewline 1
|
|
ToggleIndent Never
|
|
KeepEmpty 1
|
|
LeftMargin MM
|
|
Align Left
|
|
End
|