Preset LaTeX parameters/arguments
Daniel
xracoonx at gmx.de
Wed Oct 28 12:01:49 UTC 2020
Hi,
Is it possible to define a layout/paragraph style with a preset LaTeX
parameter/argument?
I tried `LatexParam` but that just outputs the text without interacting
with the arguments inserted via Argument insets. For example, if I use
LatexParam [label*=\alph*)]
to a Numbered List, the result is
\begin{enumerate}[label*=\alph*)]
\item
\end{enumerate}
However, if I try to add another (optional) argument via the List
Preamble inset, say `ref=\alph*` I get
\begin{enumerate}[label*=\alph*)][ref=\alph*]
\item
\end{enumerate}
which gives an error. Instead it seems what I would need is
\begin{enumerate}[label*=\alph*), ref=\alph*]
\item
\end{enumerate}
Is there a way to achieve this in LyX?
Daniel
More information about the lyx-users
mailing list