To style tables for PDF, you can use a combination of:
-
The table editor in the main topic editor
-
Attributes that you can set in the main topic editor
-
The default table settings that you can set in PDF layouts.
Note
Paligo will only use the default settings in the PDF layouts if those settings are not already defined in the main editor. For example, if you set the width in the main editor, Paligo will use that width and ignore the default width settings in the PDF layout.
For PDF outputs, Paligo has table settings that you can set in the PDF layout. There are five sets of table settings, named Tabstyle1 to Tabstyle5, so you can apply up to 5 different styles of tables to the same document. For example, you may have some tables that you want to use settings from Tabstyle1 and other tables that you want to use the settings from Tabstyle4.
Note
Paligo uses Tabstyle1 for all tables that do not have a tabstyle set already. So if you have tables in your documents, but have not assigned them a tabstyle, then Tabstyle1 is applied to them.
To leave those tables styled as they are currently, leave the Tabstyle1 settings in place. If you want to add any different table styles, use Tabstyle2 to Tabstyle5 instead.
If you change Tabstyle1, it will affect all tables that do not have a tabstyle set.
Each Tabstyle has 4 categories of settings: General (for styling the table frame and body), Header, Footer, and Footnotes. You can use these to define the default settings for each part of your tables.
Paligo will apply the settings in the layout to any table that:
-
Is set to use the relevant table style, see Apply a Table Style (PDF).
-
Does not have the equivalent settings and attributes applied in the topic. For example, if you open a topic and use the table editor to set a table width, Paligo will use that width. It will ignore any width that is set in the PDF layout.
The table settings in the topic take priority over those in the PDF layout.
Paligo's PDF layouts allow you to define up to five different table styles. You can then set the tables in your document to use any of the five styles, depending on your requirements. By default, all tables use the styles in Tabstyle1. But you can use the tabstyle
attribute to set your tables to use a different style.
For example, you could have a specifications table that uses the styles from Tabstyle1 and then set tables in your instruction topics to use styles from Tabstyle2.
To apply a table style to a specific table:
-
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 in the Element Structure Menu and choose Go to element. -
Add the
tablestyle
attribute in the Element Attributes Panel and set the value to match the name of the table styles you want to use (tabstyle1, tabstyle2, tabstyle3, tabstyle4, or tabstyle5). -
Select Save.
When you publish, the table you have edited will use the settings from the table style you set as the attribute value.
For PDF outputs, use the PDF layout to set the default styling for tables. There are 5 Tabstyle categories to choose from, and each of those has General settings for styling the table body. (To learn about the different Tabstyle categories, see Apply a Table Style (PDF)).
The PDF layout has settings for styling the table footer for PDFs. You can use it to change various properties of the footer, including the background color, alignment, and text color.
For example, the following image shows a table with a footer that has been set to have a blue background, white text, and right-aligned text.
Note
As with the table body, table header, and table footnotes settings, there are 5 Tabstyle categories to choose from. Each of those has its own footer settings. To learn about the different Tabstyle categories, see Apply a Table Style (PDF)
For PDF outputs, you can use the PDF layout to set the default background color for table footers. For example, in the following image, the table footer has been set to have a blue background.
To set the default background color for table footers:
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Tables in the sidebar.
-
Select the Table style that you want to change in the sidebar.
There are 5 table styles that you can use. By default, tables will use the Tabstyle1 settings, but you can set them up to use any of the other four settings instead, see Apply a Table Style (PDF).
-
Select Footer.
-
Set the Background color for table footer rows. This is the "fill" color of the footer row.
-
Clear the Use default color checkbox to select a color of your own choice.
-
Set the color either by:
-
Entering an RGBA code for the color you want (1).
-
Selecting the Color square to display the color selector (2).
-
Choose the color with the spectrum bar (3).
-
Control the transparency with the opacity bar (4).
-
Choose the color shade with the main color panel (5).
-
-
-
Select Save.
When you publish with this PDF layout, Paligo will apply the footer styles to any tables that are set to use the tabstyle you selected in step 2.
For PDF outputs, you can use a PDF layout to set the default style of text in table footers. The PDF layout has settings for controlling the typeface, color, and size of the text. For example, the following image shows footer text that is set to use a different font, and the text is white and smaller than the text in the rest of the table.
To set the default style for text in table footers:
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Tables in the sidebar.
-
Select the Table style that you want to change in the sidebar.
There are 5 table styles that you can use. By default, tables will use the Tabstyle1 settings, but you can set them up to use any of the other four settings instead, see Apply a Table Style (PDF).
-
Select Footer.
-
Set the Font color for table footer rows. This is the color of the text in the footer row.
-
Clear the Use default color checkbox to select a color of your own choice.
-
Set the color either by:
-
Entering an RGBA code for the color you want (1).
-
Selecting the Color square to display the color selector (2).
-
Choose the color with the spectrum bar (3).
-
Control the transparency with the opacity bar (4).
-
Choose the color shade with the main color panel (5).
-
-
-
Set the Default font family for text in table footer. This is the typeface for the text in the footer and you can choose any of the available fonts from the list.
-
Set the Default font size for text in table footer. You can enter:
-
Auto
The table footer will use same typeface size as body text in the topic.
-
Percentage
The table footer will use a typeface size that is a percentage of the body text in the topic. For example, 50% would be half the topic text size.
-
Value and units of measurement
Any measurement with the units, for example, 12pt or 1.3em.
-
-
Select Save.
When you publish with this PDF layout, Paligo will apply the footer styles to any tables that are set to use the tabstyle you selected in step 2.
Note
To control the position of the text in the footer, see Set Table Footer Alignment.
To control what happens if a word cannot fit on a line in the footer, see Control Table Footer Hyphenation.
For PDF outputs, you can use the PDF layout to set the default alignment for text in table footers. For example, in the following image, the table footer text is set to be aligned to the right.
To set the alignment for table footers:
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Tables in the sidebar.
-
Select the Table style that you want to change in the sidebar.
There are 5 table styles that you can use. By default, tables will use the Tabstyle1 settings, but you can set them up to use any of the other four settings instead, see Apply a Table Style (PDF).
-
Select Footer.
-
Set the Default alignment for text in table footer.
-
From-table-column() - Tells Paligo to use the column alignment that you can set on the table in the main editor, see Display Table Settings. This is the default setting. If you have a table that has no column alignment in place, Paligo will use the Start alignment instead.
-
-
Select Save.
When you publish with this PDF layout, Paligo will apply the footer styles to any tables that are set to use the tabstyle you selected in step 2.
To control the hyphenation in table footers for PDF outputs, use the Allow hyphenation in table footer setting in the PDF layout.
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Tables in the sidebar.
-
Select the Table style that you want to change in the sidebar.
There are 5 table styles that you can use. By default, tables will use the Tabstyle1 settings, but you can set them up to use any of the other four settings instead, see Apply a Table Style (PDF).
-
Select Footer.
-
Use Allow hyphenation in table footers to control whether words are hyphenated when they cannot fit on a line. Choose either:
-
True
Paligo will use hyphenation when a word cannot fit on a line in the table footer.
-
False
If a word in a table footer cannot fit on a line, Paligo will move it to the next line. It will not use hyphenation.
-
-
Select Save.
When you publish with this PDF layout, Paligo will apply the header styles to any tables that are set to use the tabstyle
you updated.
The PDF layout has settings for styling footnotes in tables. The footnotes appear as a label in the table cell, with the footnote text listed below the table.
Note
As with the table body, table header, and table footer settings, there are 5 Tabstyle categories to choose from. Each of those has its own footnotes settings. To learn about the different Tabstyle categories, see Apply a Table Style (PDF)
Tip
To learn how to add footnotes, see Footnotes.
If a table cell contains a footnote, Paligo will add a footnote label, such as a number, to the cell. It will also add the full text of the footnote in a list after the table. For PDF outputs, you can use the PDF layout to set the default style of the label.
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Tables in the sidebar.
-
Select the Table style that you want to change in the sidebar.
There are 5 table styles that you can use. By default, tables will use the Tabstyle1 settings, but you can set them up to use any of the other four settings instead, see Apply a Table Style (PDF).
-
Select Footnotes.
-
Set the Number format for table footnotes. This defines the appearance of the footnote label that appears inside the table.
Choose from:
-
a
For a lower case letter, used in alphabetical order.
-
A
For an upper case letter, used in alphabetical order.
-
1
For a number, with no 0 prefix for numbers below 10.
-
01
For a number, with a 0 prefix for numbers below 10.
-
i
For lower case roman numerals, for example, iii
-
I
For upper case roman numerals, for example, III
-
-
Select Save.
When you publish with this PDF layout, Paligo will apply the footnote styles to any tables that are set to use the tabstyle
you updated.
For PDF outputs, use the PDF layout to define the style, size, and color of the text for footnotes. For example, in the following image, the text has been styled so that it is blue, has a thin weight, and has a back slant.
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Tables in the sidebar.
-
Select the Table style that you want to change in the sidebar.
There are 5 table styles that you can use. By default, tables will use the Tabstyle1 settings, but you can set them up to use any of the other four settings instead, see Apply a Table Style (PDF).
-
Select Footnotes.
-
Set the Font family for table footnotes. This is the typeface for the text in the footnotes below the table. You can choose any of the available fonts from the list.
-
Set the Font size for table footnotes. You can enter:
-
Percentage
The table footer will use a typeface size that is a percentage of the body text in the topic. For example, 50% would be half the topic text size.
-
Value and units of measurement
Any measurement with the units, for example, 12pt or 1.3em.
Or leave the field blank to reset to the default sizing.
-
-
Set the Font weight for table footnotes. The font weight defines the thickness of the characters, and there are options ranging from Thin (for the narrowest lines) to Extra bold and Black for the thickest lines.
-
Set the Font style for table footnotes. You can choose from:
-
Normal
Regular text, no slant.
-
Italic
Forward leaning text.
-
Backslant
Backwards-leaning text.
-
-
Set the Color for table footnotes. This is the color of the footnote text below the table.
-
Clear the Use default color checkbox to select a color of your own choice.
-
Set the color either by:
-
Entering an RGBA code for the color you want (1).
-
Selecting the Color square to display the color selector (2).
-
Choose the color with the spectrum bar (3).
-
Control the transparency with the opacity bar (4).
-
Choose the color shade with the main color panel (5).
-
-
-
Select Save.
When you publish with this PDF layout, Paligo will apply the footnote styles to any tables that are set to use the tabstyle
you updated.
When publishing to PDF, you can use a PDF layout to control the amount of spacing above each footnote under a table.
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Tables in the sidebar.
-
Select the Table style that you want to change in the sidebar.
There are 5 table styles that you can use. By default, tables will use the Tabstyle1 settings, but you can set them up to use any of the other four settings instead, see Apply a Table Style (PDF).
-
Select Footnotes.
-
Set the Space-before for table footnotes. This is an amount of space that Paligo will add above each footnote that appears after the table. Enter a value and a unit of measurement, for example, 3pt or 1.5em.
-
Select Save.
When you publish with this PDF layout, Paligo will apply the footnote styles to any tables that are set to use the tabstyle
you updated.
The PDF layout has settings for styling the table header for PDFs. You can use it to change various properties of the header, including the background color, alignment, and text color.
For example, the following image shows a table with a header that has been set to have a blue background, white text, with a different font and font size to the rest of the table.
Note
As with the table body, table footer, and table footnotes settings, there are 5 Tabstyle categories to choose from. Each of those has its own header settings. To learn about the different Tabstyle categories, see Apply a Table Style (PDF)
For PDF outputs, you can use the PDF layout to set the default background color for table headers. For example, in the following image, the table header has been set to have a blue background.
To set the default background color for table headers:
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Tables in the sidebar.
-
Select the Table style that you want to change in the sidebar.
There are 5 table styles that you can use. By default, tables will use the Tabstyle1 settings, but you can set them up to use any of the other four settings instead, see Apply a Table Style (PDF).
-
Select Header.
-
Set the Background color for table header rows. This is the "fill" color of the header row.
-
Clear the Use default color checkbox to select a color of your own choice.
-
Set the color either by:
-
Entering an RGBA code for the color you want (1).
-
Selecting the Color square to display the color selector (2).
-
Choose the color with the spectrum bar (3).
-
Control the transparency with the opacity bar (4).
-
Choose the color shade with the main color panel (5).
-
-
-
Select Save.
When you publish with this PDF layout, Paligo will apply the header styles to any tables that are set to use the tabstyle
you updated.
For PDF outputs, you can use a PDF layout to set the default style of text in table headers. The PDF layout has settings for controlling the typeface, color, and size of the text. For example, the following image shows header text that is set to use a serif font, and the text is white and larger than the text in the rest of the table.
To set the default style for text in table headers:
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Tables in the sidebar.
-
Select the Table style that you want to change in the sidebar.
There are 5 table styles that you can use. By default, tables will use the Tabstyle1 settings, but you can set them up to use any of the other four settings instead, see Apply a Table Style (PDF).
-
Select Header.
-
Set the Font color for table header rows. This is the color of the text in the header row.
-
Clear the Use default color checkbox to select a color of your own choice.
-
Set the color either by:
-
Entering an RGBA code for the color you want (1).
-
Selecting the Color square to display the color selector (2).
-
Choose the color with the spectrum bar (3).
-
Control the transparency with the opacity bar (4).
-
Choose the color shade with the main color panel (5).
-
-
-
Set the Default font family for text in table header. This is the typeface for the text in the header and you can choose any of the available fonts from the list.
-
Set the Default font size for text in table header. You can enter:
-
Auto
The table header will use same typeface size as body text in the topic.
-
Percentage
The table header will use a typeface size that is a percentage of the body text in the topic. For example, 50% would be half the topic text size.
-
Value and units of measurement
Any measurement with the units, for example, 12pt or 1.3em.
-
-
Select Save.
When you publish with this PDF layout, Paligo will apply the header styles to any tables that are set to use the tabstyle
you updated.
Note
To control the position of the text in the header, see Set Table Header Alignment.
To control what happens if a word cannot fit on a line in the header, see Control Table Header Hyphenation.
For PDF outputs, you can use the PDF layout to set the default alignment for text in table headers. For example, in the following image, the table header text is set to be aligned to the center.
To set the alignment for table headers:
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Tables in the sidebar.
-
Select the Table style that you want to change in the sidebar.
There are 5 table styles that you can use. By default, tables will use the Tabstyle1 settings, but you can set them up to use any of the other four settings instead, see Apply a Table Style (PDF).
-
Select Header.
-
Set the Default alignment for text in table header.
-
From-table-column() - Tells Paligo to use the column alignment that you can set on the table in the main editor, see Display Table Settings. This is the default setting. If you have a table that has no column alignment in place, Paligo will use the Start alignment instead.
-
-
Select Save.
When you publish with this PDF layout, Paligo will apply the header styles to any tables that are set to use the tabstyle
you updated.
To control the hyphenation in table headers for PDF outputs, use the Allow hyphenation in table header setting in the PDF layout.
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Tables in the sidebar.
-
Select the Table style that you want to change in the sidebar.
There are 5 table styles that you can use. By default, tables will use the Tabstyle1 settings, but you can set them up to use any of the other four settings instead, see Apply a Table Style (PDF).
-
Select Header.
-
Use Allow hyphenation in table headers to control whether words are hyphenated when they cannot fit on a line. Choose either:
-
True
Paligo will use hyphenation when a word cannot fit on a line in the table header.
-
False
If a word in a table header cannot fit on a line, Paligo will move it to the next line. It will not use hyphenation.
-
-
Select Save.
When you publish with this PDF layout, Paligo will apply the header styles to any tables that are set to use the tabstyle
you updated.
Comments
0 comments
Article is closed for comments.