Published LaTex images too small

5 views (last 30 days)
Sean Kilgore
Sean Kilgore on 18 Mar 2020
Commented: Hamid Farshi on 15 Sep 2025 at 0:13
When I use the publish command, even on the example code included in the matlab documentation, the LaTex image files that are published turn out to be 2 pixels by 1 pixel
  3 Comments
Sean Kilgore
Sean Kilgore on 27 Mar 2020
Unfortunately, that setting is not affecting the equations, just the figures. Any other thoughts?
Hamid Farshi
Hamid Farshi on 15 Sep 2025 at 0:13
if you are using MATLAB Online (or using MATLAB R2025a release), I suggest you take a look at the new plain text .m live scripts. it might work better for what you are trying to accomplish.

Sign in to comment.

Answers (1)

Aniket
Aniket on 8 May 2025
The quality of LaTex equations is significantly improved for live editors. I suggest using a live editor (.mlx) file and using the export function. You may alternatively use Export from Live Editor Toolstrip --> Export --> Export as PDF.
Please find more details regarding export function in this documentation: https://www.mathworks.com/help/matlab/ref/export.html

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!