Table Styles

Search this space

Check out the Tables page in the JATS Export section for XML export examples.

In this section

This page describes how to style the various elements of tables in your Word document.

All tables, or content styled with the Table elements of the paragraph styles palette, must be in Word table format. Otherwise, export is likely to produce parsing errors.

For tips on dealing with tables in Word, read our 3-part blog post series “Better living through Microsoft tables.”

Table Title Variations

The styles Table TitleTable Title Continued and Table Accessibility Caption are all used for elements of the overall table caption, including the table number (if present). This content can be placed either inside or outside the Word table structure.

Table Title should contain the table number and the first paragraph of the table caption.

The table number should be separated from the caption by some sort of strong separator, such as:

  • a period

  • a colon

  • a tab

If the caption extends to a second or subsequent paragraph, these paragraphs should be styled using Table Title Continued.

The Table Accessibility Caption style is provided to accommodate a description of the table and its contents for the use of visually impaired users.

 

The Table Body

Table Head is used for the column head cells at the top of the columns of the Word table. 

Table Body is used for the table body cells. 

Table Footnote is used for table footnotes. This style also includes paragraphs, such as table legends, that fall after the table body and span the width of the table but are not cited from within the table as a table footnote.

Content styled as Table Footnote may be inside or outside the Word table structure.

The more formatting you set correctly in Word, the more that formatting will be correctly reflected in the XML (cell alignment, column widths, cell borders, cell shading).

 

 

 

 

 

 

Table and Box Location in the Word File 

Numbered tables and boxes may be located in the Word file either at the end of the file or just after the paragraph where the item is first cited. In either situation, eXtyles JATS will correctly place the table or box in the XML file as set up in your configuration. 

In the case of unnumbered and/or uncited tables and boxes, the table or box must be placed in the Word file just after the paragraph where it should appear in the PDF file or HTML page.

 

Table and Column Widths

By default, eXtyles JATS does not export the overall table width from Word into the XML.

It is possible to set up eXtyles JATS to detect the absolute width of the table as it appears in Word and pass through the width to the XML export in whatever unit fits your workflow needs (e.g., inches, centimeters, points, etc.).

Column widths are calculated as percentages of the total width of the table by default. Export examples for table column widths represented as percentages in the XML can be found on the Tables page in the JATS Export section.

Copyright © 2022 Atypon Systems, LLC. All Rights Reserved.