lyx_mirror/lib/layouts/sectionbox.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

53 lines
1.3 KiB
Plaintext

#\DeclareLyXModule[sectionbox.sty]{Section Boxes}
#\DeclareCategory{Boxes}
#DescriptionBegin
#Defines Boxes with section header. Mainly intended for
#the SciPoster class.
#DescriptionEnd
# Author: Jürgen Spitzmüller <spitz@lyx.org>
Format 72
InsetLayout Flex:SectionBox
LyXType custom
LabelString "Section Box"
LatexType environment
LatexName sectionbox
Decoration classic
MultiPar true
CustomPars true
Requires sectionbox
Argument 1
LabelString "Width"
MenuString "Section Box Width|S"
Tooltip "Width of the section Box"
EndArgument
Argument 2
LabelString "Heading"
MenuString "Section Box Heading"
Mandatory 1
Decoration conglomerate
AutoInsert 1
Tooltip "Insert the section box header here"
Font
Size Large
Series Bold
EndFont
EndArgument
ResetsFont true
End
InsetLayout Flex:SubsectionBox
CopyStyle Flex:SectionBox
LabelString "Subsection Box"
LatexName subsectionbox
End
InsetLayout Flex:SubsubsectionBox
CopyStyle Flex:SectionBox
LabelString "Subsubsection Box"
LatexName subsubsectionbox
End