Skip to main content
Autype provides several elements to control how content is positioned on pages in the exported document.

Page breaks

Simple page break

A horizontal rule (---) is treated as a page break in the rendered document:

Explicit page break with orientation

Change page orientation with the explicit page break syntax:
This is useful for inserting a landscape page for wide tables or charts, then switching back to portrait.

Example: Mixed orientations


Page sections

Page sections let you position content at specific vertical locations on a page. This is essential for title pages, certificates, and custom layouts.

Syntax variant 1: Dash syntax

Syntax variant 2: Directive syntax

Both syntaxes are equivalent.

Vertical alignment

Absolute positioning with startY

Position content at an exact vertical position (in points from the top):

Attribute reference

Example: Title page

Flow page assignment

Use ---flow--- when a normal editable flow needs page-design metadata but no column wrapper:
The same attributes work on ---columns---. See Document Styling for master-page and region definitions.

Example: Certificate


Columns layout

Create multi-column layouts similar to LaTeX two-column papers. Content flows automatically from one column to the next.

Basic two-column layout

Three-column layout

With separator line

Add a vertical line between columns:

Attribute reference

Example: Academic paper style

Columns are a section-level property — all content between ---columns{...}--- and ---/columns--- flows across the specified number of columns. In PDF/DOCX export, this uses native document column support for accurate rendering.

Semantic layouts

Semantic layouts place independently editable content side by side. Use them for summaries, image/text combinations, KPI rows, and other layouts where each column needs its own content. Unlike flowing columns, content never moves automatically from one semantic column into another.

Layout attributes

Column width accepts a fixed centimeter number, %, fr, or auto. Columns can independently define verticalAlign, background, border, and padding.
Semantic layouts are exported as fixed-width DOCX tables. Their headings, paragraphs, lists, images, and form fields remain editable in Word and LibreOffice.

Fixed canvas

Canvas is intended for cover pages, certificates, title panels, and other deliberately fixed visual compositions. Item positions and dimensions are percentages of the canvas.
Supported items:
  • canvasText: text, typography, colors, alignment, vertical alignment, padding
  • canvasImage: source, alt text, fit, and focal point
  • canvasShape: rectangle, ellipse, or line with fill and border styling
Common item attributes are id, x, y, width, height, rotation, opacity, and zIndex.
Canvas items remain editable in Autype. For deterministic DOCX and LibreOffice output, the complete canvas is exported as one high-resolution image, so its individual items are not editable in Word. Form fields are not supported inside canvas; use semantic layouts for editable controls.

Pagination controls

Extended block elements can use the following attributes: These map to native DOCX pagination where available and to equivalent print CSS for HTML output.

Spacers

Add vertical spacing between elements:

Custom height

Lines (default unit):
This adds 2 lines of vertical space. Pixels:
This adds exactly 50 pixels of vertical space.

Height values

Spacers are useful for fine-tuning layout on title pages or between sections where the default paragraph spacing isn’t enough.