Table of contents

Built from the outline below. Every heading in this document declares -pdf-outline, so each becomes a bookmark as well as an entry here, with the page it landed on.

Tables

Borders, headers and spans

FeatureColumn AColumn B
An ordinary rowleftright
One cell spanning all three columns
Spanning two rowsfirstrow
secondrow

Cell widths

20% 30% 50%

A long cell

A cell whose content is longer than one line wraps inside the cell rather than pushing the table wider. To PDF or not to PDF, that is the question, and the answer keeps this cell busy for several lines so the wrapping is visible.

Images

Size

at 60pt wide, and at 120pt.

Position

An image aligned left has the text flow past it, which is how a figure sits beside its description. The paragraph continues alongside until it clears the image.

Barcodes

Each of these is a <pdf:barcode> with a different type.

code128

code39

qr — needs an explicit barwidth, which for a QR code is the size of one module; without it the whole symbol comes out too small to scan.