{# The bands every slide shares. Macros rather than includes, so each sheet says whether its ground is dark: the footer reads light on a divider. A slide with a dark ground of its own rebinds the theme, so its title band takes the light heading without asking. The title is clipped to one line (#316), and the empty span ending it is its sentinel: on a second line it lands a line lower, and inkfold.deck.overflowing_slides() names it. A kicker (#333) rises into the top margin by its own line and gap, so the title keeps the line the fit check measures. #} {% from "common/notes.html" import marked with context %} {% from "common/kicker.html" import kicker as kicker_line with context %} {% macro title_band(box, title, anchor, number, kicker=none, rise=0) %}
{% endmacro %} {# The footer band is laid out left to right whatever the slide's alignment: centred, the number's float was lost behind the label. A mark, such as a confidentiality label, follows the label a gutter on (#352): centred, it met the label on a sheet a picture halves. The counter is Python's: the sheet's number, or "4 / 12". #} {% macro footer_band(box, counter, label, dark=false, mark="") %} {% endmacro %} {# A slide's source (#347): one fine-print line pinned over the footer band, in the band the body gave up for it. Clipped to its line, and its sentinel lands a line lower when it wraps, as the title's does. #} {% macro source_band(box, number, source_parts, as_of) %} {% endmacro %}