I've defined a new command in the document's preamble. For the sake of this question the following (tested!) example:
Using [cmd]-M on MacOS I want to be able to enter:
But when I try this, LyX only provides me with a "hole" for the first argument. Adding braces myself only results in "text" rather than passing the enclosed text as arguments.
And, yes, I know I can use the TeX-mode ([cmd]-L on MacOS) and type
But this question is about using commands with multiple arguments in the formula editor.
I don't want to use the LyX macro system because I want to collect these command later in my own style.
Please don't provide an alternative to
\multipleargs, it is just a silly example to illustrate the formula editing question ;-)