Columns

<columns> can be used to display content in multiple columns on the document, e.g. line in a printed newspaper.

To define columns, you need to add as many <column> tags as you would like to have columns. Each column needs to have a width in % or a unit (e.g. mm or cm).

It can only be used within a <body>.

Example

<columns gap="6mm">
    <column width="40%">
        <text>Left Column</text>
    </column>
    <column width="60%">
        <text>Right Column</text>
    </column>
</columns>

Attributes

gap

How much space should there between the columns in mm or cm e.g. gap="8mm".

Last updated