mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
b124adbd38
This uses the InsetArgument interface to provide access to a document part hitherto inaccessible by LyX: the part between \begin and the first \item in a list (where lengths and counters can be redefined, for instance). Fixes: #11098 File format change, layout format change
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 69
|
|
|
|
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
|