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.txtfor apt-installing the latex componentsenvironment.ymlfor installing the python dependenciespostBuildfor forcing matplotlib to build the font cache and for installing JupyterLab Latex.
Thanks to m-weigand for giving inspiration for this repo!