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

145 lines
3.7 KiB
Plaintext

#\DeclareLyXModule[paralist.sty]{Paragraph Lists (paralist)}
#\DeclareCategory{List Enhancements}
#DescriptionBegin
# The package paralist provides some new list environments.
# Itemized and enumerated lists can be typeset within paragraphs, as
# paragraphs and in a compact version. Most environments have optional
# arguments to format the labels. Additionally, the LaTeX environments
# itemize and enumerate are extended to use a similar optional argument.
# For details see Paralist in Specific Manuals.
#DescriptionEnd
#Excludes: enumitem
# Author: Georg Baum <baum@lyx.org>
# (structuring taken from enumitem.module by Günter Milde)
Format 72
AddToPreamble
\usepackage{paralist}
EndPreamble
# Customisable Basic Lists
# ------------------------
# With paralist, the itemize and enumerate environments take an optional
# argument. See paralist.pdf for possible values.
ModifyStyle Itemize
Argument 1
LabelString "Itemize Options"
Tooltip "Optional arguments for this list (see paralist manual)"
EndArgument
End
ModifyStyle Enumerate
Argument 1
LabelString "Enumerate Options"
Tooltip "Optional arguments for this list (see paralist manual)"
EndArgument
End
# List Variants
# -------------
#
# Styles defined by paralist.sty
Style AsParagraphItem
CopyStyle Itemize
LatexName asparaitem
Argument 1
LabelString "As Paragraph Itemize Options"
Tooltip "Optional arguments for this list (see paralist manual)"
EndArgument
End
Style InParagraphItem
CopyStyle Itemize
LatexName inparaitem
Argument 1
LabelString "In Paragraph Itemize Options"
Tooltip "Optional arguments for this list (see paralist manual)"
EndArgument
End
Style CompactItem
CopyStyle Itemize
LatexName compactitem
TopSep 0.0
BottomSep 0.0
ParSep 0.0
Argument 1
LabelString "Compact Itemize Options"
Tooltip "Optional arguments for this list (see paralist manual)"
EndArgument
End
Style AsParagraphEnum
CopyStyle Enumerate
LatexName asparaenum
Argument 1
LabelString "As Paragraph Enumerate Options"
Tooltip "Optional arguments for this list (see paralist manual)"
EndArgument
End
Style InParagraphEnum
CopyStyle Enumerate
LatexName inparaenum
Argument 1
LabelString "In Paragraph Enumerate Options"
Tooltip "Optional arguments for this list (see paralist manual)"
EndArgument
End
Style CompactEnum
CopyStyle Enumerate
LatexName compactenum
TopSep 0.0
BottomSep 0.0
ParSep 0.0
Argument 1
LabelString "Compact Enumerate Options"
Tooltip "Optional arguments for this list (see paralist manual)"
EndArgument
End
Style AsParagraphDescr
CopyStyle Description
LatexName asparadesc
Argument 1
LabelString "As Paragraph Description Options"
Tooltip "Optional arguments for this list (see paralist manual)"
EndArgument
End
Style InParagraphDescr
CopyStyle Description
LatexName inparadesc
Argument 1
LabelString "In Paragraph Description Options"
Tooltip "Optional arguments for this list (see paralist manual)"
EndArgument
End
Style CompactDescr
CopyStyle Description
LatexName compactdesc
TopSep 0.0
BottomSep 0.0
ParSep 0.0
Argument 1
LabelString "Compact Description Options"
Tooltip "Optional arguments for this list (see paralist manual)"
EndArgument
End
# References
# ----------
#
# .. paralist.pdf:
# http://dante.ctan.org/CTAN/macros/latex/contrib/paralist/paralist.pdf