{# FIGURE GRID (#336) — two to four lettered panels as one numbered exhibit. The grid is one `figure` table, so the paged break rule keeps it on one sheet and its `id` lands on the heading a reader was sent to, as a chart's does. Beneath the heading, each row of panels is a layout table of its own, so a short last row keeps its panels the width of the rest. Each panel is a `stack-column` cell carrying its own `id`, the grid's and its letter, so a cross-reference to one panel lands on it and on paper reads its page. Its title is the letter and the panel's own subtitle, in the label face at the heading line's size and a step lighter, so it reads under the exhibit's number. Between two panels is an empty cell the gutter wide, which stacks to nothing. The gap under a panel is padding, as in a Stack: on paper under every row but the last, in an email under every panel but the last, so stacked panels do not touch on a phone. A row table separates its borders: the model is inherited, and a stacked cell in a collapsing table drops its padding (#332). Context: subtitle, caption, caption_parts, anchor — the grid's, as on a chart rows — lists of panels: title, anchor, src, alt, width, bordered, link_url, legend (rendered) and gap share — each panel's share of the cell, a percent columns — panels a row source, source_parts, disclosure — the copy shared by every panel #} {% from "common/notes.html" import marked with context %} {% if subtitle %}
{{ subtitle | escape_html }}
{% endif %} {% include "common/qualifier.html" %}| {{ marked(caption_parts) }} | ||||
{% for row in rows %}
|
{{ marked(source_parts) }}
{% endif %} {% include "common/disclosure.html" %}