lyx_mirror/lib/layouts/algorithm2e.module
Juergen Spitzmueller b5af05b4a7 Make module categories (almost) great again
The category tag was rarely used and thus not very useful. This adds
categorization to most modules (the rest will follow) and uses the
\DeclareCategory tag we use in layouts rather than the extra syntax
we used in modules. Categories are now added to the po files and
translated.

Note that this is work in progress: the current categories are still
subject to change.

The ultimate goal of this is to sort the modules in the GUI by category
as we do with layouts, examples and templates (and add a filter to search
for specific modules)

As it is now (with the many modules we accumulated), the module selector
is not really usable anymore. If you don't happen to know how exactly a
module is named, selecting a module is really a PITA.
2019-04-04 18:43:29 +02:00

44 lines
1.0 KiB
Plaintext

#\DeclareLyXModule[algorithm2e.sty]{Algorithm2e}
#\DeclareCategory{Floats}
#DescriptionBegin
# Use the algorithm2e package for algorithm floats rather
# than LyX's home-brewed algorithm floats. Use the Algorithm
# style to enter and indent the algorithm.
#DescriptionEnd
#
#Author: Jürgen Spitzmüller
Format 72
Requires algorithm2e
Input stdfloatnames.inc
Float
Type algorithm
GuiName Algorithm
Placement tbp
AllowedPlacement !htbp
AllowsSideways 0
Extension loa
NumberWithin none
Style plain
ListName "List of Algorithms"
IsPredefined true
UsesFloatPkg false
ListCommand listofalgorithms
RefPrefix alg
End
Style Algorithm
Category List
Margin Static
LatexType Environment
NextNoIndent 1
ParbreakIsNewline 1
ToggleIndent Never
KeepEmpty 1
LeftMargin MM
Align Left
End