How to I set the font when printing a function from the editor?

2 ビュー (過去 30 日間)
Roy Hogan
Roy Hogan 2022 年 2 月 10 日
回答済み: ag 2023 年 9 月 29 日
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
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.
Also verify normal settings under the Preferences/Fonts (mine is Monospaced, Plain, 10)
Roy Hogan
Roy Hogan 2022 年 2 月 10 日
Yes,.... I have tried setting the font there, but the printed font is still huge... My estimate, in the range of 30 pts. thank you for your reply.

サインインしてコメントする。

回答 (1 件)

ag
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
2. Change the font size as per your requirement
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.
Hope this helps!
Best Regards,
Aryan Gupta

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by