Updated November 30, 2026
Wide Tables, Narrow Pages: Column Widths, Landscape Breaks, and Pagination That Holds
Nine columns across 17 centimetres: why tables break at export, how columnWidths works as a budget, when a landscape page beats a smaller font, and six checks before sending.
A nine-column fee schedule looks harmless in the editor. In the PDF the price column wrapped onto three lines, the header row went missing on page three, and one cell read "1,250.00" without the currency symbol because the rest had been clipped. Three separate causes — column width, page size, pagination behaviour — that all have to be decided while writing, and usually aren't.
So this article treats tables as a layout decision rather than a Markdown syntax question. It shows how to calculate column widths as a budget, when a landscape page beats a smaller font, what you can actually control at a page break, and why number formats are language-dependent. It ends with six checks that take five minutes before sending.
The header row is a semantic decision
Standard Markdown has exactly one piece of table structure: the separator row. If |---|---| sits under the first row, that row counts as the header; without it, every row is treated as a data row. That sounds like a detail, but it decides two things — whether the export marks the row structurally, and whether a caption such as "Table 3" has a meaningful anchor at all.
Cells are not limited to text. Inline formatting works, images can be embedded with width and height, and a cell can hold exactly one form field, for example ::field{name="approval" type=checkbox options="Approved"}. For choice fields the options are separated by commas rather than pipes, because the pipe is the column delimiter and anything after it would start a new column.
Column widths are a budget, not a matter of taste
Real width values exist only through the table directive :::table{...}. The columnWidths attribute takes a comma-separated list that applies from left to right. Four units are allowed:
| Value | Meaning | When to use it |
|---|---|---|
4 | fixed width in centimetres | dates, item numbers and prices that must never shrink |
30% | share of the available table width | columns that should grow proportionally |
1fr, 2fr | flexible share of what is left | text columns: 2fr gets twice as much as 1fr |
auto | automatic | the last column when you don't want to steer it |
Mixed values are explicitly supported: columnWidths="4,1fr,2fr" pins the first column at 4 cm and splits the remainder 1:2. Two rules save debugging time. If you supply fewer values than columns, the remaining columns fall back to auto. If you supply more values than columns, validation rejects the table. A stray comma is therefore an error, not a silent hint.
The arithmetic starts with the measure. A4 portrait is 21.0 cm wide; with 2.0 cm margins on each side, 17.0 cm remain. With columnWidths="4,1fr,2fr", 4 cm are fixed and the remaining 13 cm split 1:2 — 4.33 cm and 8.67 cm. Margins are set in millimetres in the style editor, so the calculation belongs before drafting, not after export.
For lower bounds, a rule of thumb helps: a price such as "1,250.00 €" needs roughly 2.0 to 2.3 cm at 9 pt including cell padding, a date such as "31/12/2026" about 1.8 cm. Nine columns across 17 cm average 1.9 cm — arithmetically too little. That is precisely why the table breaks, and no font-size tweak fixes it for good.
When 17 centimetres are not enough
There are three answers, and only one of them is about width:
| Situation | Answer | What it costs |
|---|---|---|
| One or two wide columns, plenty of text beside them | fixed centimetres plus fr for the text columns | nothing, but the page stays tight |
| The table needs more room than the page offers | landscape section | readers rotate the document |
| The table is really a form | layout table with invisible=true | no data semantics |
Landscape has its own syntax: ---pagebreak{orientation="landscape"}---, and back again with portrait at the end. With the same margins, landscape offers 25.7 cm — enough for nine columns without shrinking type. The way back belongs in the document: switch only at the front and the rest of the export stays landscape too. A plain horizontal rule --- also breaks the page, but it does not change orientation.
The layout table is the third answer and the most expensive one. invisible=true removes borders and backgrounds, and hideHeaders=true can hide the header row while keeping it structurally. That is handy for logo and address blocks and the wrong choice for datasets: a fee schedule that looks like a form loses exactly the properties that make it checkable.
Page breaks: four attributes and one open question
For tables longer than a page, width is only half the story. The documentation names four pagination attributes for extended blocks:
| Attribute | Effect | Typical use |
|---|---|---|
keepTogether | do not split the block across pages | short tables that would otherwise tear |
keepWithNext | keep the block with the following one | intro sentence plus table |
pageBreakBefore | start the block on a new page | appendix tables |
widowControl | widows and orphans | long body-text blocks |
One caveat is stated explicitly: pagination behaviour can vary by output format and element type, so the rendered result is part of acceptance. A table that starts cleanly in the PDF can begin mid-header in the DOCX.
The second open question concerns long tables. The table reference documents no setting that repeats a header row on every following page. If you send a 40-row price list across three pages, check in both target formats whether the header travels along. If it doesn't, there are two honest fixes: split the table into sections that each carry their own header, or build the column meaning into the first column ("Item / service"). Both beat a page of figures with no heading.
Numbers you can actually compare
The more expensive mistake in price tables is not width but formatting. A number lives in a Markdown cell as text; whether it reads "1.250,00" or "1,250.00" is decided by the source, not the renderer. For a document published in two languages, that is a deliberate decision.
Conventions are not uniform internationally, but they share a common denominator. In 2003 the 22nd General Conference on Weights and Measures stated that the decimal marker may be either the point on the line or the comma on the line, and that digit groups are separated by spaces rather than points or commas. ISO 80000-1 names the same two characters and expresses no preference — language usage decides.
| Locale | Decimal marker | Thousands grouping | Example |
|---|---|---|---|
| de-DE | comma | point or thin space | 1.250,50 € |
| en-US | point | comma | €1,250.50 |
| neutral (CGPM/ISO) | comma or point | space | 1 250,50 |
Three rules follow. First, formatting belongs in the data source — variable, CSV or record — not in the cell; otherwise each language version maintains its own truth. Second, one format per column; mixed decimal places make comparison impossible. Third, currency symbol and separators must match: "€1.250,00" is the blend that looks wrong in both markets.
On alignment: the table reference offers align for the whole table plus headerAlign and rowAlign for header and data rows. A right-aligned figure column next to left-aligned text is not reachable through table attributes. Whether the style provides it is a question for the style editor, not something you force at the top of the table. If you genuinely need it, test with a three-row table before the real one exists.
Captions, numbering, references
caption="Fee schedule" renders as "Table 1: Fee schedule". The prefix — "Table" or "Tabelle" — and the styling come from the document's style settings, not from the directive. That is a good reason to keep the caption itself neutral and leave the rest to the style. With anchor="tab-fees" the table becomes a target for cross-references: [Table {num}](#tab-fees). The number is assigned at render time, not typed; how that interacts with broken anchors is covered in the article on cross-references and numbering.
If you also want the table in a list of tables, you need exactly that caption. Without caption it does not appear there. In long documents that is the difference between "table 7, somewhere" and a findable overview — and the reason a caption should not be a bold line above the table.
Six checks before sending
- Header present? Is the separator row there, and does it describe the columns well enough to stand without context?
- Budget calculated? Do fixed centimetres plus the distributed remainder fit within the measure?
- Widest cell measured? Not estimated: longest price, longest company name, longest date — including cell padding.
- Both formats rendered? PDF and DOCX, with the break in the same place?
- Long table checked? Does the header travel to following pages — or do you need sections?
- Numbers consistent? One format per column in both language versions, equal decimal places, matching symbol?
These six are deliberately unspectacular. They cost less time than one revision round with a client, and they can all be done on a single table. Check the surrounding page numbering at the same time; how running headers and footers behave on export is covered in the article on headers and footers.
Bottom line
Tables rarely break because of the font. They break because the width was never calculated, the page size never chosen, the break never checked and the numbers never formatted. Four decisions before export — and all four can be written down. Start with the column budget and the rest usually takes care of itself: a table that fits 17 cm on paper needs neither landscape nor workarounds.
Sources (retrieved 30 November 2026): Autype documentation "Tables" – https://docs.autype.com/markup-reference/tables Autype documentation "Page Layout" – https://docs.autype.com/markup-reference/page-layout Autype documentation "Styles Panel" – https://docs.autype.com/getting-started/editor/sidebar-styles Wikipedia, "Decimal separator" – https://en.wikipedia.org/wiki/Decimal_separator
Latest Articles
What a Document Really Costs: Planning Credits, Renders, and Lens Runs
One render is one credit — a quote as PDF and DOCX is two. How document costs add up from credits, pages, and post-processing, where the maths tips, and which five numbers are missing before you quote.
Read articleImages That Hold Up in Print: Resolution, Crop, and Alt Text in PDF and DOCX
A 4,000-pixel photo can look soft in a PDF while a 900-pixel logo prints sharp. Why the pixel-to-millimetre ratio decides image quality, how crop, fit and focal point control the frame, and how bracket text doubles as alt text — with a resolution table and five pre-export checks.
Read articleFootnotes That Survive Every Edit: Stable IDs, Automatic Numbering, and Clean Exports
48 footnotes in a grant application, two new sentences — and 31 wrong numbers. Why the visible number and the technical ID belong apart, how Autype stores notes, and five checks before export.
Read articleReady to automate your documents?
Start creating business documents with Autype. No credit card required.