Magazine Feature
An interiors feature for Hearth & Home, its words and pictures bound from data and set in EB Garamond with true small capitals. The story and its sidebar are one columns row: two tracks of unequal width that carry on together from page to page, with a hairline down the gap between them.
- Opening. The section in small capitals, a 58 pt title, an italic standfirst, the byline in small capitals, then the photograph cropped to a 495 by 290 point frame by
objectFitcover, its caption in italic beneath. - Story beside a sidebar. One columns row,
widths[2, 1]: the story in the wide track, opening with a small-capital lead-in and set with indented paragraphs, italic subheads and a pull quote between rules; the sidebar in the narrow one. The row is taller than a page, so it breaks inside both columns and each carries on at the top of the next page. - A ruled sidebar. No boxes: each section opens under a short black rule with a letterspaced label. The facts are a two-column table with the labels as row headers and hairlines between them, then a photograph at its own proportions, the palette as svg swatches, a word from the architects and a QR code to read the feature online.
- A hairline in the gap.
columnRuleon the row's style draws it down the middle of the gap, as tall as the row on each page. - Around the house. Four room photographs of different proportions, each in the same 116 by 150 point frame and cropped by
objectFitcover, so the strip lines up. - What went in. The makers' list as a table with a rule under its letterspaced header and hairlines between the rows, then the next issue beside its photograph.
Features used: PDF/A-2b conformance, columns, tables, rules, SVG, images, barcodes (qrcode), data binding, headers and footers
- Output
- Template
- Data
How it's built
The story and the sidebar are the two stacks of one columns node. Nothing tells the row where to break: when it is taller than the room left on the page, each column carries on at the top of the next page beside the other, and a heading in either column keeps with what follows it.
{"columns": {"style": "story", "widths": [2, 1], "gap": 24, "rows": [
[ {"p": "[span, leadIn]$data.body.leadIn[/span] $data.body.opening.0", "style": "lead"},
/* the story: paragraphs, subheads, the pull quote */ ],
[ {"p": "AT A GLANCE", "style": "sideLabel"},
{"table": {"widths": [1, 2], "source": "$data.glance",
"rows": [[{"th": "$item.label", "style": "factLabel"}, {"td": "$item.value", "style": "factValue"}]]}}
/* the photograph, the palette, the architects, the QR code */ ]
]}}
"story": {"columnRule": "0.5pt solid #D6CFC4"},
"leadIn": {"fontVariantCaps": "smallCaps", "letterSpacing": 0.6, "color": "#9C4221"},
"sideLabel": {"fontFamily": "Sans", "fontSize": 6.8, "letterSpacing": 2.2, "borderTop": "1.5pt solid #1C1917", "paddingTop": 5, "breakAfter": "avoid"}
The lead-in is a [span, leadIn] around the story's first words, in the face's own small capitals. The sidebar's sections are a rule and a label, not boxes, so the page reads as one sheet. The room strip is another columns node of four equal tracks, each photograph given a width and a height and objectFit: "cover", so photographs of different shapes fill the same frame without being stretched.