Skip to content

TeXSmith Exam Template

This project provides an exam template for TeXSmith. It includes an exam-centric renderer with callouts and a structure tailored for assessments.

The template is currently tailored for HEIG-VD. The long-term goal is to offer a more generic version with configurable branding (logos, color palettes, and similar options).

Installation

Add the template as a dependency and install the required dependency groups:

uv sync --group dev --group docs

Quick start

Use the exam template with TeXSmith:

texsmith render --template exam exam.md

Enable solution mode when rendering to build the answer key:

texsmith render --template exam -a solution=true exam.md

Title page

By default the template generates a dedicated cover page with the duration, grade table, and rules. To render a minimal inline title instead, set exam.titlepage to minimal in the front matter:

exam:
  titlepage: minimal