Columns
In Heretto PDF Generator, you can lay out elements in multiple columns on a page. Follow information provided in this section to build PDF Generator publishing scenarios based on Gray and Color templates. For more information about the templates, see Gray and Color Templates.
You can decide which elements are divided into columns with outputclass attributes. You can style how the columns look with CSS.
By default, some elements, such as titles, span across every column. For more information, inspect the template code.
Resource location: | @import url("https://jorsek.github.io/pdfgen.github.io/styles1.1/modules/layout/columns.css"); |
Add Border Between Columns
You can add borders between the columns.
Columns are divided by borders.
Adjust the Gaps Between Columns
You can adjust the gaps between the columns.
The gap between the columns has the assigned width.
Outputclass Attributes for Columns
For Heretto PDF Generator, when laying out content in multiple columns, consider using the landscape page orientation. For more information, see Page Orientation, Size, Margins.
You can learn how to assign outputclass attributes here: Outputclass Attributes for PDF Generator.
Outputclass Attribute |
Description |
Target DITA Element |
---|---|---|
two_column |
Split the content into two columns |
topic, element inside a topic |
three_column |
Split the content into three columns |
topic, element inside a topic |
four_column |
Split the content into four columns |
topic, element inside a topic |