lyx_mirror/lib/layouts/algorithm2e.module
Guillaume MM 5452c53e9b algorithm2e.module: Add Algorithm style to typeset algorithms
Do not output \begin and \end if there is not environment name. We only need the
nesting feature.
2017-05-10 00:03:04 +02:00

41 lines
1001 B
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 63
Requires algorithm2e
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