# Displaying equations using Tex

Discussion in 'Physics & Math' started by Pete, Dec 20, 2006.

1. ### Confused2Registered Senior Member

Messages:
609
Hm. (Posting in bold are we?). Texmaker doesn't seem to want to play. Going back I see the Schneibster has snuck a link into 'This' and 'This' isn't Texmaker. That ('This') looks minimalist. I'll have a play with it. Thanks.

Schneibster likes this.

3. ### Confused2Registered Senior Member

Messages:
609
$e^{i\theta}=\cos(\theta)+i\sin(\theta)$
Yaay. Mighty aches from tiny toecorns grow.

5. ### SchneibsterRegistered Member

Messages:
390
Sure. If you learn the basics of LaTeX you'll find that this minimal solution will give you pretty much all you can handle (but maybe not those unbelievable things rpenner has been posting; I'm still pretty impressed with that stuff).

7. ### Confused2Registered Senior Member

Messages:
609
Schneibster likes this.
8. ### LaurieAGRegistered Senior Member

Messages:
582
Test

Standard wavelength ${\lambda} = \frac{h}{m c}$
Reduced wavelength $\frac{\lambda}{2 \pi} = \frac{\hbar}{m c}$

9. ### icarus2Registered Senior Member

Messages:
132
test
1) $\Omega _M = - 0.38( \pm 0.22)$

2) $\Omega _R h^2 \approx 4.16 \times 10^{ - 5}$,

3) $\Omega _\Lambda = 0$

4) \frac{-b\pm\sqrt{b^2-4ac}}{2a}

5)

${U_{gs}} = | - \frac{3}{5}\frac{{G{M^2}}}{{{R_{gs}}}}| = M{c^2}$

{U_{gs}} = | - \frac{3}{5}\frac{{G{M^2}}}{{{R_{gs}}}}| = M{c^2}

Last edited: Oct 2, 2016
10. ### Dr_ToadIt's green!Valued Senior Member

Messages:
2,527
I was told that my site's \frac was broken not too long ago. \lfrac works still, but I haven't had the need or the energy to track down every package and all that...

11. ### icarus2Registered Senior Member

Messages:
132
$d{s^2} = - (1 - \frac{{2GM}}{{{c^2}r}}){c^2}d{t^2} + \frac{1}{{(1 - \frac{{2GM}}{{{c^2}r}})}}d{r^2} + {r^2}d{\theta ^2} + {r^2}{\sin ^2}\theta d{\phi ^2}$

Last edited: Oct 2, 2016
12. ### OceanBreezeRegistered Member

Messages:
32
can someone please troubleshoot this and see why the latex commands are not working?
I have tested it with several tex editors and it displays fine on them, but not here. Thanks

$\frac { 1 }{ \sqrt { { \left[ 1-\frac { { \omega }^{ 2 } }{ { \omega }_{ c }^{ 2 } } \right] }^{ 2 }+\quad { \eta }^{ 2 } } }$

The plot thickens! Sometimes it shows up as a proper equation, and sometimes as just the tex commands. wtf?

13. ### rpennerFully WiredValued Senior Member

Messages:
4,833
The current javascript/CSS-based renderer only runs at the time of page loads. Since the "submit new/edited post and redisplay page" logic of this side does so without a full load of the page, updates don't get the LaTeX-to-HTML Display treatment until you refresh the page.

OceanBreeze likes this.
14. ### OceanBreezeRegistered Member

Messages:
32
Ah, I think that was what I was seeing; the equation stays in the tex command format until the page is refreshed. But I never see it displayed as an equation in the post preview, only after posting. Is that normal?

15. ### danshawenValued Senior Member

Messages:
3,951
My iPad doesn't show even a single correctly formatted equation here, even though my Mac does, which is why I don't bother.

16. ### icarus2Registered Senior Member

Messages:
132
[ tex ]
\alpha
[/tex ]

$\sin \alpha$

<tex> a^n </tex>

$\sin \alpha$

