Jean-Marc Lasgouttes wrote:

> Could you give a precise example of the syntax?

What would be nice to have probably is support for paragraph style settings
in the paragraph dialog, like we have for "longest label" in some lists.
For instance, KOMA has the addmargin environment, where you can define the
indendation (left and right margin) of the paragraph in a mandatory and
optional argument.

If we could find a general way to implement such things in the layout file,
which would then be displayed in the paragraph dialog, we could do
something like

Style   addmargin
        LaTeXType       environment
        LaTeXString     addmargin
[...]
        Option  leftindent
                Type    mandatory
                Position        1
                GuiString       "Left Indendation"
        End Option
        Option
                Type    optional
                Position        1
                GuiString       "Right Indendation"
        EndOption
End

or somesuch.
Longest label would then just be a specific case of this.

Jürgen

Reply via email to