Am Samstag, dem 08.04.2023 um 15:45 + schrieb Ehud Behar:
> I actually adopted the "add a second argument" approach, but I like
> the first solution.
Just out of curiosity: What sense would it make to have a mandatory
argument that cannot be set (the "first solution")?
--
Jürgen
--
lyx-user
I actually adopted the "add a second argument" approach, but I
like the first solution.
Thanks very much!
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users
Am Samstag, dem 08.04.2023 um 15:20 + schrieb Ehud Behar:
> I want to create the following latex code in my Lyx document:
>
> \begin{myenv}{}
> [arg 1]
> code
> \end{myenv}
>
> So I inserted this into the Local Layout:
>
> Style myenv
> LatexType Environment
> LatexName
On Sat, Apr 8, 2023 at 6:20 PM Ehud Behar wrote:
>
> I want to create the following latex code in my Lyx document:
>
> \begin{myenv}{}
> [arg 1]
> code
> \end{myenv}
>
> So I inserted this into the Local Layout:
>
> Style myenv
> LatexType Environment
> LatexName my
I want to create the following latex code in my Lyx document:
begin{myenv}{}
[arg 1]
code
end{myenv}
So I inserted this into the Local Layout:
Style myenv
LatexType Environment
LatexName myenv
LatexParam "{}"
Argument 1
LabelString "entry 1"
AutoInsert 1
LeftDelim "["
RightDelim "]"