Using sagemath via jupyterlab I saw that in a code cell I can use the magic command %%latex
at begining to write after custom $\LaTeX$ after. However I didn't see a way to setup a preamble or so to use latex libraries like tikz-cd. Some my question is, there is a way to use latex libraries like tikz-cd with sagemath?