Info
This site is generated using the static site generator developed by the Typst Community. Please adjust the text content of this banner according to your usage requirements. At Typst GmbH's request, when publishing documentation, you must clearly indicate that it is non-official and display the version of Typst being documented. For details, refer to Issue #874 on typst/typst.

pagebreak
Element
Element
Element functions can be customized with set and show rules.

A manual page break.

Must not be used inside any containers.

Example

The next page contains
more details on compound theory.
#pagebreak()

== Compound Theory
In 1984, the first ...
Preview

Parameter
Parameter
Parameters are input values for functions. Specify them in parentheses after the function name.

weak
Settable
Settable
Settable parameters can be set using the set rule, changing the default value used thereafter.

If true, the page break is skipped if the current page is already empty.

Default value:

false

to
Settable
Settable
Settable parameters can be set using the set rule, changing the default value used thereafter.

If given, ensures that the next page will be an even/odd page, with an empty page in between if necessary.

Show example
#set page(height: 30pt)

First.
#pagebreak(to: "odd")
Third.
Preview
Available string values
  • even

    Next page will be an even page.

  • odd

    Next page will be an odd page.

Default value:

none

Open official docs

Search