X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Falgorithm2e.module;h=00f6b1c9a38b27ac9c8e555563e6a7aba3f4c752;hb=8d8ee12e6481a2d9687228a4a5f9dd44a21a052e;hp=ededd8d3bf4df08c4cc949ade1020af3dd6e68ba;hpb=35e64bf95130074ac0596f7c7035b152ae577dd2;p=lyx.git diff --git a/lib/layouts/algorithm2e.module b/lib/layouts/algorithm2e.module index ededd8d3bf..00f6b1c9a3 100644 --- a/lib/layouts/algorithm2e.module +++ b/lib/layouts/algorithm2e.module @@ -1,19 +1,24 @@ #\DeclareLyXModule[algorithm2e.sty]{Algorithm2e} #DescriptionBegin # Use the algorithm2e package for algorithm floats rather -# then LyX's home-brewn 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 35 +Format 66 Requires algorithm2e +Input stdfloatnames.inc + Float Type algorithm GuiName Algorithm Placement tbp + AllowedPlacement !htbp + AllowsSideways 0 Extension loa NumberWithin none Style plain @@ -24,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