Imported from Chenruishuo/posterly (
SKILL.md). Install upstream withnpx skills add Chenruishuo/posterly. Copyright stays with the author.
posterly — HTML/CSS Academic Poster Workflow
A poster is one HTML file styled for an exact print canvas, rendered to PDF via Playwright + Chromium. Iterate by measuring, not eyeballing — the screen preview lies; only emulate_media("print") at the correct viewport tells the truth.
Mental model
HTML (with @page { size: W H })
│
▼ print-emulate Chromium at W×96 × H×96 px viewport
│
▼ data-measure-role tags identify columns/hero/footer-strip
│
├──→ tools/poster_check.py measure (HARD GATE — spread < 5 px,
│ gap-to-strip ∈ [30,50] px,
│ intercard gap ∈ [12,50] px,
│ poster bbox aligns to page
│ within ±2 px)
├──→ tools/poster_check.py preflight (LaTeX residue, math `<`, missing imgs)
├──→ tools/render_preview.py (PDF + thumbnail)
└──→ tools/poster_check.py verify-final (PDF page count / dims / size)
The skill is venue- and lab-neutral by default. Compose a design direction from templates/DESIGN-AXES.md (Step 2.5), scaffold from the nearest template in templates/README.md, edit :root design tokens to match the locked direction, fill TODO placeholders with your paper's content.
Canvas constants
| Constant | Value | Notes |
|---|---|---|
--u (CSS unit) |
print = 1mm, screen = 1.6px |
Use calc(N * var(--u)) for ALL sizing. |
| Print viewport (px) | W_in × 96 × H_in × 96 |
Computed by poster_check/render_preview. |
| Body cols | 2 / 3 / 4, or 1 hero + 1 column | Per template. |
| Strict alignment | spread < 5 px (aim < 3) | Hard, non-negotiable gate. |
Workflow
Step 0 — Pull the venue's official poster guidelines
Conference specs change year-to-year and vary wildly between venues:
- ICML often goes 60×36 in landscape; ICLR has been 24×36 in portrait in recent years; NeurIPS historically allowed multiple sizes; CVPR has used A0 portrait. Don't assume.
- Font minimums (≥24pt body for some venues), bleed margins, allowed orientations, on-poster logos, anonymity rules, QR-code policies — all vary.
Procedure:
WebSearchfor"<venue> <year> poster instructions"or"<venue> <year> poster size".WebFetchthe venue's official page; extract dimensions, orientation, font-size floor, logo policy, anonymity rules, file-format requirement, template link if any.- If paywalled or down, check OpenReview's call-for-papers or ask the user for the relevant section.
- Echo the extracted spec back to the user in one short table BEFORE drafting. Confirm before proceeding — a wrong canvas size invalidates every alignment decision downstream.
Step 0.5 — Design discovery (one round of AskUserQuestion)
Don't pick colors, logos, a QR target, the text density, or the block count silently. Ask the user in one round. (The template and the overall look are deliberately NOT asked here as a text question — they are decided in Step 2.5, where composed candidate directions are shown as rendered thumbnails; this round gathers that step's inputs.) AskUserQuestion takes at most 4 questions per call, so if more than four of the topics below need input for this poster, send the four most decision-relevant first and ask the rest (usually QR and block count) in a brief second call:
- Style leanings: "Any look-and-feel must-haves or vetoes? E.g. 'keep it light', 'a dark editorial look is welcome', 'no mascots' — or 'no preference'." Do NOT ask the user to pick a template or a style from a text list here: the layout skeleton and the whole visual direction are composed in Step 2.5 and chosen there by eye from rendered thumbnails. This bullet only collects constraints for that composition.
- Palette: "Lab/venue colors? E.g.
#XXXaccent +#YYYhighlight — or say 'you pick'." When the user gives colors, use them as the palette seed. When they don't, do not silently fall back to the one house style: derive a poster-specific palette from the materials at hand (§Palette derivation below). Either way the palette is then shown, not just named — it lands in the Step 2.5 thumbnail candidates, where the user can veto it cheaply. The shipped neutral (steel-blue accent + warm-gold register) is the last-resort fallback, not the default. - Logos & venue mark: "Any logos to place? Affiliation / lab logo, and the conference / journal logo — give paths or URLs, or say 'none'." Don't assume a venue logo is wanted; cross-check the logo policy from Step 0 (some venues forbid them). When logo files are provided, inspect each one (aspect ratio, transparency, background — Step 2 item 5) and pick a size class + chip treatment per Gate E — Header logos below; don't just drop them in at the default size.
- QR code: "Want a QR code? If so, pointing at which link — paper / arXiv / code repo / project page — or none?" Generate it offline as a local image (see Customizing in README /
qrencode); never leave a remote QR-service URL in the poster — it hangsmeasure's networkidle wait and link-rots in print/archive. - Text density: "How much text should the poster carry? (a) Normal (default) — posterly's usual concise balance of prose and paper figures; (b) Light — fewer words, with the saved space reassigned to paper-sourced figures/diagrams across the poster." For Light: trim secondary prose and merge or drop low-value text cards only when the freed area becomes visual real estate — larger AR-appropriate figures, figure-dominant cards, or additional useful paper visuals. Keep multiple figures while each stays legible; do not concentrate the budget into one enlarged centerpiece or switch layouts for that reason. "More room" means larger, clearer visual regions — never blank columns / cards / gaps: the Step 4
measuregate and the Step 6 anti-whitespace / figure gates all still apply. - Block count: "How many content cards should the poster split into? (a) Normal (default) — the usual number of cards per column; (b) Fewer — fewer, larger cards for a calmer, less subdivided poster." This is orthogonal to text density: it controls how the content is boxed, not how much there is. For Fewer: consolidate related material into fewer, larger cards (merge adjacent cards that share a theme, fold a thin card into its neighbor) — keep every load-bearing section, number, equation, and figure; merge and enlarge, never delete substance, and don't shrink type to fit. Still fill the canvas — fewer cards means each card and its figures grow into the freed space; no blank columns / cards / gaps, the same
measureand anti-whitespace gates apply.
Persist the user's answers as you go — re-reading them later prevents "improvement" loops that revert deliberate decisions.
Palette derivation (when the user has no color preference)
A paper already carries brand signals — the default palette should be derived from them, not house-styled. Pick the seed color from whichever signal is strongest for this poster (judgment call, no fixed priority):
- Affiliation brand color — the official identity color of the dominant lab/university (your own knowledge or a quick web check: Tsinghua purple, MIT cardinal, ETH blue…). Strongest choice when one affiliation dominates the author list.
- A provided logo — extract its dominant saturated color (snippet below).
- Venue identity — if the conference has a recognizable brand color.
- The paper's own figures — dominant hue of the headline figure; the poster then echoes its figures.
- Field/topic conventions — weakest signal; use only when nothing above gives a usable color.
Whatever the source, the seed feeds one fixed recipe — the rebrand surface is the same eight tokens in every template (--accent, --accent-deep, --accent-light, --accent-soft, --accent-ink, --emph, --emph-soft, --emph-ink):
from collections import Counter
from PIL import Image
def rel_lum(rgb):
c = [v / 255 for v in rgb]
c = [v / 12.92 if v <= 0.04045 else ((v + 0.055) / 1.055) ** 2.4 for v in c]
return 0.2126 * c[0] + 0.7152 * c[1] + 0.0722 * c[2]
def contrast(a, b):
la, lb = sorted((rel_lum(a), rel_lum(b)), reverse=True)
return (la + 0.05) / (lb + 0.05)
def mix(rgb, other, t): # t=0 -> rgb, t=1 -> other
return tuple(round(v + (o - v) * t) for v, o in zip(rgb, other))
# 1) Seed. From an IMAGE (logo / headline figure): dominant saturated
# mid-tone, bucketed so JPEG noise doesn't split the vote. From a BRAND
# GUIDELINE: just set `seed` to the official hex and skip this block.
im = Image.open("images/lab-logo.png").convert("RGBA")
im.thumbnail((128, 128))
px = [(r, g, b) for r, g, b, a in im.getdata() if a > 128]
cands = Counter((r // 32, g // 32, b // 32) for r, g, b in px
if max(r, g, b) - min(r, g, b) > 40 # saturated enough
and 60 < (r + g + b) / 3 < 200) # mid-tone
seed = (tuple(v * 32 + 16 for v in cands.most_common(1)[0][0])
if cands else None) # None = this image has no usable seed --
# try the next signal source, neutral only last
# 2) Tokens. Darken the seed until white text clears WCAG AA on it (the
# same 4.5:1 also covers accent-as-text on white -- symmetric pair).
accent = seed
while contrast(accent, (255, 255, 255)) < 4.5:
accent = mix(accent, (0, 0, 0), 0.08)
fmt = lambda c: "#%02X%02X%02X" % c
print(f"--accent: {fmt(accent)}; --accent-deep: {fmt(mix(accent, (0, 0, 0), 0.30))};")
print(f"--accent-light: {fmt(mix(accent, (255, 255, 255), 0.90))}; "
f"--accent-soft: {fmt(mix(accent, (255, 255, 255), 0.82))};")
print(f"white-on-accent contrast: {contrast(accent, (255, 255, 255)):.1f}:1")
# --accent-ink stays #FFFFFF -- the AA loop above just guaranteed it.
# 3) Emphasis register: pick --emph per the rule below, then derive
# --emph-soft = mix(emph, white, 0.90) and check --emph-ink (the ink
# used ON the emph fill; template default #14314A) still
# clears 4.5:1 against the register you chose -- swap it if not.
Rules that hold regardless of seed source:
- Print-safe accent: muted-to-medium saturation, medium-dark value. The AA loop above enforces the dark end; if a brand color is neon-bright, mute it toward the template's tone rather than shipping fluorescent ink.
- Emphasis register (
--emph) is a per-poster choice, not a fixture: it is the single "ours / best" cue (the.oursrow,★callouts,.keyword-emph), and defaulting it to the same color on every poster is a recognizable fingerprint. Pick ONE register per poster from a shortlist that suits the accent — warm gold#C9A24A(classic against cool accents), deep cool slate#3D4A5C(safe on any accent), rust#A2521C, forest#2D5F3E, burgundy#8F2437(seetemplates/THEMES.mdfor the calibrated pool) — and vary the choice across posters. Constraints: (a) hue-distinct from the accent (rule 4 allows exactly these two hue families); (b) if the accent is warm (red/orange/yellow), the register must be cool; (c) re-derive--emph-softas the register's ~90% white tint and keep--emph-inkat 4.5:1 on the register fill. (These constraints govern the default accent+emph role topology — a deliberately different Axis 3 choice made in Step 2.5, e.g. same-center tonal or categorical roles, followstemplates/DESIGN-AXES.mdinstead.) - Backgrounds default to near-white (
--bg-page/--bg-carduntouched, or at most a faint seed-hued tint) — this recipe derives the accent tokens, not the ground. A non-white canvas (cream / light tint / brand hue / near-black) is a legitimate Axis 2 choice made in Step 2.5, with its own contrast obligations (templates/DESIGN-AXES.mdclash rules 6 and 9) and, for dark grounds, the"dark_ground": truedeclaration in the--tokensJSON (Step 2.5 item 4). - Echo the choice: state the seed source and final tokens to the user (they surface visually in the Step 2.5 thumbnails) and record them in the Step 2.5
DESIGN DIRECTIONcomment block — "accent #660874 from Tsinghua brand; register slate #3D4A5C" — so a later edit doesn't "correct" a deliberate derivation back to neutral.
Step 1 — Confirm content & figures
With the venue spec and design-discovery answers in hand, ask once:
- Source paper path (
paper-overleaf/.../main.texideal). Read the abstract, intro, headline results. Don't draft from memory — pull actual numbers, dataset names, equations. - Figures: match
images/filenames to paper figures. - Corresponding-author marker: which author gets
✉? Any starred (★) co-authors? - Items to preserve/exclude: which sections to drop, any "do not revert" notes.
Step 1.5 — Content audit (mandatory; external reviewer recommended)
When to run it: this audits a filled draft, so do it once you've scaffolded (Step 3) and put real content into poster.html — but before you sink renders into the Step 4 measure/balance loop. It sits here, numbered with the content steps, because fidelity is a content concern, not a layout one: catching a wrong number now costs nothing, catching it after the layout loop wastes every render in between. The same audit repeats on the final poster at Step 6.5.
The draft must be audited for paper-to-poster fidelity. Past sessions caught real bugs ONLY here — paper said "20× fewer" but the table gave 16×, "fewest trajectories" was an overclaim vs the actual baselines, theorem preconditions were silently dropped. Skip this and you will discover errors only when standing next to the printed poster.
How to run it (in order of preference):
-
External LLM reviewer with file access (best). If you have Codex MCP, GPT-5 with file access, another Claude session, or any reviewer that can
Readpaper source files, use that. Recommended defaults if you have Codex MCP:model="gpt-5.6-sol",model_reasoning_effort="xhigh",sandbox="danger-full-access"(read-only audit — the sandbox often fails to start in containers / nested namespaces, and the audit only reads files anyway). Send the evidence pack + reviewer prompt below. -
Fresh subagent (second best). No external reviewer? Spawn one that can
Readthe paper source and give it the same evidence pack + prompt (Claude Code:Agentwith an explicitmodel; Codex:spawn_agent). Two conditions, or it's worthless: fresh context (not a fork of yourself — a fork re-runs your blind spots) and a model no weaker than the one drafting the poster (pass it explicitly; a cheaper auditor mostly agrees with what it's shown). Fresh eyes, not cross-model independence — this does not satisfy Step 6.5. -
Self-audit (last resort). Walk every numeric claim on the poster and find its
file:linein the paper source. Build the claim → evidence table by hand. Slower, easier to miss things, but better than skipping.
Evidence pack the reviewer needs:
- The current
poster.html(full) - Paper source path(s) so the reviewer can
Readthe.texand anyresults/CSVs - For every numeric claim, the paper
file:linewhere the number originates - For every theorem/claim, the paper statement verbatim with all preconditions
Reviewer prompt template (use this verbatim, fill bracketed parts):
Audit the academic-poster draft at [poster.html abs path] against the paper at [main.tex abs path] (and any results in [results dir]). For every number, claim, theorem, dataset name, method-comparison, AND the author block (author order, affiliations, corresponding-author marker vs \icmlcorrespondingauthor / \thanks, grant number) on the poster, produce a claim → evidence table:
| claim on poster | paper file:line | paper says (verbatim) | match? |
Mark "match?" as: OK / NUMERIC-MISMATCH / OVERCLAIM / MISSING-PRECONDITION / NOT-IN-PAPER / SCOPE-NARROWED.
Then list every NON-OK row as a problem to fix before printing. Be skeptical — "all <method> methods" claims, "best by Nx" claims, and theorem statements without their epsilon/regularity preconditions are the most common silent errors.
You may proceed to Step 2 only after every finding is either fixed or explicitly recorded as "user-acknowledged tradeoff". Do not silently defer.
Step 2 — Image preprocessing (optional but reduces re-renders)
For each paper figure you'll use:
-
Vector source (EPS / PDF figure)? Chromium
<img>renders neither EPS nor PDF (converting to PDF does not help — also not embeddable), so a vector figure must be converted first. SVG is best — it stays crisp at poster scale. If a vector converter is already installed (inkscape,pdf2svg,dvisvgm), go straight to SVG. If none is installed, ask the user (one AskUserQuestion) whether to install one for a sharp vector figure, or rasterize to PNG instead — don't decide silently:- Willing to install → SVG (preferred): e.g.
inkscape fig.eps --export-type=svg, orpdf2svg fig.pdf fig.svg. - Decline → high-res PNG: rasterize with Ghostscript at ≥ 2× rendered px —
gs -dSAFER -dBATCH -dNOPAUSE -dEPSCrop -r600 -sDEVICE=png16m -o fig.png fig.eps(PIL works too; it shells out togs:Image.open('fig.eps').load(scale=5)).
Never embed the
.eps/.pdfdirectly — it renders blank, caught only late aspolish's FIG/BROKEN after a wasted render. - Willing to install → SVG (preferred): e.g.
-
Autocrop whitespace with PIL.ImageChops so the figure fills its card. Then crop hygiene, on every crop you (or anyone) cut from a PDF page or screenshot — re-open the cropped file and check all four edges for cut-off content: a label row sliced mid-glyph, a truncated axis, a line exiting the frame. A hand-read bbox that lands a few px short cuts text in a way no resolution gate sees (a real poster shipped a qualitative panel whose dataset labels were cut in half — 7 source-px short, every gate green). And panels that are geometric twins — matched panels off one composite figure, a same-scale comparison group — must be cut with the SAME crop box (identical width/height and edge padding): tag them
data-crop-lock="<group-id>"sopolish'sFIG/PAIR-GEOMETRYverifies the geometry stayed consistent (Gate A below). Related-but-differently-composed figures are exempt — the contract is for crops that are supposed to be identical in frame, not for every pair that sits side by side. -
Re-export at ≥ 2× the rendered px — the print-quality target (the
assetgate's hard floor is a lower 1.5×, so a 2× source clears it comfortably). A200u × 120ufigure print-rendered at 96 ppi → ~756 × 454 px. Source PNGs must be ≥ 1500 × 900 to look crisp at print. -
QR codes: request at ≥ 2× rendered px (e.g., 480×480 if displayed at ~240 px).
-
Logos: inspect each user-provided logo file before placing it, then pick a size class and chip treatment from the two tables in Gate E — Header logos below. Use the same
pythonthat runs the posterly tools; this snippet needs Pillow (pip install Pillowif missing):from PIL import Image src = Image.open("images/lab-logo.png") w, h = src.size has_alpha = src.mode in ("RGBA", "LA", "PA") or "transparency" in src.info im = src.convert("RGBA") im.thumbnail((512, 512)) # analysis-only downscale tw, th = im.size px = im.load() edge = ([px[x, 0] for x in range(tw)] + [px[x, th - 1] for x in range(tw)] + [px[0, y] for y in range(th)] + [px[tw - 1, y] for y in range(th)]) white_edge = sum(a > 240 and min(r, g, b) > 245 for r, g, b, a in edge) / len(edge) lum = sorted(0.2126 * r + 0.7152 * g + 0.0722 * b for r, g, b, a in im.getdata() if a > 32) p10, p90 = (lum[len(lum) // 10], lum[(len(lum) * 9) // 10]) if lum else (0, 0) print(f"AR={w / h:.2f} alpha={has_alpha} white_edge={white_edge:.0%} " f"mark lum p10/p90={p10:.0f}/{p90:.0f}")Reading the output:
ARdrives the size class (Gate E table 1).white_edge >= ~70%on an image without alpha means a bare white background (Gate E table 2's "stray white rectangle" case). The mark's luminance percentiles — not the mean — say whether the marks are dark (p90 < ~120) or light (p10 > ~200); a white-filled logo with a thin dark outline fools a mean. An SVG logo can't be opened by PIL — parse itsviewBoxfor the AR and judge the chip from the rendered header crop in Step 5 instead.
Step 2.5 — Design direction (compose → thumbnails → lock)
Layout skeleton, canvas, palette, typography — every look-and-feel choice — is made here, as one composed direction, before any template is copied. The menu is templates/DESIGN-AXES.md (8 orthogonal axes, a devices pool, clash rules); the rendered option catalog is specimens/axes/index.html (one page per axis). This step sits after Steps 1–2 because two axes depend on knowing the content: density (Axis 5) is a capacity decision, and an Axis-1 focal choice needs to know the headline figure.
-
Concept first, then compose per axis. Start each direction from a concept statement — one line naming the world the poster lives in ("engineering blueprint — annotated schematic on grid paper", "midnight editorial", "archival index card"); the recipe names in
DESIGN-AXES.md§Recipes are ready-made concept statements, free to adopt or adapt. Then for each of the 8 axes pick a primary option + modifiers (an axis choice is a structured object, never a bare enum pick), plus 0–2 devices from the pool — each pick derived from the concept: if you can't say in one phrase how a pick serves the concept, it's decoration — swap it for one you can, or default that axis to quiet. A merely-legal combination that serves no concept is exactly the "assembled, not designed" look this step exists to prevent. Feed in the Step 0.5 answers: user/derived colors → the Axis 3 seed (§Palette derivation); text density and block count → Axis 5; style vetoes → hard constraints. Then walk the clash rules at the bottom ofDESIGN-AXES.md: check all 9 hard rules one by one against the composed set (check, don't debate); a soft rule you trip stays legal, but write the tradeoff down in one line — e.g. "cream canvas + grotesque type: accepted, the letterspaced eyebrows carry the editorial tone". Finally, every direction designates its hero moment — the single loudest element on the sheet (an oversized headline number, a statement masthead, a dominant hero figure, one full-bleed band; usually the Axis 1 focal choice or one device doing double duty). Exactly one: two competing loud elements read as noise, zero reads as an unfilled template. Everything else sits at least a register quieter, and in the Step 4–6 space fights the hero moment is not the first thing you shrink. -
Compose 2–3 candidates, far apart. One direction is a proposal, not a choice — compose 2–3 so the user actually chooses. Candidates must be distinguishable at thumbnail size: every pair must differ on at least two of the five fingerprint axes — layout skeleton (Axis 1), canvas base (Axis 2), frame-line (Axis 6), section-heading joint (Axis 7), masthead (Axis 8). Two candidates that differ only in accent hue are the same candidate twice. Tag every candidate with its build cost before showing it: (a) current templates/components realize it directly; (b) it needs a construction ported from the
specimens/axes/catalog (the token-native CSS exists but must be adapted to the poster's tokens and units, not pasted — normal); (c) it needs a brand-new system component — offer it only with that caveat, and a user pick of a (c) candidate is a direction preference, not yet the lock: raise the Step 6 escape-hatch system-extension proposal first, and lock/scaffold only once it's approved. Never show the user a thumbnail you can't build. -
Thumbnail pre-selection. For each candidate build a quick style specimen — NOT a full poster: one small HTML file with a masthead bar plus one column of 2 cards, applying that direction's canvas, palette, typography, frame-line, and section-heading joint (placeholder copy is fine; no figures, no
@page, nodata-measure-role). If the direction's hero moment is a visible structure (statement masthead, giant stat, full-bleed band, dominant figure), sketch it as one abstract placeholder block at roughly its true relative scale — a flat grey box stands in for a figure — so the user isn't picking the loudest element blind. Likewise, whenever the layout skeleton is among the fingerprint axes on which a candidate pair differs, each of those specimens must also carry a mini page-wireframe — flat grey blocks laid out in the candidate's actual grid at the canvas aspect ratio, à laspecimens/axes/axis1_layout.html, ~150 px tall — so the skeleton difference is visible at thumbnail size, not just claimed. Render each to a small PNG with Playwright — same file-URI → screenshot pattern astools/render_preview.py, only simpler: a fixed viewport (~800×1000 px) andpage.screenshot(), no print emulation, no PDF. Specimens are throwaway working files (direction_a.html/direction_a.pngin the work dir — never intemplates/) and run no gates: norun_gates.py, nomeasure, nopolish— they exist only to be looked at.- Interactive session: show the PNGs, then ONE AskUserQuestion — one option per candidate (short label + the candidate's concept statement and hero moment as its one-line sketch) plus "none of these — recompose". For an (a)/(b) candidate the pick is the lock; a (c) pick is a direction preference — run the Step 6 escape-hatch system-extension proposal first and lock only on approval.
- Non-interactive session: lock the recommended candidate yourself and state why (fit to content volume, venue tone, wave-level anti-convergence) in your report.
-
Lock and record. Record the locked direction as an HTML comment block that goes at the top of
poster.htmlthe moment Step 3 scaffolds it (and stays there through every later edit) — axis by axis, with modifiers, devices, and the anchor poster IDs you leaned on:<!-- DESIGN DIRECTION (Step 2.5, locked) concept: cream editorial -- a journal front page: serif masthead, framed plates, rust accents axis1 layout: 3-column, top-hero (focal: pipeline figure) [62396, 66579] axis2 canvas: cream, flat, full [64736] axis3 palette: accent+emph; accent #0F6070 (lab-logo seed), emph rust #A2521C axis4 type: serif display + sans body; small-caps eyebrows [64736] axis5 density: balanced axis6 card: white surface, thin colored frame, shadow [65714] axis7 heading: underline rule + number chip [65287, 63757] axis8 masthead: brand band; footer: contact strip [63030] devices: metric scoreboard, QR CTA hero moment: top-hero pipeline figure -- the one loud element; scoreboard stays a register quieter soft-clash notes: none tripped -->Then write the tokens pack — always, named
design_tokens.json, next toposter.html, holding at minimum the accent/emph hue centers — and pass it on every gate run asrun_gates.py … --tokens design_tokens.json(forwarded tostyle_check.py):- hue centers (
"hue_centers": {"accent": <deg>, "emph": <deg>}) — rule 4 reads exactly these two slots and allows at most two non-neutral hue clusters. Dual-semantic: map the two semantic hues onto the accent/emph slots and a re-enabled rule 4 checks clean. Categorical (3+ hue roles): rule 4 cannot pass and must stay disabled (it is off by posterly default,--style-disable 4,5) — record the full palette in theDESIGN DIRECTIONblock instead; - vendored font families (
"fonts": {"serif": […], "sans": […], "mono": […]}) when the Axis 4 voice is off the built-in whitelist (vendor the files locally, never a CDN — and vendor static instances, never variable fonts: Chromium cannot embed a variable font when printing to PDF, so it emits one Type 3 font per rendered size×weight×style combination — a real poster hit 53 of them with only 4 fonts properly embedded, a 27× larger PDF, and much slower rasterizing. Fontsource static files (…-latin-400-normal.woff2, as inspecimens/axes/fonts/) are already static; a Google Fonts download usually is not. If only a variable file exists, instance it first withfontTools.varLib.instancerat each weight you use, then re-run the gates — anopsz-axis face shifts metrics up to ~2.5% at display sizes once its optical sizing is pinned, which can move a wrap. Awght-only face instances losslessly: one static per weight and you are done. Anopszface needs one step more, because pinning a single optical size also throws away the per-size refinement the axis exists for — the display cut is narrower and finer-stroked, the text cut sturdier with more open counters. Instance it twice, once near the body size and once near the masthead size, declare them as two families (Fraunces Text/Fraunces Display), and use each only at the size it was pinned for); "dark_ground": trueiff the Axis 2 base is near-black or a dark brand hue: it switches off style rule 12's large-dark-area warning, which is calibrated for light posters and would otherwise fight a deliberate dark ground. Never set it on a light poster to silence a rule-12 warning about an oversized dark slab — there the warning is reporting a real problem.
- hue centers (
Anti-convergence. The shipped default (4-col landscape / 2-col portrait skeleton · white canvas · soft card · plain headings · centered masthead) is one combo among many, not the home position: landing there after a fresh composition is fine; landing there every time is a fingerprint. In a wave (several posters in one batch), consecutive posters must differ on at least two of the five fingerprint axes (layout skeleton / canvas / frame-line / section-heading joint / masthead) and must not reuse the previous poster's concept statement — read the previous poster's DESIGN DIRECTION block before composing the next, and hold the --emph register decision at wave level per templates/THEMES.md Mechanism 1. A single poster gets the full treatment too — this machinery is not wave-only. Compose the candidates just as far apart, and treat the default combo as a pick that must earn the lock like any other: locking it requires a one-line reason in the DESIGN DIRECTION block naming what it serves (venue conservatism, a user veto on decorated styles, a content volume only that skeleton fits — "nothing spoke against it" is not a reason). When no candidate has earned the lock over the others, prefer the one with its own look over the home position: default-by-inertia on a lone poster is the same fingerprint, one poster at a time.
Step 3 — Scaffold from the gallery
cp templates/<chosen>.html <work-dir>/poster.html—<chosen>is the template whose skeleton is nearest the locked direction's Axis 1 topology (templates/README.mdtable); the remaining axes are applied on top as token edits and component swaps.- Paste the
DESIGN DIRECTIONcomment block (Step 2.5) at the top, then edit the:rootdesign tokens (single block; affects everything) to realize the locked direction — palette (Axis 3), typography (Axis 4), density scale (Axis 5), frame/radius tokens such as--rs(Axis 6). The figure mount belongs to that same Axis 6 decision: restyle--fig-bg/--fig-framewith the cards so paper figures sit in the design instead of pasted on it (transparent-PNG ground + keyline; captions already run on--text-secondary, block-figure caption<strong>additionally on--accent-deep). - Replace
<title>, header (title/subtitle/authors/affiliation), banner (if any), column cards, takeaways strip (if any), footer. Author metadata is copied, never assumed: verify author order, affiliations, the corresponding-author✉(against\icmlcorrespondingauthor/\thanks/ the author footnote in the paper source — a wave-2 poster shipped the✉on the first author while the paper marks the last), and any grant number, each against the source; if the source doesn't mark a corresponding author, omit the✉rather than guess. - Match the template's
data-measure-rolescheme — DO NOT remove these attributes. The measurement script depends on them.- Custom skeleton? Carry the BASE DEFENSES. When the locked Axis-1 topology needs a skeleton the templates don't ship (band-rows, a display-title spine, …) and you write the stylesheet from scratch or heavily rewrite it, copy the templates'
BASE DEFENSESCSS block (marked with that comment in every*_neutral.html) into the new sheet and extend its selector lists with your custom prose/display classes:text-wrap: prettyon every prose class,text-wrap: balanceon centered display text (title, takeaway lines — never on left-aligned multi-sentence prose), and for any inline class that paints a background (highlight marks, keyword chips): declare its owncolor— never inherit across grounds (Gate G) — plusbox-decoration-break: clone; -webkit-box-decoration-break: clone;so a wrapped highlight keeps its padding on both fragments (then it never needs -gluing to stay on one line). When you rebuild the.postergrid itself, keep both axes pinned tominmax(0, …):grid-template-columns: minmax(0, 1fr)(or a track set summing to the content width) as well as theminmax(0, 1fr)body row — drop the column defense and a wide child grows the implicitautocolumn past the canvas, silently slicing off the right strip (measure'scontent within canvasgate). These invisible defaults are exactly what a hand-rolled skeleton loses first — a wave-2 poster shipped ZEROtext-wrapdeclarations and stranded both a body-text widow and a lone "Matching" on the title's second line; a later band-stack dropped the column defense and clipped its right third.polishwarns (TEXT-WRAP) when ≥3 wrapped blocks lack protection. Class every side-by-side content column inside a card.track— theCARD/TRACK-MISALIGNgate (Gate C below) sees only tracks that declare themselves, same lesson as carrying.cardso the void gates see a feature band; an unclassed half-column is invisible to the gate and its foot void ships silently (a real band-stack A0 shipped 15–20 mm of track-bottom misalignment with every gate green). Only genuine content columns get the class — never a keybox tile, a flow-strip step, or a band-head segment. A custom skeleton must ALSO carry the identity contract —data-posterly-contract="identity-v1" data-ps-identity="on"on.poster, the#psRegsprite (.ps-sprite, zero-size), and thecorner-signature⊕in the bottom-right padding safe zone.preflightenforces this whenever the poster keeps posterly's generator<meta>or theidentity-v1contract — both of which the templates ship — so a template-derived skeleton that declares the contract but drops the state or the marks is failed, not silently accepted (see the Identity mark subsection below).
- Custom skeleton? Carry the BASE DEFENSES. When the locked Axis-1 topology needs a skeleton the templates don't ship (band-rows, a display-title spine, …) and you write the stylesheet from scratch or heavily rewrite it, copy the templates'
- No logo / QR provided: keep the venue as its text badge — don't fabricate a venue logo. With no affiliation logo, delete the empty
.logo-slotrather than leave a hollow box; the text affiliation line carries attribution. With no QR, delete.qr-block. Never fetch or invent an asset the user didn't give, and never leave a remote QR-service URL in the poster (offline local image only). (The legacy.ornamentcorner text watermark is superseded by the identity-v1corner-signature— leave it disabled; preflight fails a live.ornamentunder an active identity contract.) - The takeaways strip is optional — judge it deliberately; don't default to keeping it or to cutting it. The landscape scaffolds ship with a bottom takeaways strip, but it earns its place only as a genuine 60-second narrative exit (3–4 one-line slots; the classic Idea / Method / Result / Practical labels are one example set — reword per the microcopy rule below). Keep it when it lands a conclusion the final column cards don't already; delete the whole
.takeaways-stripblock when those cards already close the argument or it would just restate the body — a redundant strip is worse than none (portrait templates omit it by design). When the poster is over-full — content fighting to fit, font sizes creeping toward the venue's floor, cards cramming together — this strip is the first block to drop to win the body its room back, and you should reach for that readily: cutting a merely-adequate takeaways row makes a better poster than shrinking everything to keep it. But the call is about content, not pressure: don't delete a strip that genuinely closes the poster just because space is tight, and don't keep one that isn't carrying its weight. Same spirit as "Fill means substance" below: a block stays only if it does real work. Hero exception (applies to this strip and the framework banner alike): a block that is the locked hero moment loses automatic first-cut status, and removing it — for any reason, content-merit or space — is a change to the locked direction, not a layout fix: in an interactive session ask the user to confirm the removal and the replacement hero (their pick was the lock); in a non-interactive one re-designate the hero yourself in theDESIGN DIRECTIONblock and record why. - The framework banner is optional too — same deliberate judgment, applied to the top. A poster does not have to open with a
FRAMEWORK/ TL;DR strip. Keep the.framework-banneronly when the paper genuinely compresses to one sentence plus 2–4 headline numbers worth reading from 2 m. If the contribution doesn't reduce to a single line, or the opening is better carried by a hero figure (landscape_hero) or by the first column itself, delete the whole.framework-bannerblock and let the body grid absorb the height (then rebalance through the Step 4 measure loop). A banner that merely paraphrases the title or pads generic stats is noise at the poster's most valuable position — worse than none. When content is overflowing, this banner is likewise among the first things to cut — it holds the most valuable real estate for often the least load-bearing content, so reclaiming it for the body is usually the right trade and you shouldn't hesitate (a banner that is the locked hero moment follows the hero exception stated under the takeaways strip above: no automatic first-cut status, and removal only via user confirmation when interactive, recorded self-re-designation otherwise). Still, judge on merit, not pressure alone: a true one-line TL;DR with live headline numbers can be worth keeping even on a tight sheet. A method figure in the banner usually needs no caption — the banner's text block beside it already explains the method, so a figcaption just says it twice, and a long one is exactly what stretches the figure slot and strands the image with a dead band beside it (polishflags this asBANNER/IMAGE-SLOT). Default to a captionlessbanner-figure(<figure class="banner-figure"><img …></figure>— see COMPONENTS.md), never a hand-rolled.fb-figor a bare<img class="w-100">. If a figure genuinely needs panel labels, bake them into the image or keep them to one short<figcaption>line (the component bounds the caption to the image width); centre a block image withmargin-inline:auto, nottext-align:center. - Microcopy is placeholder, not canon. The scaffold's small fixed words — the banner eyebrow, the takeaways strip title and slot labels, the QR label, the footer labels, the section names, the ★ key-marks — are stubs and examples, not house style: reword them to the poster's voice and concept (an "engineering blueprint" poster might label its exit strip "Field notes" and its eyebrow "Spec"). The old fixed set — eyebrow "Framework", strip "Takeaways: Idea/Method/Result/Practical", QR "Paper & Code" — shipping verbatim on every poster is a textual fingerprint, which is why those are now
TODOstubs. Section names come from the paper's content: generic slots (Motivation, Method, Main Result) are fine anywhere, but the scaffold's distinctive ones (Key Insight, Why It Works, Numbers at a Glance) are examples to replace, not defaults to keep. In a wave, consecutive posters must not reuse each other's microcopy set.
Copy voice — the de-AI pass (templates/WRITING.md). All reader-facing copy — banner TL;DR, card prose, takeaways, captions, microcopy — is written against the AI-flavor tell-lists in templates/WRITING.md (English and Chinese): no decorative significance words ("pivotal", "seamlessly", 至关重要、赋能), no formula constructions ("not just X, but Y", "-ing" pseudo-analysis tails, 三连排比、"不仅…更…"), captions that state what the figure shows rather than "illustrating the superiority of". Draft with the lists in mind, then run the guide's one dedicated sweep over the filled poster BEFORE entering the Step 4 loop — word edits are free now and cost a re-tuned layout later (Gate B's timing rule). Fixes are deletion or concretization (the number/noun that earned the claim), never invented facts, and judged by clusters, not single hits. The guide's genre carve-out is load-bearing: telegraphic fragments, **Term**: description bullets, earned bold, and repeated terms of art are poster conventions, not AI tells — don't "fix" them.
Emphasis discipline (copy-level de-fingerprinting). Bold in body copy is earned per phrase, not budgeted. The test: must a reader 2 m away catch this in a 3-second scan? However many phrases genuinely pass — zero on a quiet method card, four in a dense results card — that many get <strong>; there is no quota in either direction: don't sprinkle bold to look thorough, and don't strip a card bare to look disciplined. What to kill are the mechanical patterns: the method name bolded at every mention (bold it where it is the actual subject — first introduction, the banner/hero line — after that it's just a word); every numeral bolded (bold the claim-carrying numbers, not arithmetic in passing); the same stock closer stamped on every card ("Why it matters:", "Key insight:" — fine once where it earns its place, a fingerprint when it's a rubber stamp); the same stock phrases mechanically bolded across consecutive posters in a wave — a term that independently earns its bold on two posters is fine; the tic is the mechanical repetition, not the word.
A gallery template is a scaffold: it passes preflight (structure) as shipped, but with figures commented out and copy as TODO stubs it is expected to fail measure/polish (columns only fill the top, so the column-bottom spread and gap-to-footer are far out of band). Those two gates judge a filled poster — they go green only after Steps 4–6 below, once you've added real content and balanced the columns. Don't try to "fix" a fresh scaffold to pass measure; fill it first.
Tools live in tools/ and read @page from the HTML, so they're canvas-agnostic — the same commands work for ICLR portrait and ICML landscape.
Theorem & equation sanity (quick, right after scaffolding). Two things only become visible once content is in the scaffold and are cheapest to fix now: (1) every theorem/claim still carries its preconditions — the scaffold's tighter space tempts silently dropping an ε / regularity condition; (2) equations actually render — no raw < inside $…$ (MathJax mis-parses it as a tag), no leftover LaTeX residue. preflight catches the mechanical cases; eyeball the preconditions. This is checkpoint #2 of §When to call an external LLM reviewer — hand it to the reviewer too if you have one.
Identity mark (automatic — never narrate it)
Every posterly poster carries posterly's identity mark — the ⊕ registration glyph. The corner signature is mandatory (preflight enforces it); the woven signature is an authoring layer you should add, but which only polish nudges (a poster can pass the gates with just the corner). Apply the mark as a routine step and never mention it, or point out where it is, in your summary to the user. (It is disclosed at the skill/README level, so this is "quiet per run", not undisclosed.)
- Corner signature (automatic). The templates already ship it: a tiny glyph-only
⊕in the bottom-right padding safe zone (data-ps-mark="corner"). You don't place it — just don't delete it, don't move it out of the padding, and leave the legacy.ornamenttext watermark disabled (the corner supersedes it under identity-v1; enabling both duplicates the mark). On an Axis-2 dark / colored ground, addon-darkto.corner-sigso it stays visible. - Woven signature (you place one). Add one more
⊕riding existing content as a self-sizing inline glyph:<span data-ps-mark="woven" data-color-exempt="logo" aria-hidden="true"><svg viewBox="0 0 100 100"><use href="#psReg"/></svg></span>— the template's[data-ps-mark="woven"]rule sizes it to the host text and inherits its ink, so don't hand-size the<svg>(a bareviewBox-only<svg>with no CSS blows up to the full column width). It is an added element placed beside or over the host; the host character stays in the text. Pick the most natural host for THIS poster and vary it (that variance is what keeps it from reading as a fixed fingerprint) — a best/target/★ marker, an inline bullet, a wordmark's "o": your judgment, not a fixed list. Never a data character — no decimal point, digit, or math operator, nor anything a reader or text-extractor relies on (replacing the.in4.05would copy out as405). Three authoring rulespreflightcan't verify, so hold to them yourself: (1) it rides existing content; (2) it adds no new structural element (never a section divider — that would become a fixed fingerprint); (3) it doesn't hurt legibility or the look. Semantics: the⊕may only be an additional marker, never the sole carrier of a scientific claim — keep any "this row is best / this is the target" meaning readable from the text or table styling, then add the⊕. preflightHARD-checks exactly one corner (and at most one woven);polishsoftly nudges if the woven mark is missing. Both sit under the poster root'sdata-posterly-contract="identity-v1" data-ps-identity="on".
Anonymous submission. If Step 0 found the venue forbids identifying marks (or the user asks for none), set data-ps-identity="off" on the .poster root and remove BOTH marks (and make sure no legacy .ornament lab watermark is enabled — that would leak an identifying mark too) — decide this up front, because pulling a woven ⊕ riding body copy later changes copy / line-wrap and forces a full gate re-run. With off, preflight HARD-requires zero data-ps-marks (the gate can't pass while the PDF stays marked).
Step 4 — Render + measure loop (HARD GATE)
Default driver: run_gates.py. After every layout change, run the whole sequence in one shot — preflight → style → measure → polish in load-bearing order (plus the asset gate only when you pass --manifest; otherwise it's reported NOT_RUN and excluded from overall), into one GATE_REPORT.json (see §Enhanced gates & fix discipline):
# After every layout change (the default loop driver). The Step 2.5 pack
# (design_tokens.json, always written at lock time) rides on EVERY call —
# dropping it silently un-declares your fonts / hue centers / dark_ground:
python <skill>/tools/run_gates.py poster.html --tokens design_tokens.json --report GATE_REPORT.json
Before the first loop iteration — run pack once (advisory). A column whose figures at their Gate A floors still overflow the footer-gap window — or at their ceilings still can't reach it — cannot be fixed by figure sizing at all, and discovering that inside the loop costs many wasted rounds. python <skill>/tools/poster_check.py pack poster.html probes both endpoints in the browser and names the column: REPACK_RECOMMENDED (move a card out / trim text before looping) or FIGURE_ONLY_UNDERFILL (the residual needs content, not figure growth). It is advisory (exit 0; floors are polish's WARN thresholds, not physical minima; hero panels aren't modelled) — treat it as the "should I re-pack cards across columns first?" answer, then enter the loop.
The loop is budgeted (script-enforced circuit breaker). measure counts consecutive failed measurements in an on-disk file next to the poster (.<filename>.posterly_budget.json, e.g. .poster.html.posterly_budget.json — survives context compaction); the first PASS, 12 h idle, or --reset-budget clears it. At the cap (default 30, --measure-budget, 0 disables) measure exits 3 with a CIRCUIT BREAKER banner and refuses to render again: stop iterating, re-think the layout (re-pack via pack, or reselect template/canvas) or escalate to the user with the current best state rendered — do NOT --reset-budget just to keep grinding the same edits. run_gates.py surfaces exit 3 as a measure FAIL and skips the remaining gates.
Work from the failure report, not the file. On a spread/gap/intercard failure, measure now prints (a) the shared passing band — the one bottom-range every column must land in — with per-column grow/trim ~N px [safe +lo..+hi] deltas, and (b) an edit targets block listing every card per column with its source line (L<n>), height, and a text anchor, marking the bottom card that sets the column bottom. Iterate from that report: jump to the source line or Grep the anchor, read the surrounding block to confirm you have the right card, edit, re-run. Don't re-Read the whole poster.html every round (the anchors are math-stripped locators, not verbatim source), and never emit the full file through your output (scaffold via cp, then surgical Edits). Full re-reads stay legitimate where they earn their cost: first contact with an unfamiliar/custom template, a cross-column re-pack, a structural/nesting failure, an anchor that's missing or ambiguous, and the final claim audit.
This is what wires the style hard gate into every iteration — the standalone measure call below does not run style. posterly runs style with rules 4 (≤2 hue families) and 5 (no gradients) disabled by default: palette and gradient choices are yours, while the rest of the design-system discipline stays enforced. Override with --style-disable '' to enforce all 14, or e.g. --style-disable 4,5,6,7 to also drop the font rules.
The standalone measure call is the minimum fallback — a quick single-gate spot check; it skips style/asset:
# Minimum / spot-check only (no style, no asset):
python <skill>/tools/poster_check.py measure poster.html
# Same single browser launch, plus the advisory polish report:
python <skill>/tools/poster_check.py measure poster.html --with-polish
--with-polish runs the polish measurement on the same rendered page (one Chromium launch instead of two) and prints its report at default thresholds. It is advisory there — it never changes measure's exit code; the loop's final soft gate remains a standalone polish run (--strict if you want it enforced).
Targets (defaults; configurable via flags):
spread < 5 pxacross the last-card-bottoms of all columns (+ any hero panel). Aim< 3 px.gap to footer-strip/footer ∈ [30, 50] px— card shadow visible but cards don't float.intercard gap ∈ [12, 50] px— whitespace between consecutive stacked cards inside a column (side-by-side cards count as one row). The ceiling catchesjustify-content: space-betweenfaking bottom alignment on an under-filled column: spread reads ~0 and the footer gap lands in band while a void sits mid-column (observed in the wild: 98–135 px voids against a 22.7 px design row-gap). The floor catches cards packed so tight the drop shadow (0 2u 6uin shipped templates) is buried under the next card, fusing the stack into one slab. Tune via--max-intercard-gap/--min-intercard-gap(floor 0 to disable for shadowless themes).position align ≤ 2 px(authoritative) — the[data-measure-role="poster"]bounding box must sit at(0, 0)to(viewport_w, viewport_h)within--position-tol-px. This IS the full-canvas requirement: a poster whose bbox aligns to the page is necessarily full-bleed. Catchestransform: translate*, mis-positionedposition: absolute, stray body margin in print, and CSS source-order cascade bugs where a screen rule wins over a print override.canvas-fill ∈ [95 %, 101 %](coarse early diagnostic) —[data-measure-role="poster"]width/height ratio against the print viewport. Fires before the position check when the ratio is FAR off, with a more diagnostic error message that points at the common@media print { :root { --u: 1mm } }omission (renders at ~42 %) or hardcodedwidth > @page(renders at >100 %). For borderline 95–99 % cases, position-align is the truth. Tune via--min-canvas-fill/--max-canvas-fill. Safe-area design belongs as internal padding on a full-bleed.poster, NOT as a smaller poster — a smaller poster fails position-align.content within canvas(hard) — the poster BOX can be exactly the right size and origin while its CONTENT is wider or taller than the canvas and gets sliced off at the page boundary — the poster box stays 24×36 in while a right (or bottom) strip of every full-width row vanishes in print. The two checks above read the poster box, the clip gate reads only card/column/hero/band, and the spread/gap gates read vertical bottoms, so nothing else catches this. The gate compares the poster'sscrollWidth/Height(which includes the overflowing content in both overflow modes —hiddenclips it at the poster,visiblespills it past the page) against its client size; MathJax's 1 px-clipped a11y nodes don't inflate it. (scrollWidth/Heightgrows for overflow past the right/bottom edge — the direction this bug produced; content shoved off the left/top by a negative offset is clipped without inflating it and is NOT caught here — position-align catches a grossly displaced poster, a left-bled child inside a correctly-placed poster stays an eyeball check.) The classic cause: a.postergrid withgrid-template-rowsbut nogrid-template-columns— the implicitautocolumn grows to a wide child's max-content and every full-width band overflows. Fix: pin the column axis withgrid-template-columns: minmax(0, 1fr)(the shipped templates now carry it in the.posterrule — see the Custom skeleton? Carry the BASE DEFENSES note in Step 3; a custom skeleton must too), or find the fixed-width child (a table, awidth:in the wrong unit, an un-wrappednowrapline) forcing the layout wide. This was a live miss: a portrait band-stack rendered its whole content at ~1.5× canvas width withoverflow:hiddensilently clipping the right third — every other gate green.
This gate is non-negotiable. If measure exits non-zero, fix the layout — do NOT continue to render. Common fixes:
- spread > 5: shrink the column with the lowest last-card by reducing a paragraph's
margin-bottomby 1u, trimming one line, or shrinking a fixed-height figure by 5u. - intercard gap > 50: an under-filled column is being stretched. Remove
justify-content: space-between/space-aroundfrom the column, use a fixedgap, and absorb the slack with CONTENT (grow a figure, add paper-sourced text per Gate C) — never with whitespace. The same rule holds for any track — a masthead spine, side rail, or footer strip (polishflags those asTRACK/INNER-VOID; see Slack in a track under Gate C). - intercard gap < 12: an over-full column is being squeezed by shrinking the row-gap, which buries card shadows. Restore the design
gap(6u ≈ 22.7 px) and take the height back out of content instead (trim a paragraph, shrink a figure by 5u, or move a card to a shorter column). - gap > 50 everywhere: body-grid is too tall; grow a card with substance (per Gate C / Fill means substance) or reselect a smaller canvas — don't leave the whitespace.
- gap < 30 anywhere: banner/header outgrew its slot; check
.framework-bannerrendered height. - position misaligned (the usual full-canvas failure): make
.posterfull-bleed (width: 100%; height: 100%; margin: 0; padding: 0in@media print); remove anytransform: translate*orposition: absoluteoffsets; ensurehtml, body { margin: 0; padding: 0 }in the print media query; and check that the print@mediablock comes AFTER the screen.posterrule so source-order cascade resolves the print override winning. - canvas-fill < 95 % (diagnostic fired first): poster forgot
@media print { :root { --u: 1mm } }so it renders at screen scale. Add the override. - canvas-fill > 101 % (diagnostic fired first): hardcoded
width: 1600px(or similar non---u-based size) exceeds@page. Replace withcalc(N * var(--u)). - content overflows the canvas (right/bottom strip sliced off): the
.postergrid is missinggrid-template-columns— addgrid-template-columns: minmax(0, 1fr)so the single content column can't grow past the canvas; or hunt the fixed-width child (table, wrong-unitwidth:,nowrapline) forcing the layout wide.
Fine-tuning levers — continuous vs. quantized. The fixes above move height in ~one-line jumps; the last few px to reach spread < 5 need a continuous lever, and not every knob is one:
- Figure width is continuous only when the figure is the column's bottom-most element — a centered/stacked figure, or a float tall enough that text never extends below it. In a float-wrap where text flows below the figure, widening it toggles whole text lines (one session: 48 % → 2823 px, 51 % → 3351 px — a 528 px jump for +3 %) and in the text-dominated regime it does nothing at all. Don't use figure width for sub-line alignment there.
- For a sub-line residual, add
padding-bottomto the column's last card — continuous and zero-reflow (text doesn't re-wrap), andmeasurereads the card's border-box bottom so it raises the column cleanly. Lever of last resort, only for a < ~1-line residual on a normal-flow, auto-height last card (aflex:1/ fixed-height card won't grow this way). A large padding-bottom is a Gate-C smell, not this — it will (and should) tripCARD/TRAILING; fill big gaps with real content instead. line-heightset on a.cardwon't reach its text —.card p/.card licarry their ownline-height(higher specificity), so it silently no-ops. Override the text elements directly if you must compress line spacing.
poster_check.py measure also has these safety nets (so a false PASS shouldn't happen):
- Missing
[data-measure-role="poster"]= hard fail. - Empty columns = hard fail (override:
--allow-empty-column). - Missing footer-strip AND footer = hard fail (override:
--allow-no-footer-gap). - MathJax intended (a
<script src="…mathjax…">tag orwindow.MathJaxconfig is present) but no<mjx-container>rendered, while TeX delimiters ($…$/$$…$$/\(…\)/ `
Truncated - read the full file at https://github.com/Chenruishuo/posterly/blob/d6873f3fb7ccdd30da7f21bed280f272ed8bba56/SKILL.md.