Posting and printing mathematics

I am working on some material on ACT math. I want to post it on my website and maybe make an ebook of it. How do you put that sort of mathematics into html or pdfs?

Word has an equation editor that may be useful, if clunky. I believe there is also a coding language or something that can do this–LaTeX?

@sattut LaTeX is the standard language for mathematical typesetting. I type all of my papers (especially ones with any amount of mathematical content) in LaTeX. Creating equations, theorems, and other environments is far easier in LaTeX than in Word IMO.

I haven’t done much with integration into HTML, but there are guides on the internet.

AoPS has info on using LaTex. http://www.artofproblemsolving.com/wiki/index.php/LaTeX:About

There is also a LaTeX Wikibook (https://en.wikibooks.org/wiki/LaTeX) which is more comprehensive.

For incorporating into html, Google mathjax
It’s latex type syntax, but you don’t have to wrestle with formatting like a native latex document.

If pdf, you can just use the current Word equation editor and save as pdf. Unless you have tons of equations, the built in editor in Word is pretty good.

Latex has a steep learning curve. There are online latex compilers that are free. You can google and play around with that. The aops website has tips on this too, as mentioned earlier.