# How to input using Latex? [duplicate]

I just found this site today and I asked a few questions but I didn't know how to use the latex syntax, so my questions were difficult to understand. Can anyone tell me how to use this Latex program? thanks

## marked as duplicate by Qmechanic♦Dec 1 '13 at 17:31

• For my purpose, it has up to now been enough to write equations between $...$ or if I want them centered between $$...$$. Most of the usual LaTex commands seem to work between the single or double dollars. – Dilaton Mar 2 '13 at 22:04
• – dmckee Mar 2 '13 at 23:03

The site (and most other stackexchange sites where such is appropriate) use the exact same implementation of MathJax for Latex markup. Basically, just enclose tex within $ (inline) or $\$ (set apart equations). Most basic commands work, like \frac and \sin.
You can also begin some Latex environments without dollar signs. For example \begin{align}...\end{align} is a valid construct that will have its contents parsed by the tex parser.
Finally, you can always click the Edit button on any post to see how it was written. You are not committed to making any edits.