There is a way to use tikz-cd in a sage notebook?
Using sagemath via jupyterlab I saw that in a code cell we can use the magic command %%latex
at the beginning to write after custom $\LaTeX$. However I didn't see a way to setup a preamble or so to use latex libraries like tikz-cd. So my question is, there is a way to use latex libraries like tikz-cd with sagemath?
I think that in the notebook,
%%latex
is restricted to what MathJax can handle: https://docs.mathjax.org/en/v2.5-late.... You can use AMS-cd, I believe, but not tikz-cd.I see @JohnPalmieri, maybe there is a way to produce images directly from latex in a different way?