Kition
docNewsletters & Layout

Poetry Chapbook Page

A page from a small-format poetry chapbook — a 5½ × 8½ inch page inside a double border, centred italic title and epigraph, stanzas set with line breaks and a folio that starts at 7.

Poetry Chapbook Page — Doc sample rendered by Kition

A half-letter page, as chapbooks are folded from Letter sheets, with a thin double page border. Each stanza is one paragraph whose lines are separated by line breaks, so the stanza keeps its spacing as a unit; the stanzas are indented as a block rather than centred line by line, the way poems are printed. The title and epigraph are centred in Lora italic, and the section's page numbers start at 7, as if the poem sat in the middle of the booklet.

Steps

48 commands
showcase.yaml49 lines
steps:
  - { command: review.proofing, as: proofing }
  - { command: layout.size, params: { width: 396, height: 612 }, as: page }
  - { command: layout.margins, params: { top: 70, bottom: 60, left: 54, right: 54 } }
  - { command: design.themeFonts, params: { heading: Lora, body: Caladea } }
  - { command: design.pageBorders, params: { kind: box, width: 2.25, color: "6B5B4B", style: double }, as: border }
  - { command: layout.pageNumberFormat, params: { format: decimal, start: 7 }, as: numbering }
  - { command: insert.pageNumber, params: { position: bottom, align: center }, as: folio }
  - { command: insert.closeHeader }
  - { command: styles.modify, params: { style: Normal, chr: { size: 11, color: { Rgb: [40, 34, 30] } }, para: { align: left, spaceBefore: 0, spaceAfter: 14, indentLeft: 18, lineSpacing: { rule: multiple, value: 1.3 } } } }
  - { command: styles.modify, params: { style: Title, chr: { font: Lora, size: 22, italic: true, color: { Rgb: [107, 91, 75] } }, para: { align: center, indentLeft: 0, spaceBefore: 30, spaceAfter: 10 } } }
  - { command: styles.create, params: { name: Epigraph, basedOn: Normal } }
  - { command: styles.modify, params: { style: Epigraph, chr: { size: 9.5, italic: true, color: { Rgb: [110, 98, 88] } }, para: { align: center, indentLeft: 0, spaceAfter: 30 } } }
  - { command: styles.create, params: { name: Ornament, basedOn: Normal } }
  - { command: styles.modify, params: { style: Ornament, chr: { size: 12, color: { Rgb: [107, 91, 75] } }, para: { align: center, indentLeft: 0, spaceBefore: 6, spaceAfter: 0 } } }
  - { command: para.style, params: { style: Title } }
  - { command: text.insert, params: { text: "Counting Gulls" } }
  - { command: text.newParagraph }
  - { command: para.style, params: { style: Epigraph } }
  - { command: text.insert, params: { text: "for M., who taught me the weather" } }
  - { command: text.newParagraph }
  - { command: para.normal }
  - { command: text.insert, params: { text: "The harbour keeps its lamps on after dark" } }
  - { command: text.lineBreak }
  - { command: text.insert, params: { text: "for boats that are not coming in tonight;" } }
  - { command: text.lineBreak }
  - { command: text.insert, params: { text: "the water folds them into narrow arcs" } }
  - { command: text.lineBreak }
  - { command: text.insert, params: { text: "and hands them back, a little less than bright." } }
  - { command: text.newParagraph }
  - { command: text.insert, params: { text: "My mother counted gulls along the rail" } }
  - { command: text.lineBreak }
  - { command: text.insert, params: { text: "as if the number told her what to fear;" } }
  - { command: text.lineBreak }
  - { command: text.insert, params: { text: "eleven meant a wind, and twelve a gale," } }
  - { command: text.lineBreak }
  - { command: text.insert, params: { text: "and thirteen meant that someone she loved was near." } }
  - { command: text.newParagraph }
  - { command: text.insert, params: { text: "I count them now. The numbers never hold." } }
  - { command: text.lineBreak }
  - { command: text.insert, params: { text: "The tide goes out the way it always goes." } }
  - { command: text.lineBreak }
  - { command: text.insert, params: { text: "But still I stand there, hands against the cold," } }
  - { command: text.lineBreak }
  - { command: text.insert, params: { text: "and wait for what the thirteenth gull will know." } }
  - { command: text.newParagraph }
  - { command: para.style, params: { style: Ornament } }
  - { command: text.insert, params: { text: "❧" } }
  - { command: document.inspect, as: structure }

Checks

7 checks on every build
  • inspect.pages = {"count":1}
  • inspect.pages.0.area = {"width":396,"height":612}
  • results.numbering.pageNumStart = 7
  • results.numbering.pageBorders.top = {"style":"double"}
  • results.structure.blocks = {"count":6}
  • Diagnostics: none, the kit's own check finds nothing wrong
  • The saved document opens again, and its thumbnail matches thumb.png within the render tolerance

Related

More Doc samples
docNewsletters & Layout

Magazine Feature Spread

A magazine feature page — oversized serif headline, italic standfirst and byline, a four-line drop cap, two justified columns and a pull quote floating between them.

1 page; 557 words
docNewsletters & Layout

Recipe Card

A 7 × 5 inch recipe card — title and timing line over unequal columns, ingredients in a narrow column and numbered method steps in the wide one, on a tinted page.

1 page; 154 words
docNewsletters & Layout

Draft Policy with Watermark

A policy draft stamped with a diagonal DRAFT watermark on every page, a status header, legal-style 1 / 1.1 / 1.2 section numbering and a version table.

1 page; 213 words
docNewsletters & Layout

Neighbourhood Newsletter

A one-page community newsletter — a shaded masthead over three columns, a drop cap, a floating pull quote, an events list and a noticeboard.

1 page; 556 words