Most science is done in Jupyter notebooks. These combine Python with Markdown and Latex by way of Mathjax.