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