In a description like
\begin{description}
\item[\texttt{DoSomething(items[])}:]
...
\end{description}
, how do I escape the "]" character?
|
In a description like
, how do I escape the "]" character? |
||||
|
Group only the brackets or the whole expression with additional curly braces.
|
|||||||||||||||
|
\[\]. I blame the lack of coffee. – You Jul 19 '11 at 10:43]is already protected by braces. In general\item[...{...[]...}...]– egreg Jul 19 '11 at 10:51