How do I retain the font and wrap the text while entering text using the "retain spaces and carriage returns" in paragraph component using MATLAB Report Generator R2010b (3.9)?
2 ビュー (過去 30 日間)
古いコメントを表示
I created a report to generate a PDF and a stylesheet file to go with it.
I entered some text within the paragraph component in my report and had checked the "retain spaces and carriage returns" option.
In the generated report I notice that the paragraph is now in a different font and the text is not wrapped.
I would like to be able to retain the font and also wrap the text.
採用された回答
MathWorks Support Team
2011 年 8 月 1 日
The font of the text while using “Retain spaces and character returns“ option within paragraph component can be modified by using the “Monospace Font Family” attribute (under the “Font families” folder) to the stylesheet and set its value to “serif”.
In order to wrap the text when "Monospace Verbatim Properties" property set (under the folder "Property Sets") can be added to the stylesheet and its nested "Wrap Option" value can be changed to "wrap".
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で MATLAB Report Generator についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!