# Learn to write equations in Markdown and convert it to docx format

## Prepare system

1. Any text editor
3. Or simply type in any text editor notepad or vim
### Equations must be enclosed by $sign or $$1. enclose formulas in single dollar sign  your equation  for inline equations. 2. enclose formulas in double dollar sign $$ your equation$$ for equation environment and start with new line. ### Symbols $\alpha$ $\alpha$ $\beta$ $\beta$ $\delta$ $\delta$ $\rho$ $\rho$ $\omega$ $\omega$ $\Omega$ $\Omega$ $\Delta$ $\Delta$ ### FractionsOutput $\frac{numerator}{denominator}$ $\frac{numerator}{denominator}$ $\frac{a}{b}$ $\frac{a}{b}$ ### Powers Output $a^b$ $a^b$ ### SubscriptOutput $a_b$ $a_b$ ### Brackets simple () are not because brackets done resize to cover content like below $(\frac{a}{b)$ $(a^2\frac{a^2}{b^2})$ so use \left( and \right) BracketsOutput $\left($ $\left( a \right.$ $\right($ $\left. a \right)$ $\left( a \right)$ $\left( a^2\frac{a^2}{b^2} \right)$ $\left[$ $\left[ a \right.$ $\right]$ $\left. a \right]$ $\left[ a \right\$ $\left[a^2\frac{a^2}{b^2} \right]$ $E=mc^2\$ $E=mc^2$
pandoc anyfilename.md -o anyfilename.docx