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 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 1 Aug. 2011
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".

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange

Produkte


Version

R2010b

Community Treasure Hunt

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

Start Hunting!

Translated by