[Tex/LaTex] Which packages do I need to include to simulate MathJax

amsmathmathjaxpackages

I've been using Math.SE for a while, and I am comfortable with formatting math in MathJax. Now I am trying to write my first real LaTeX document on "ShareLaTeX". However, I am having trouble, because some things which format on Math.SE (such as \tag {1}) are not compiling with my current packages. I've looked through sample math documents, and what I have so far is:

\usepackage[utf8]{inputenc}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath,amssymb}
\usepackage{multicol}
\usepackage{graphicx}

What are the packages I need to be able to fully emulate what I can do on Math.SE? Alternatively, is there a way for me to format math on Math.SE and download it into a nice PDF?

Best Answer

\tag is defined in amsmath so is defined if you have

\usepackage{amsmath}

In general the mathjax documentation for its latex support lists in each case which latex package is being emulated. see the right hand column of

https://docs.mathjax.org/en/latest/input/tex/macros/index.html

Related Question