mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 10:40:48 +00:00
adefdf8eeb
This reverts commit 7c041af642
.
We will hold this back until we fix the issue discussed here:
https://marc.info/?l=lyx-devel&m=171733833610242&w=2
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
#\DeclareLyXModule[algorithm2e.sty]{Algorithm2e Float}
|
|
#\DeclareCategory{Floats & Captions}
|
|
#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 104
|
|
|
|
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
|
|
PrettyFormat "Algorithm ##"
|
|
End
|
|
|
|
Style Algorithm
|
|
Category List
|
|
Margin Static
|
|
LatexType Environment
|
|
NextNoIndent 1
|
|
ParbreakIsNewline 1
|
|
ToggleIndent Never
|
|
KeepEmpty 1
|
|
LeftMargin MM
|
|
Align Left
|
|
End
|