Tagged Questions
8
votes
3answers
5k views
Enumerated list with square brackets
I want to make an enumerated list in the following format:
[1] foo foo
[2] foo foo
...
How I can do that using enumerated lists? I have tried the following:
\begin{enumerate}[\left[ 1 \right]]
...
18
votes
2answers
4k views
Escaping square braces
I want to use some text as the optional parameter to some command. The text includes square braces ([ and ]), but since the optional parameter goes within square brackets, unexpected things happen.
...
10
votes
2answers
227 views
How can one put a “[” after \item?
The following does not compile because of the "[" after the \item. I presume it is because LaTeX expects a "]" as per the \item[option] syntax. However, I just want to insert the "[" character into ...