]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/algorithm2e.module
Update acmart.layout following tickets #10722 & #10723
[lyx.git] / lib / layouts / algorithm2e.module
index 0fe6a805c215955ca716e4132bfe8521b3c1c068..666a0a0c8e31f3edd75dc9e2a9bb45c614f600f8 100644 (file)
@@ -1,15 +1,18 @@
 #\DeclareLyXModule[algorithm2e.sty]{Algorithm2e}
 #DescriptionBegin
 # Use the algorithm2e package for algorithm floats rather
-# than LyX's home-brewed algorithm floats.
+# than LyX's home-brewed algorithm floats. Use the Algorithm
+# style to enter and indent the algorithm.
 #DescriptionEnd
 #
 #Author: Jürgen Spitzmüller
 
-Format 62
+Format 64
 
 Requires algorithm2e
 
+Input stdfloatnames.inc
+
 Float
        Type                  algorithm
        GuiName               Algorithm
@@ -26,3 +29,14 @@ Float
        RefPrefix             alg
 End
 
+Style Algorithm
+  Category              List
+  Margin                Static
+  LatexType             Environment
+  NextNoIndent          1
+  ParbreakIsNewline     1
+  ToggleIndent          Never
+  KeepEmpty             1
+  LeftMargin            MM
+  Align                 Left
+End