Skip to main content

Layout Alignment Guide

A reference for template authors: each alignment value is drawn once, in the same small layout, so the values can be compared at a glance. Every sample is three columns of different heights (four, two and three lines) inside a framed columns block.

  • alignItems. The row's default placement, one sample per value from normal and stretch to firstBaseline, selfStart and flexEnd.
  • alignSelf. The middle column alone placed differently, set by an empty node whose only key is its style.
  • justifySelf. A narrow block of fixed width placed across its container, one sample per value including left and right.
  • Names. Each is printed above its sample, two samples a row.
  • Header and footer. A small svg logo mark, the guide's name and the page count.

Features used: PDF/A-2b conformance, columns, SVG, headers and footers