layout
Configure document typesetting and layout by setting columns, fonts, margins, headers, footers, table of contents, line spacing, and section breaks. Only specified parameters are changed; others remain unchanged.
Instructions
Configure document typesetting and layout.
Only provided parameters are changed; others are left as-is.
section_break: Page break before level-1 sections. "before" inserts \clearpage before each \section. Works in any column mode. Individual sections can override via edit(page_break="before").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | No | ||
| font | No | ||
| font_sans | No | ||
| font_mono | No | ||
| font_size | No | ||
| paper | No | ||
| margins | No | ||
| header_left | No | ||
| header_center | No | ||
| header_right | No | ||
| footer_left | No | ||
| footer_center | No | ||
| footer_right | No | ||
| toc | No | ||
| lof | No | ||
| lot | No | ||
| line_spacing | No | ||
| section_break | No | ||
| style | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |