![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/889930/image.png)
How to I set the font when printing a function from the editor?
조회 수: 4 (최근 30일)
이전 댓글 표시
I am running 2021b (windows 10) on a 3840x2160 monitor and when I print from the editor, the fonts are HUGE. I have tried adjusting the settings options found by "right-clicking" on the executable file, but nothing there seems to make any difference. Nothing I have found in my searching that has solved the issue. It will likely be something simple, but I'm at a dead-end now. Any suggestions... Thank you for your help!
댓글 수: 2
AndresVar
2022년 2월 10일
편집: AndresVar
2022년 2월 10일
did you try the 'page setup' option from the print button dropdown menu?
There is a 'fonts' tab to choose the fonts and size.
You may be able to get the right fontsize that way.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/889930/image.png)
Also verify normal settings under the Preferences/Fonts (mine is Monospaced, Plain, 10)
답변 (1개)
ag
2023년 9월 29일
Hi Roy,
I understand that you need to print your code from the editor, with reduced font size.
To do so, please follow the below reference images,
1. Go to page setup
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1496539/image.png)
2. Change the font size as per your requirement
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1496544/image.png)
As you can see here, the sample text size changes upon changing the font size, and the same gets reflected when we print it out.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1496549/image.png)
Hope this helps!
Best Regards,
Aryan Gupta
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!