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

I am trying to make a matrix in LaTeX. Now I am trying to make a table with multicolumn like

a b c
d  у

So I coded

& \hspace{0.3cm}\overbrace{\hphantom{\begin{array}{ccc}

But I cannot make the multicolumn work I've read several manuals like



And some others, but it doesn't solve my problem. I am using texmaker and it error log gives some abstract errors like "missing $ inserted". Thank you.

share|improve this question

migrated from stackoverflow.com Mar 8 '11 at 15:33

This question came from our site for professional and enthusiast programmers.

This is a question better suited for tex.stackexchange.com. That said, I think you need to insert a space before the closing $, like this: $\phi $. – Matt Ball Mar 8 '11 at 15:06
@Matt Ball (although it probably not going to reach stackoverflow): you don't need a space before the closing dollar. – Bruno Le Floch Mar 8 '11 at 15:54
up vote 5 down vote accepted

You already are in math environment (align*), so there's no need to escape \phi with $ $ -- and that's what is causing the error. Just remove them, and you should be good to go.

share|improve this answer
awesome, thanks! – lhj7362 Mar 8 '11 at 16:25

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.