Paligo has an orient attribute that you can use to rotate tables for PDF outputs. Depending on your requirements, you can rotate a table so that it is shown as Set a Table to Landscape Orientation or Set a Table to Portrait Orientation.
Tables are shown as portrait by default (and are always shown as portrait in the editor, even if they are set to be landscape when published). HTML outputs always use portrait orientation as wide tables get a scrollbar to allow users to view all cells in the table.
To set a table to landscape orientation when published to PDF:
Note
The landscape orientation only appears in the published output. In the Paligo editor, the table remains in portrait orientation.
-
Select the topic or component in the Content Manager to open it in the Editor.
-
Position the cursor inside the table.
-
Select the
table
element orinformaltable
element in the Element Structure Menu and choose Go to element. -
Add the
orient
attribute in the Element Attributes Panel and set its value toland
. -
Select Save.
When you publish to PDF, the table is shown in landscape orientation.
To set a table to portrait orientation when published to PDF:
-
Select the topic or component in the Content Manager to open it in the Editor.
-
Position the cursor inside the table.
-
Select the
table
element orinformaltable
element in the Element Structure Menu and choose Go to element. -
Add the
orient
attribute in the Element Attributes Panel and set its value toport
.Alternatively, you could remove the orient attribute completely, as Paligo uses portrait orientation by default.
-
Select Save.
Comments
0 comments
Article is closed for comments.