Graphics, Figures & TablesWeird Equation Numbering

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
insane_alien
Posts: 2
Joined: Sun Nov 13, 2011 9:24 pm

Weird Equation Numbering

Post by insane_alien »

Hi all,

I have a weird problem with equation numbering. When I write the following

Code: Select all

\begin{align*}
$ Z_{t} &=& exp \left{ \int_{t \wedge \theta}^{t} \mu \mathrm{d}X_{s} - \frac{1}{2}  int_{t \wedge \theta}^{t} \mu^{2} \mathrm{d}s  \right} \\
&=& exp \left{ \mu \left( X_{t} - X_{t \wedge \theta} \right) - \frac{\mu^{2}}{2} \left( t - t \wedge \theta \right) \right} \\
&=& exp......
&=& \frac{L_{t} } { L_{t \wedge theta } }
\end{align*}
I got the following :
stupid.JPG
stupid.JPG (41.55 KiB) Viewed 2085 times
There's a "=" that I didn't write and a "twoside" at the right bottom corner of the page , how did they come from to my page? Can anyone please help?
Regards, Insane guy.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Weird Equation Numbering

Post by Stefan Kottwitz »

Hi,

in an align environment, write

Code: Select all

&=
instead of

Code: Select all

&=&
Stefan
LaTeX.org admin
insane_alien
Posts: 2
Joined: Sun Nov 13, 2011 9:24 pm

Re: Weird Equation Numbering

Post by insane_alien »

I did what you said and that two lines :twisted: still stays there. :twisted:
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Weird Equation Numbering

Post by Stefan Kottwitz »

There are some more problems. But since you did not provide a complete example, I did not test it. Looking further on the code:
  • Remove that $ in the first line.
  • If you use braces as symbols, escape them, write \{ and \}.
  • Instead of exp write \exp, operators should be in upright shape, otherwise it looks like the product of three variables e, x and p.
  • Write theta as \theta.
Stefan
LaTeX.org admin
Post Reply