17. ### icarus2Registered Senior Member

Messages:
132
[ tex ]
\alpha
[/tex ]

sin&#x2061;&#x03B1;'>sinα sin⁡α \sin \alpha

< tex> a^n </tex>

$a^n$

18. ### RJBeeryNatural PhilosopherValued Senior Member

Messages:
4,222
I want to go inline with $E=mc^2$

19. ### icarus2Registered Senior Member

Messages:
132
${U_{gs}} = - \frac{3}{5}\frac{{G{M^2}}}{R}$

${U_{gs}} = - \frac{3}{5}\frac{{G{M^2}}}{R}$

20. ### ArafuraOpalRegistered Member

Messages:
20
I have tried to post this
<img src="/cgi-bin/mathtex.cgi?\displaystyle\sum_{n=1}^4 \left( \sum_{m=1}^n \left( \frac{a \cos\left( {3^{( m+(n^2-n)/2)}} \theta / b \right) }{3^{(m+(n^2-n)/2)}} \right) \right)">

21. ### ArafuraOpalRegistered Member

Messages:
20
$\sum_{n=1}^40 \left( \sum_{m=1}^n \left( \frac {a \sin \left( {3^{( m+(n^2-n)/2)}} \theta / b + l(\frac {2 \pi}{3}) \right) }{3^{(m+(n^2-n)/2)}} \right) \right)$

22. ### ArafuraOpalRegistered Member

Messages:
20
$\displaystyle\sum_{n=1}^4 \left( \sum_{m=1}^n \left( \frac{a \cos\left( {3^{( m+(n^2-n)/2)}} \theta / b \right) }{3^{(m+(n^2-n)/2)}} \right) \right)$

$\displaystyle\sum_{n=1}^{40} \left( \sum_{m=1}^n \left( \frac{a \sin\left( {3^{( m+(n^2-n)/2)}} \theta / b + l \times (\frac{2 \pi}{3}) \right) }{3^{(m+(n^2-n)/2)}} \right) \right), \ l=-1,0,1$

$\displaystyle \sum_{n=1}^8 \left( \sum_{m=1}^n \left( \frac{a \left( \sin \left( {3^{( m+(n^2-n)/2)}} \theta / b + k ( \frac{ \pi}{3} ) + \cos \left( {3^{( m+(n^2-n)/2)}} \theta / b + k( \frac{ \pi}{3} ) \right) \right) }{2 * 3^{(m+(n^2-n)/2)}} \right) \right), \ k=-1,1$

where a and b are constants and $- \frac{\pi b}{3^{(n^2 - n)/2}} \leq \theta \leq \frac{\pi b}{3^{(n^2 – n)/2}}$

Last edited: Oct 21, 2017
23. ### ArafuraOpalRegistered Member

Messages:
20
$\sum_{n=1}^4 \left( \sum_{m=1}^n \left( \frac {a \cos \left( {3^{( m+(n^2-n)/2)}} \theta / b \right) }{3^{(m+(n^2-n)/2)}} \right) \right)$

$\sum_{n=1}^40 \left( \sum_{m=1}^n \left( \frac {a \sin \left( {3^{( m+(n^2-n)/2)}} \theta / b + l(\frac {2 \pi}{3}) \right) }{3^{(m+(n^2-n)/2)}} \right) \right) , l=-1,0,1$

$\sum_{n=1}^4 \left( \sum_{m=1}^n \left( \frac {a \left( \sin \left( {3^{( m+(n^2-n)/2)}} \theta / b + k(\frac { \pi}{3} ) + \cos \left( {3^{( m+(n^2-n)/2)}} \theta / b + k(\frac { \pi}{3} ) \right) \right) }{2 \times 3^{(m+(n^2-n)/2)}} \right) \right) , k=-1,1$

where a and b are constants and $- \frac {\pi b}{3^{(n^2 - n)/2}} \leq \theta \leq \frac {\pi b}{3^{(n^2 – n)/2}}$