# Displaying equations using Tex

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

1. ### Blue_UKDrifting MindValued Senior Member

Messages:
1,448
Ah! I read it as $\lim_{n \rightarrow \infty } \left(2-\ln (n) \right)$

It makes sense when you're sober!

2. ### Google AdSenseGuest Advertisement

to hide all adverts.

Messages:
17,455
4. ### Google AdSenseGuest Advertisement

to hide all adverts.
5. ### PeteIt's not rocket surgeryRegistered Senior Member

Messages:
10,167
Thanks leopold!

6. ### Google AdSenseGuest Advertisement

to hide all adverts.
7. ### plakhapateBannedBanned

Messages:
249
As I understand

(Infinity)a -(Infinity)b = o or any other number positive or negetive no. depending on the value of (Infinity)a and (Infinity)b.

P.J.LAKHAPATE
plakhapate@rediffmail.com

8. ### cosmodelRegistered Senior Member

Messages:
62
test
$\frac{-b\pm\sqrt{b^2-4ac}}{2a}$

9. ### cosmodelRegistered Senior Member

Messages:
62
[text]\sin \alpha [\text]

10. ### cosmodelRegistered Senior Member

Messages:
62
$\sin \alpha [\tex]$

11. ### cosmodelRegistered Senior Member

Messages:
62
$\sin\alpha$

12. ### shalaykaCows are special too.Registered Senior Member

Messages:
201
Just testing. I will delete this if I can:

$f = \sqrt(1 - \frac{2GM}{c^2 r})$
$\frac{\partial f}{\partial r} = \frac{GM}{c^2 r^2 f}$

13. ### PeteIt's not rocket surgeryRegistered Senior Member

Messages:
10,167
No need to delete. This thread is OK to use for tex tests, demos, tricks, etc.

14. ### geistkieselValued Senior Member

Messages:
2,471
test

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

15. ### QuarkHeadRemedial Math StudentValued Senior Member

Messages:
1,696
How about this, as a simple way to display matrices:

enclose in tex tags the following

\begin{pmatrix}1 & 0\\
0 & 1
\end{pmatrix}

yielding $\begin{pmatrix}1 & 0\\ 0 & 1 \end{pmatrix}$.

If you want more space between the rows, just chuck in a few more \\,

like \begin{pmatrix}1 & 0\\
\\
\\
\\
0 & 1
\end{pmatrix} which delivers $\begin{pmatrix}1 & 0\\ \\ \\ \\ 0 & 1 \end{pmatrix}$

16. ### QuarkHeadRemedial Math StudentValued Senior Member

Messages:
1,696
Here are a couple of bugs/omissions I detected with this implementation of LaTex.

The congruence glyph "\cong" is not supported;

the proper subset glyph "\subsetne" is not supported;

Lower case fraktur font is not supported;

enclosed text "\text{blah blah}" is not supported;

In-line math, as "[itex]", "\textstyle{blah}" is not supported, neither is the command "\tfrac" for in-line fractions

the package xy-pic is not included (agreed, this would be a great luxury, but great, nonetheless, and not too hard to implement, I believe)

17. ### §outh§taris feeling causticRegistered Senior Member

Messages:
4,832
To prove Absane's relation, a clever use of power series does the trick.

Please Register or Log in to view the hidden image!

18. ### QuarkHeadRemedial Math StudentValued Senior Member

Messages:
1,696
Hey folks! I've been using this for a while. I highly recommend it, it's really cool!

19. ### CheskiChipsBannedBanned

Messages:
3,538
$x = test - knowledge$

20. ### Steve100O͓͍̯̬̯̙͈̟̥̳̩͒̆̿ͬ̑̀̓̿͋ͬ ̙̳ͅ ̫̪̳͔OValued Senior Member

Messages:
2,346
$\frac {1}{\frac{2}{\frac{3}{4}}} = 0.041 \overline{6}$

Last edited: Sep 17, 2008
21. ### Steve100O͓͍̯̬̯̙͈̟̥̳̩͒̆̿ͬ̑̀̓̿͋ͬ ̙̳ͅ ̫̪̳͔OValued Senior Member

Messages:
2,346
$\pi=3+\frac{1}{6+\frac{9}{6+\frac{25}{6+\frac{49}{6+\frac{81}{6+\frac{121}{6+\frac{169}{6+\frac{225}{\ddots}}}}}}}}$

Is there a simple way to make the size not reduce as the fractions go on?

22. ### PeteIt's not rocket surgeryRegistered Senior Member

Messages:
10,167
Try this:
$\pi = 3+\frac{1}{ \large 6+\frac{9}{ \large 6+\frac{25}{ \large 6+\frac{49}{ \large 6+\frac{81}{ \large 6+\frac{121}{ \large 6+\frac{169}{ \large 6+\frac{225}{ \large \ddots } } } } } } } }$
Code:
[tex-]
\large
\pi =
3+\frac{1}{\large
6+\frac{9}{\large
6+\frac{25}{\large
6+\frac{49}{\large
6+\frac{81}{\large
6+\frac{121}{\large
6+\frac{169}{\large
6+\frac{225}{\large
\ddots
}
}
}
}
}
}
}
}
[/tex]


23. ### Steve100O͓͍̯̬̯̙͈̟̥̳̩͒̆̿ͬ̑̀̓̿͋ͬ ̙̳ͅ ̫̪̳͔OValued Senior Member

Messages:
2,346
Thanks. I see it makes no difference how you lay out your code, only the \large function makes a difference.

$\large1+\frac{1}{\large1+\frac{2}{\large1+\frac{3}{\large1+\frac{4}{\large\ddots}}}}$

Code:
\large1+\frac{1}{\large1+\frac{2}{\large1+\frac{3}{\large1+\frac{4}{\large\ddots}}}}