Published LaTex images too small

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 Kommentare

Anirudh Singh
Anirudh Singh am 27 Mär. 2020
You can publish file with images of size you want in Latex using "Publish" button with custom setting i.e. image pixels setting.
Sean Kilgore
Sean Kilgore am 27 Mär. 2020
Unfortunately, that setting is not affecting the equations, just the figures. Any other thoughts?
Hamid Farshi
Hamid Farshi am 15 Sep. 2025
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Aniket
Aniket am 8 Mai 2025

0 Stimmen

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

Kategorien

Mehr zu Printing and Saving finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 18 Mär. 2020

Kommentiert:

am 15 Sep. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by