28 Jan
2012
28 Jan
'12
5:22 p.m.
Am 28.01.2012 um 16:41 schrieb Marco Pessotto:
Dear list,
I swear I searched the internet, but I guess the terms are too generic. The question is: is there a safe way to escape the square brackets, preventing them to be eaten by the previous command? For example:
\item [this should be in brackets]
My solution is:
\define\leftsquarebracket{[} \define\rightsquarebracket{]}
\item \leftsquarebracket this should be in brackets\rightsquarebracket
I'm pretty sure there is already a built-in command for them, so I'm asking the list.
No, there isn’t but you can stop ConTeXt to look for a optional with a \relax after the command , e.g. \item\relax. Wolfgang