Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

1 Answer 1

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.