examyv1.1.0

maketitlefunction

#maketitle(
  institution: auto,
  exam-name: auto,
  term: auto,
  duration: auto,
)

Displays the exam's title block (like LaTeX's \maketitle), using config's institution, exam-name, term, and duration. Displays nothing if all four are none.

Note: use a set rule to change the font settings (e.g. #{ set text(font: "DejaVu Sans Mono"); maketitle() }).

Arguments

institutiondefaultautoinstitution| content | none
The institution name. Setting to auto uses config's institution; none hides it.
exam-namedefaultautoexam-name| content | none
The name of the exam (e.g. Midterm 1). Setting to auto uses config's exam-name; none hides it.
termdefaultautoterm| content | none
The term of the exam (e.g. Fall 2026). Setting to auto uses config's term; none hides it.
durationdefaultautoduration| duration | content | none
The length of the exam. Durations are shown in minutes (e.g. duration(hours: 1, minutes: 50) shows as "110 Minutes"). Pass content for complete control over what is shown (e.g., pass [1 h 50 min]). Setting to auto uses config's duration; none hides it.