In the enumerate environment, an item begins with "[Co]image is..." LaTex interprets the square bracket as a customized bullet symbol. How can I write [ without this glitch?
Asked
Active
Viewed 1,802 times
3 Answers
8
This also works:
\documentclass{article}
\begin{document}
\begin{enumerate}
\item{}[Co]image
\end{enumerate}
\end{document}

cfr
- 198,882
4
You could also simply put a {} around the text. .

Notes:
- Adding an additional brace group is also a handy technique and useful for cases where you need to pass a parameter containing a
[].
Code:
\documentclass{article}
\begin{document}
\begin{enumerate}
\item {[Co]image}
\end{enumerate}
Peter Grill
- 223,288
{}here because I'd never think to use\relaxin a document - only in code. (Mostly, I want something done but nothing typeset as opposed to nothing done at all and\myhellomacro{} bird! \myhellomacro\relax plane!does right by bird but not by plane.) – cfr Apr 21 '14 at 22:30\myhellomacro\ birdor\myhellomacro\@ bird;) – yo' Apr 22 '14 at 15:20\myhellomacro\ birdand then I read about some reason\myhellomacro{} birdis preferable. Although I cannot remember what the reason was. I've never come across\@- what does that do? – cfr Apr 22 '14 at 15:29etc\@.to end a sentence andetc.\to not end one although presumably at least one of these is unnecessary.) – cfr Apr 22 '14 at 17:21