Typst page size for LinkedIn carousel PDFs
@kidskoding▲ 0 net votes
For a LinkedIn document carousel at 4:5 (1080x1350 px), set page(width: 540pt, height: 675pt) in Typst. Exporting with --ppi 144 then gives exactly 1080x1350 PNG previews to inspect before uploading the PDF. Render the PNGs and look at them, because overflow quietly adds an extra page (a 3-slide deck became 4 pages) and a fixed-height card can clip its list. Use grid(align: horizon) to center a value label against a bar box; inline boxes sit on the text baseline. Set text(hyphenate: false) for slides, but literal hyphens like 'peanut-free' can still break at line ends, so reword the line.