report_title_slide
report_title_slide(doc, title, subtitle=None, layout=None, master=None)Add the opening title slide.
A one-line title slide, placed on the template’s title layout (the one with a centre-title placeholder), with an optional strapline in its subtitle placeholder.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| doc | pptx.Presentation or docx.Document | A document from report_new(). |
required |
| title | str | Deck title. | required |
| subtitle | str | Strapline for the subtitle placeholder: the respondent base and fieldwork period, say. | None |
| layout | str | Overrides; None auto-selects the title layout. | None |
| master | str | Overrides; None auto-selects the title layout. | None |
Returns
| Name | Type | Description |
|---|---|---|
| pptx.Presentation or docx.Document | The document. |
See Also
report_slide, report_section
Examples
>>> doc = report_title_slide(report_new("pptx"), "Pod-Racing Fan Survey", subtitle="1,000 fans | Fieldwork 2026")