seachel / treehehe

An interactive visualization of proof tree representations of mathematical proofs using D3 and MathJax.
0 stars 0 forks source link

Investigate SVG in MathJax #21

Closed seachel closed 5 years ago

seachel commented 5 years ago

Is there a configuration that doesn't require relocating nodes so that they'll be rendered by svg?

seachel commented 5 years ago

The svg node needs to be in a sibling svg or g node. For some reason it is placed in the previous text node which has no width or height after LaTeX svgs created. A sufficient workaround has been found.