I'm working on a node.js microservice that uses Mathjax to convert equations into SVGs so that they can be used by PrinceXML when generating PDFs. The code is here:
https://github.com/pressbooks/pb-mathjax
I'm having trouble controlling the size of the equations in relationship to the surrounding text. I set "Blacker:0" as described here [1] and saw some improvement but would like more help.
Given that the SVGs included in the testcase.zip file are what's generated by MathJax, and given that I am embedding them using <img> tags, does anyone have any tips to make them look more like they belong in the text?
[1] https://www.princexml.com/forum/topic/4116/svg-output-differs-between-browser-and-prince
https://github.com/pressbooks/pb-mathjax
I'm having trouble controlling the size of the equations in relationship to the surrounding text. I set "Blacker:0" as described here [1] and saw some improvement but would like more help.
Given that the SVGs included in the testcase.zip file are what's generated by MathJax, and given that I am embedding them using <img> tags, does anyone have any tips to make them look more like they belong in the text?
[1] https://www.princexml.com/forum/topic/4116/svg-output-differs-between-browser-and-prince