RML (Report Markup Language) is ReportLab's own language for specifying the appearance of a printed page, which is converted into PDF by the utility rml2pdf.
These RML samples showcase techniques and features for generating various types of ouput and are distributed within our commercial package as test cases. Each should be self explanatory and stand alone.
Headings test You can customize heading styles like this: ]]>

This is heading 1

This is heading 2

This is heading 3

This is heading 4

This is heading 5
This is heading 6

This code is generated with folowing RML:

This is heading 1]]> This is heading 2]]> This is heading 3]]> This is heading 4]]> This is heading 5]]> This is heading 6]]>