## spot the LaTeX mistake

It took me forever to spot the (obvious) mistake in the following LaTeX formula

\int \exp\[ -\{ (n+\sigma^{-2})\mu^2 -2n\mu{\bar x_n} + n ({\bar x_n})^2 \}/2 \]

Can you find it?!

an attempt at bloggin, nothing more…

It took me forever to spot the (obvious) mistake in the following LaTeX formula

\int \exp\[ -\{ (n+\sigma^{-2})\mu^2 -2n\mu{\bar x_n} + n ({\bar x_n})^2 \}/2 \]

Can you find it?!

April 25, 2013 at 10:10 am

…. can’t ….

April 25, 2013 at 10:10 am

\[ …. \] is simply an alias for $$ and $$ and thus can be used within an equation. \left[ … \right] must be used instead.

April 23, 2013 at 3:54 pm

indeed indeed \{ and \[ have different meanings!

April 22, 2013 at 4:29 pm

On a second thought, \[ and \{ should swap and \[ be replaced with [. Same for \] and \}.

?

Get well soon!

April 22, 2013 at 1:16 pm

Surely those brackets are going to open and close equation environments.

April 22, 2013 at 11:27 am

aren’t the “\int” and “\exp\” terms supposed to be enclosed by the math brackets \[…\] ?

un “coup de bon courage” pour ton pouce…

April 22, 2013 at 9:59 am

Is it \[ instead of either [ ?

Also: {\bar x_n} might be correct, but is ambiguous: do you mean

\bar{x}_n or \bar{x_n}?

April 22, 2013 at 9:59 am

I meant: either [ or \left[ .