PDA

View Full Version : Bug Is LATEX broken?


Mech_Engineer
Jun17-11, 11:20 AM
Is LATEX broken? I put an equation in this thread and it doen't appear to be generating for me...

http://www.physicsforums.com/showthread.php?p=3361568#post3361568

micromass
Jun17-11, 11:44 AM
You made a bracket mistake:

t = \frac{2*A_{t}\left(\sqrt{z_{1}}-\sqrt{z_{2}}\right)}{C_{d}*A_{o}*\sqrt{2g}}

Fredrik
Jun17-11, 07:21 PM
Three more tips:

1. With long LaTeX expressions like that, you need to be careful to not type 50 characters without a space, because vBulletin will insert a space every 50 characters and break the LaTeX code.

2. When you want the math expression to appear by itself on a new line, use tex tags instead of itex, and don't type newlines before and after the tags. You will get t = \frac{2*A_{t}\left(\sqrt{z_{1}}-\sqrt{z_{2}}\right)}{C_{d}*A_{o}*\sqrt{2g}}, instead of

t = \frac{2*A_{t}\left(\sqrt{z_{1}}-\sqrt{z_{2}}\right)}{C_{d}*A_{o}*\sqrt{2g}}.

Hit the quote button to see exactly what I did.

3. If you want a multiplication symbol, use \times or \cdot instead of *.