X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Falgorithm2e.module;h=44e50371abc35ef6200d2e49efbc7a2484c37ebb;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=95f31cac187783376279cbb89e2ca207d2b93343;hpb=4d6f9eb089bfa664374e599db17d9f671a22f968;p=lyx.git diff --git a/lib/layouts/algorithm2e.module b/lib/layouts/algorithm2e.module index 95f31cac18..44e50371ab 100644 --- a/lib/layouts/algorithm2e.module +++ b/lib/layouts/algorithm2e.module @@ -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