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 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 1 de Ag. de 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".

Más respuestas (0)

Categorías

Más información sobre MATLAB Report Generator en Help Center y File Exchange.

Productos


Versión

R2010b

Community Treasure Hunt

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

Start Hunting!

Translated by