]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/algorithm2e.module
Added IBM Plex fonts to lyx-GUI
[lyx.git] / lib / layouts / algorithm2e.module
index 20cf41c9932f14d55b420e5db26914fc49a35015..af5dbc6d21a5cf71e4396ff813005886b1ed720d 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 54
+Format 69
 
 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