This repository demonstrates how to install latex alongside matplotlib for Binder. This repository also makes use of JupyterLab Latex to render latex files in Jupyter lab. This requires a few different build components:
apt.txt
for apt-installing the latex componentsenvironment.yml
for installing the python dependenciespostBuild
for forcing matplotlib to build the font cache and for installing JupyterLab Latex.
Thanks to m-weigand for giving inspiration for this repo!