# %display latex makes output centered (in exported tex file)

My headline sums it up. I usually download my jupyter worksheet as latex and compile it for math assignments.

I recently upgraded to 9.4 (compiled from source), and suddenly all outputs are centered when %display latex is toggled. This doesn't happen when downloading as html.

Does anyone know how to put outputs back to the left, where they belong?

\end{math}


If anyone knows how to get rid of the dollar signs, or actually knows of a better way to do this, please let me know.

EDIT:

I have now managed to remove the superfluous dollarsigns by adding strip_dollars to the filters. I still don't know if this might break something, but everything has been fine and dandy so far. Will report any issues, and I hope someone can benefit from this.

Here is the full edit:

% Display latex
((* block data_latex -*))
\begin{math}
((( output.data['text/latex'] | strip_files_prefix | strip_dollars )))
\end{math}
((* endblock data_latex *))

more