]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/algorithm2e.module
Fix typos in comments
[lyx.git] / lib / layouts / algorithm2e.module
index 95f31cac187783376279cbb89e2ca207d2b93343..44e50371abc35ef6200d2e49efbc7a2484c37ebb 100644 (file)
@@ -1,15 +1,19 @@
-#\DeclareLyXModule[algorithm2e.sty]{Algorithm2e}
+#\DeclareLyXModule[algorithm2e.sty]{Algorithm2e Float}
+#\DeclareCategory{Floats & Captions}
 #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 58
+Format 98
 
 Requires algorithm2e
 
+Input stdfloatnames.inc
+
 Float
        Type                  algorithm
        GuiName               Algorithm
@@ -26,3 +30,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