# Latex trial

• Sep 1st 2009, 04:30 AM
noob mathematician
Latex trial
$\displaystyle x=Acos(\omega t+\theta _0)$
$\displaystyle v=-\omega Asin(\omega t+\theta _0)$
$\displaystyle a=-\omega ^2Acos(\omega t+\theta _0)=-(\frac{k}{m})Acos(\omega t+\theta_0)$
$\displaystyle v=\omega Asin(\omega t+\theta _0)$
$\displaystyle (\frac{2\pi t}{T}+\phi _0)$
• Sep 1st 2009, 12:50 PM
Opalg
Quote:

Originally Posted by noob mathematician
$\displaystyle x=Acos(\omega t+\theta _0)$
$\displaystyle v=-\omega Asin(\omega t+\theta _0)$
$\displaystyle a=-\omega ^2Acos(\omega t+\theta _0)=-(\frac{k}{m})Acos(\omega t+\theta_0)$
$\displaystyle v=\omega Asin(\omega t+\theta _0)$
$\displaystyle (\frac{2\pi t}{T}+\phi _0)$

Just a couple of comments on these.

Put a backslash before cos and sin. It will improve the spacing and remove the italics from them. Example: $\displaystyle v=-\omega A\sin(\omega t+\theta _0)$.

To increase the size of the parentheses around the fractions, you could write \left( and \right). So for example \left(\frac{k}{m}\right) will give $\displaystyle \left(\frac{k}{m}\right)$. In my opinion those parentheses look too large. But you can control their size manually by the commands \bigl(, \Bigl(, \biggl( and \Biggl( (and corresponding commands like \bigr) for the closing parentheses), which give successively larger outputs. For a simple fraction, I prefer the \Big size: \Bigl(\frac{k}{m}\Bigr) will give $\displaystyle \Bigl(\frac{k}{m}\Bigr)$.