Ask Your Question

TeXMaths graphics cut off along top & bottom

asked 2019-02-04 23:56:18 +0100

happycactus gravatar image

updated 2020-09-25 14:11:52 +0100

Alex Kemp gravatar image

How do I fix the padding of TeXMaths equation rendering? I often have the problem that equations compiled to SVG get cut off along the top and bottom. Attached image shows an example when using LibreOffice Draw.

Any help is seriously appreciated--I have dealt with this issue numerous times and never managed to find a solution. I think the issue is with using "/usr/bin/dvisvgm" to produce the SVG graphic but I don't know how to reconfigure that; PNG graphics come out correctly, but I want vector.

Possibly relevant info:

TexMaths Version 0.46

LibreOffice Version: Build ID: 6.1.4-4 CPU threads: 8; OS: Linux 4.20; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); Calc: group threaded

image description

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2019-02-05 00:50:36 +0100

happycactus gravatar image

Updating to TeXMaths 0.46.1 seems to have fixed the problem. If this had not worked, I was going to try to figure out how to add the option "--exact" to the /usr/bin/dvisvgm command as discussed here.

edit flag offensive delete link more

answered 2019-05-20 15:40:38 +0100

Trasen gravatar image

For Windows users who still have this problem, try to disable OpenGL systematic render in Tools -> Options -> Display. Worked for me

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-02-04 23:56:18 +0100

Seen: 168 times

Last updated: May 20 '19