{# MATH BLOCK (#229) — a display equation: its rendered image, the numbered caption and the fine print. `image-block.html` without the decorative branch, the link or the subtitle, because an equation is none of them. The `width` attribute is what Outlook honours and the CSS repeats it as a cap (#201). The image is inline, so `text-align` places it. Context: image_src — cid: reference (or a hosted URL) image_alt — the LaTeX source, escaped as an attribute image_width — display width in px, or "" for full width image_align — "left" | "center" | "right" caption — numbered caption; caption_parts carries its markers anchor — the figure's `id`, empty when it has none disclosure — compliance copy, from the partial every exhibit shares #} {% from "common/notes.html" import marked with context %}
|
{# Inline, in a line box of its own with no leading: WeasyPrint resolves an
auto margin against width:100% before the cap, so a block image sat at
the left edge of every sheet (#232). text-align centres an inline one. #}
{{ marked(caption_parts) }} {% endif %} {% include "common/disclosure.html" %} |