Take the 2-minute tour ×
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.

I am trying to compile this equation

\beta\_t^i=
   \begin{cases}
      \overline{\beta}-i\cdot\sigma\_{\beta} & 0\leq i\leq 4\\
       0.0 & 5\leq i\leq7
  \end{cases}

and I am still getting error

! Missing { inserted.

Old topics didn't help me, I think it will be problem with \\ or & but can't solve it.

share|improve this question

closed as too localized by cmhughes, Qrrbrbirlbel, Claudio Fiandrino, Xavier, Speravir Apr 28 '13 at 18:14

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Welcome to TeX.sx! Your code snippet works fine here, when I put it within a complete document. Can you please create a minimal working example (MWE) that demonstrates the issue. This works: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \beta\_t^i=\begin{cases}\overline{\beta}-i\cdot\sigma\_{\beta} & 0\leq i\leq 4\\0.0 & 5\leq i\leq7\end{cases} \end{equation} \end{document} –  Torbjørn T. Apr 28 '13 at 13:03
    
Thanks a lot, i didn't include amsmath, that was the problem. By the way, can including amsmath cause any visual changes to my previous equations or i shouldn't be worried? I have more than 50 of them in that document already. –  user2306381 Apr 28 '13 at 13:07
    
I don't think that you need to worry, probably very small differences, if any. You could always ask a separate question about just that. –  Torbjørn T. Apr 28 '13 at 13:12

Browse other questions tagged or ask your own question.