Tommaso Cucinotta wrote:
Is there any planned support for environment optional
arguments ?

For example, after a \newtheorem...., it is allowed in LaTeX:

\begin{thm}[Main Theorem]
...
\end{thm}

\begin{thm}[Secondary Theorem]
...
\end{thm}

As I'm not an expert, I don't know what other environments
currently mapped to LyX layouts have optional args, and if
they would be useful to the writer.

Probably, such optional arg could be entered into the Paragraph
Settings dialog.


AFAIK, optional arguments are allowed (or disallowed) in the layout files. So if you want to add optional arguments that currently are not allowed, you could hack a layout file to do so. As Martin notes, some layouts (such as Beamer) do allow optional arguments in some places.

The way I enter an optional argument (when one is allowed) is to open the minibuffer (M-x or View -> Toolbars -> Command buffer) and type the command 'optional-insert'.

/Paul

Reply via email to