from librarian.embeds.mathml import MathML
text = MathML(trees[0]).to_latex().data
# Remove invisible multiplications, they produce unwanted spaces.
from librarian.embeds.mathml import MathML
text = MathML(trees[0]).to_latex().data
# Remove invisible multiplications, they produce unwanted spaces.