On Thu, 28 Dec 2023, Jiahao Yan wrote:

I'm a fan of lyx but I meet a question when I use it. Sometimes we want
input two parameter with one command, like \textcolor{color}{text}, but
lyx will compile the command and the first curly braket, considering the
first parameter as none. I wonder if there is a solution. I would
appreciate it if any help!

Jiahao,

The second parameter should be in square brackets, not curly braces. Try
\textcolor{mycolor}[this text].

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to