Set the Last Line Alignment for Tables (PDF)
With Paligo's Align text on the last line feature, you can make a centered paragraph break on to the next line for better alignment. It especially useful for centered text, as it helps to prevent a single word, or part of a single word, being on the last line.
Note
The Align text on the last line feature:
Only affects tables that have "center" or "justified" alignment set on the table columns or certain elements of the table structure. Those elements are:
tbody,thead,tfoot,tr,td,th.Is designed for center-aligned text. We recommend that you disable the feature for justified text and other alignments.
To learn how to set table alignment, see: Change Column Alignment and Change Cell Alignment.
To change the Align text on the last line setting:
Set Align text on the last line to:
Enable to turn the feature on.
Paligo will balance centered text that is longer than one line by allowing the text to flow equally over two lines. This prevents a single word or partial word being displayed on its own on the last line.
Disable to turn the feature off.
Paligo will try to fit the centered content on a single line in a table cell. It will run on to the next line if there is not enough space.
Let's say you have a table and you give a row (tr) the align attribute with a value of center.
In your PDF Layout, you have Align text on the last line disabled. When you publish, you get a cell like this:
![]() |
Here, the table cell has center alignment and it contains a single paragraph. Paligo centers the text, but the final word runs over on to the last line. There is a line-break inside the word and the remaining part of the word is on its own. It looks unusual as there is a partial-word centered.
You enable the Align text on the last line setting and publish again. This time, you get:
![]() |
Notice how Paligo still positions the text centrally but breaks the lines at different points, so that the last line has more words. This gives the cell a better balance.




