--- name: particula-toc description: Design or revise a square scientific table-of-contents (TOC) figure or graphical abstract to accompany a study title. Use for small-format composition, scientific visual metaphors, accessible descriptions and print-ready export. --- # Design a TOC figure Design the title and TOC figure together so a browsing reader gets the gist in about three seconds. Let the title name the finding and the picture show the relationship behind it. Use the report text and quantitative figures for the magnitude, uncertainty and explanation. For an existing study, review the artwork again once the narrative is final. If a later analysis now leads the report, show its observable and reference case, and update the listing artwork and alt text together. ## Show the setting and the comparison - Pick one detail that places the result in its study setting. A sampling line and particles inside a chamber explain where an isomer signal came from. The Mt. Hua ridge locates the field samples. Give the cue enough space to recognize at gallery size. When revising, keep a familiar cue if it still describes the experiment. - Decide what a reader should compare. For bars, name the observable and units once, label the measured or archived reference, and identify what changes between predictions. Use a common zero and scale for bars comparing magnitudes. Include a value or threshold beside a mark when its length alone cannot convey the result. - For particle drawings, decide what size, number and outlines mean. If diameter carries data, scale diameters to the reported sizes. If a ring represents a dry core, a measured wet size or a detection limit, identify that reference. Schematic particles can show where sampling or collisions occur. Use separate quantitative marks when the result is a concentration, volume or timing gap. - Check what the evidence establishes before drawing arrows or trajectories. In the CLOUD figure the beam identifies ion production and the droplet identifies humid air. The origin of the humid discrepancy remains an open question. ## Color and lettering Use the [collection colors](../../references/toc-design.md#collection-colors) and paper-yellow canvas, including in artwork generated by a study script. Pair color with position, shape or line style so the comparison also works in grayscale. Use `plt.style.context("particula.toc")` around figure creation and export. Its 3-inch square canvas, paper-yellow field, dark ink, 9-point base type, and teal/rust color cycle are sized for the study gallery. Use `plt.figure()` or `plt.subplots()` and save the full canvas. Place the Particula dots in whichever corner leaves labels, marks and contextual art clear. Inspect the placement in the finished proof. ```python from matplotlib import pyplot as plt from particula.plotting.toc import add_toc_logo with plt.style.context("particula.toc"): fig, ax = plt.subplots() # Draw the study comparison from its saved results. add_toc_logo(fig, corner="top right") fig.savefig("study-toc.png") ``` Choose `top left`, `top right`, `bottom left`, or `bottom right`. For a vector illustration, position `$dots` in a translated SVG group. The literature renderer embeds the official transparent dots at 22.5 × 17.1 units in a 300-unit square. Let the title state the finding. Keep visible words that answer a question the picture leaves open about where the sample came from, what was measured, or which condition changed. A shared unit and short labels beside the marks usually suffice. Add the few words needed to distinguish a measurement from a model or a diameter from a water volume. Cut repeated headlines and move secondary conditions and precision into the accessible description and report. See the [Sea2Cloud and particle-growth examples](../../references/toc-design.md#labeling-the-comparison). ## Keep the source with each literature study Commit the editable generator and its rendered figure together for every new or revised literature TOC. For plotted data, keep a plotting-only Python entry point in the study's analysis directory and read the archived results. For a hand-drawn vector, keep its editable `toc.svg.in` beside the report (use a study-specific name for reports sharing a directory). Preserve title, description, scientific labels and drawing geometry in the template. Keep any input tables and supporting templates needed to render from a clean checkout. Record the repository-relative generator as `tocSource` alongside `tocFigure` in the study resource in `website/topics.json`. From the repository root, run `python -m scripts.render_literature_tocs STUDY_ID` and inspect the generated image at its registered path. Omit the study ID to rebuild the literature gallery. When updating a report, verify that its lead figure and literature listing use the same artwork. ## Export and check For Particula, produce a **3 × 3 inch square**. Use a self-contained SVG with equal physical dimensions (for example, `width="3in" height="3in" viewBox="0 0 300 300"`), or a **900 × 900 pixel** raster with **300 pixels/inch** set on both axes. Export square corners and leave enough inset for the labels and dots logo. The website rounds the displayed corners on study pages, in galleries and in carousels. Keep the detailed quantitative figure in the report. Place the TOC image in its own paragraph below the study title, immediately followed by the opening abstract paragraph. The study-page template places the figure in the right 40% of the reading column and lets the abstract wrap beneath it. On narrow screens the abstract appears above the centered figure. Set `tocFigure` on the study’s resource entry in `website/topics.json` to its image path relative to `docs/images/` so the Studies and Topics carousels can display it with the study title. Supply concise alt text conveying the relationship; for standalone SVG include an accessible title and description. Inspect the 3 × 3 inch export and a **2 × 2 inch proof** beside the actual report title. At 300 pixels/inch the proof is 600 × 600 pixels. Display or print it at two inches across to judge readability. Check that labels, contextual details and the main relationship remain distinct in grayscale. Look at the title and proof together for three seconds. Could a new reader point to the study setting, say what a longer bar or larger particle means, and identify the reference and direction of the result? If one answer is missing, adjust that cue or its nearest label and look again. For the advertising, branding, signage and scientific publishing sources behind these choices, see `../../references/toc-design.md`.