User`s guide
8 Create Custom Stylesheets
8-36
The MATLAB Report Generator software converts the XML source file for
wsvar-report to PDF format, and then opens the PDF document.
3
Make the report headers more prominent.
a
In the File Converter, click Edit.
The Report Explorer displays the Unnumbered Chapters and Sections
stylesheet.
b
In the Properties pane on the right, enter Custom Large Section Headers
as the stylesheet name.
c
Enter the description No chapter and section numbering, larger
section titles.
d
In the Outline pane on the left, select the Custom Large Section Headers
stylesheet.
e
In the Options pane in the middle, select Section Title Level 1 Properties.
f
In the Properties pane on the right, click Add to current stylesheet.
The Section Title Level 1 Properties data item appears in the Outline pane
on the left as a child of the Custom Large Section Headers stylesheet.
g
In the Properties pane on the right, select the Font Size attribute.
The Properties pane on the right displays an XML expression specifying font
size as a multiple of the Body Font Size attribute.
h
Click Edit as string.
The MATLAB Report Generator software converts the XML expression to a
simple string, which appears in a pane labeled Value.
i
Enter the value 18pt.
The size of the font is now fixed at 18 points, rather than being a multiple of the
body font size attribute.
j
Select File > Save to save the stylesheet.
k
Save the stylesheet as customheader.rgs, in a folder in your MATLAB path.