Ask Your Question
0

TeXMaths graphics cut off along top & bottom

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

happycactus gravatar image

updated 2019-02-05 00:26:21 +0200

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: 6.1.4.2 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

1 Answer

Sort by » oldest newest most voted
0

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

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
Login/Signup to Answer

Question Tools

1 follower

Stats

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

Seen: 22 times

Last updated: Feb 05