Daniel, even more joy you will get by asking in a (La)TeX specific group.
el On 28/10/2020 17:51, Daniel wrote: > On 2020-10-28 13:01, Daniel wrote: >> 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 >> > > All right, found it. Adding a `PresetArg` to the argument definition does the > trick. > > Daniel > -- If you want to email me, replace nospam with el -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users