MATLAB: How to modify the chapter heading properties in the customized stylesheet using Report Generator in MATLAB 7.4 (R2007a)

MATLAB Report Generatorrptgen

I am trying to modify the font size and font type of my chapter heading in my report generated using report generator. However, the chapter/subsection component under the "Formatting" section does not offer the ability to modify these properties.

Best Answer

The ability to modify the font size and font class of the chapter heading for a report is not available in Report Generator for MATLAB 7.4 (R2007a). As a workaround, modify the "titlepage.templates.xsl" file that may be found at the following location:
$MATLABROOT\sys\namespace\docbook\v4\xsl\fo
where $MATLABROOT is the MATLAB root directory that may be found by entering the following command at the MATLAB command prompt:
matlabroot
To make the modification, you may change the property "chapter.titlepage.recto.style" at line 1976 appropriately. Note that the line number mentioned here is specific to MATLAB 7.4 (R2007a) and is subject to change in upcoming releases of MATLAB.