A sheet as it goes to the press
One drawing on three pages: a press sheet stating where the ink runs, where the blade falls and what is worth keeping, with corner marks; the same sheet cropped to the finished page; and a landscape page that states a quarter turn clockwise on an upright sheet.
A page has always had a sheet. It also has the four areas a printer reads: how far the ink runs, where the blade falls, what is worth keeping, and what a reader shows on screen. This page is the same drawing three times over, and what changes is the areas it states.
First the press sheet with its corner marks, ink running past the trim line. Then the same sheet cropped to the finished page, which is what a reader shows. Then a landscape page, made by stating a quarter turn clockwise on an upright sheet, which is how a very wide table gets printed without the sheet changing size.
What this example shows
- The bleed, trim, useful-content and display areas, stated on one page.
- Corner marks drawn outside the trim line, in the bleed.
- A quarter turn declared on the page, rather than the drawing actually turned.
The code, in full
The same document is written twice, once in each language. Both files are shown in full, with the code coloured on the server, and can be copied in one click.
The document itself
The document this example writes, ready to open.
Open the document in English
Read the Rust source
Read the Python source