2019-04-07 09:21:21 +00:00
|
|
|
#\DeclareLyXModule[algorithm2e.sty]{Algorithm2e Float}
|
|
|
|
#\DeclareCategory{Floats & Captions}
|
2014-01-26 18:23:40 +00:00
|
|
|
#DescriptionBegin
|
|
|
|
# Use the algorithm2e package for algorithm floats rather
|
2017-05-05 21:48:20 +00:00
|
|
|
# than LyX's home-brewed algorithm floats. Use the Algorithm
|
|
|
|
# style to enter and indent the algorithm.
|
2014-01-26 18:23:40 +00:00
|
|
|
#DescriptionEnd
|
|
|
|
#
|
|
|
|
#Author: Jürgen Spitzmüller
|
|
|
|
|
2024-06-03 14:37:02 +00:00
|
|
|
Format 104
|
2014-01-26 18:23:40 +00:00
|
|
|
|
|
|
|
Requires algorithm2e
|
|
|
|
|
2017-05-13 15:36:20 +00:00
|
|
|
Input stdfloatnames.inc
|
|
|
|
|
2014-01-26 18:23:40 +00:00
|
|
|
Float
|
|
|
|
Type algorithm
|
|
|
|
GuiName Algorithm
|
|
|
|
Placement tbp
|
2015-05-23 01:11:07 +00:00
|
|
|
AllowedPlacement !htbp
|
|
|
|
AllowsSideways 0
|
2014-01-26 18:23:40 +00:00
|
|
|
Extension loa
|
|
|
|
NumberWithin none
|
|
|
|
Style plain
|
|
|
|
ListName "List of Algorithms"
|
|
|
|
IsPredefined true
|
|
|
|
UsesFloatPkg false
|
|
|
|
ListCommand listofalgorithms
|
|
|
|
RefPrefix alg
|
2023-07-28 22:22:14 +00:00
|
|
|
PrettyFormat "Algorithm ##"
|
2014-01-26 18:23:40 +00:00
|
|
|
End
|
|
|
|
|
2017-05-05 21:48:20 +00:00
|
|
|
Style Algorithm
|
|
|
|
Category List
|
|
|
|
Margin Static
|
|
|
|
LatexType Environment
|
|
|
|
NextNoIndent 1
|
|
|
|
ParbreakIsNewline 1
|
|
|
|
ToggleIndent Never
|
|
|
|
KeepEmpty 1
|
|
|
|
LeftMargin MM
|
|
|
|
Align Left
|
|
|
|
End
|