From 83a32d4fa02010d3f0d569c4b1faab6ea94b8896 Mon Sep 17 00:00:00 2001 From: Gaspard Jankowiak Date: Mon, 15 Dec 2025 09:11:10 +0100 Subject: [PATCH] [README] update --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a546bee..b140acb 100644 --- a/README.md +++ b/README.md @@ -17,15 +17,26 @@ typship download -n local https://imsc.uni-graz.at/git/gjankowiak/typst-exam/ ```bash mkdir -p ~/.local/share/typst/packages/local/exam cd ~/.local/share/typst/packages/local/exam -curl https://imsc.uni-graz.at/git/gjankowiak/typst-exam/archive/v0.1.0.tar.gz | tar zx --xform 's/typst-exam/0.1.0/' +curl https://imsc.uni-graz.at/git/gjankowiak/typst-exam/archive/v0.2.0.tar.gz | tar zx --xform 's/typst-exam/0.2.0/' ``` +## Quickstart (CLI) + +This will create an `exam` directory in the current directory, +containing the example below. + +```sh +typst init @local/exam:0.2.0 exam +``` + +Tested typst version: `0.14.0`. + ## Usage Writing an exam is now easy (see [API](#api) for all options): ```typ -#import "@local/exam:0.1.0": exam, exercise, exercise-items, mtext +#import "@local/exam:0.2.0": exam, exercise, exercise-items, mtext, horiz-only #show: exam.with( title: "Exam", @@ -82,7 +93,7 @@ Let $f : (0, +infinity) → (0, +infinity)$ with $f (x) = e^(-x)$. Consider the following truthtable: #align(center, table( - stroke: frame(0.5pt), + stroke: horiz-only(0.5pt), columns: (auto, auto, auto), align: center, [$A$], [$B$], [$A or B$],