]> git.lyx.org Git - lyx.git/blob - lib/layouts/algorithm2e.module
algorithm2e.module: Add Algorithm style to typeset algorithms
[lyx.git] / lib / layouts / algorithm2e.module
1 #\DeclareLyXModule[algorithm2e.sty]{Algorithm2e}
2 #DescriptionBegin
3 # Use the algorithm2e package for algorithm floats rather
4 # than LyX's home-brewed algorithm floats. Use the Algorithm
5 # style to enter and indent the algorithm.
6 #DescriptionEnd
7 #
8 #Author: Jürgen Spitzmüller
9
10 Format 63
11
12 Requires algorithm2e
13
14 Float
15         Type                  algorithm
16         GuiName               Algorithm
17         Placement             tbp
18         AllowedPlacement      !htbp
19         AllowsSideways        0
20         Extension             loa
21         NumberWithin          none
22         Style                 plain
23         ListName              "List of Algorithms"
24         IsPredefined          true
25         UsesFloatPkg          false
26         ListCommand           listofalgorithms
27         RefPrefix             alg
28 End
29
30 Style Algorithm
31   Category              List
32   Margin                Static
33   LatexType             Environment
34   NextNoIndent          1
35   ParbreakIsNewline     1
36   ToggleIndent          Never
37   KeepEmpty             1
38   LeftMargin            MM
39   Align                 Left
40 End