You can specify formatting by using Microsoft® Word, PDF, and HTML template formatting styles.
Create report sections. Divide a Word or PDF report into sections with different layouts.
Create Page Footers and Headers
Create footers and headers for a report.
Set Page Margins in a Word Report
Define margins and header, footer, and gutter sizes for a DOCX page.
Customize the Page Size and Margins of a Word Report
Modify the page dimensions in the Word templates for the title page, table of contents, and chapter reporters.
Set Page Margins in a PDF Report
Define margins and header, footer, and gutter sizes for a PDF page.
Customize the Page Size and Margins of a PDF Report
Modify the page dimensions in the PDF templates for the title page, table of contents, and chapter reporters.
Style Sheet Cells for Headers and Footers
Use style sheet cells to manage headers and footers in reports.
Create a Report With Landscape Pages
Generate a report that has landscape pages.
Create a Report With Portrait and Landscape Pages
Generate a report that has both portrait and landscape pages.
Arrange MATLAB figures next to each other on a page.
Arrange images next to each other on a page.
Use an mlreportgen.dom.ScaleToFit
object to make an image fit on a
page.
Center Figure Snapshot on a Page
Center a figure snapshot on a landscape page for PDF and Word reports.
Center an image using an invisible 1-by-1 table that has the same size as the page body.
Center Formal Image in a PDF Report
Center a formal image using an invisible 1-by-1 table that has the same size as the page body.
For PDF output, MATLAB® Report Generator™ comes configured with default fonts: a serif, a sans serif, and dingbats.
Templates for DOM API Report Programs
Templates provide default formatting for DOM API reports.
Format a report by using style sheets, format objects, or format properties.
A style is a collection of formats that define the appearance of a document object, such as a paragraph, table, or list.
The DOM API allows you to use template-based styles and format object-based styles (or equivalent format properties) to specify the appearance of an object.