Skip to content

Crop is not tight around the image when exporting LaTeX text to svg/pdf #5564

@nhatkhangcs

Description

@nhatkhangcs

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must search the issue tracker and agree to the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should report bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Bug description

Version: v29.7.12
Demo file: Link
Reproduction steps:

  1. Normal mathematical display: $$F$$ and export to PDF (border margin set to 5) --> the crop is tight to the math text, which is what I want
  2. Change to $$\mathcal{F}$$ and export to PDF (border margin set to 5) --> the crop is not tight (extended to left and right side, depend on justification: left or right of the text display). Expected: The crop should also tight just like first display.

For comparison, I have put those 2 displays in the demo link.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions