Published LaTex images too small
Show older comments
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
Anirudh Singh
on 27 Mar 2020
You can publish file with images of size you want in Latex using "Publish" button with custom setting i.e. image pixels setting.
See this for more info : https://www.mathworks.com/help/matlab/matlab_prog/specifying-output-preferences-for-publishing.html
Sean Kilgore
on 27 Mar 2020
Hamid Farshi
on 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.
Answers (1)
Aniket
on 8 May 2025
0 votes
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!