TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Good afternoon,

Unfortunately I'm getting a "! Missing } inserted.

<inserted text> 
l.23 **\xymatrix{$\CIRCLE$ $\CIRCLE$ & $\CIRCLE$ }
? "

What's wrong with my code, as far as I can tell, all my braces are matched :\

Thanks for all suggestions,



\author{Alec Taylor}

\date{August 23, 2011}


\xymatrix{$\CIRCLE$ $\CIRCLE$ & $\CIRCLE$ } % <-- Causes the error

share|improve this question
up vote 4 down vote accepted

\xymatrix{...} implies math mode, so you don't have to (and, in fact, mustn't) use $ in the cells.

Your code works if you just remove the $:

\xymatrix{\CIRCLE \CIRCLE & \CIRCLE }
share|improve this answer
Thanks. Also, is this the best way to draw a graph (just 3 vertices [outline of triangle] no edges)? – A T Aug 23 '11 at 8:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.