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
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개)

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

제품


릴리스

R2010b

Community Treasure Hunt

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

Start Hunting!

Translated by