Note
Due to limited bandwidth, the manual and examples are provided in Chinese only and may contain occasional oversights.
If you need further assistance while reading the manual, the examples, the source code, or using this package, feel free to reach out via Issues or Discussions.
shuxuejuan (数学卷, meaning "math exam paper" in Chinese) is a simple Typst package that helps construct math exam papers with minimal setup.
#import "@preview/shuxuejuan:0.2.0": *
#show: shuxuejuanThen use it like:
= 选择题
== 下列各说法中正确的是#br[BCD]。#op(
$emptyset in emptyset$,
$emptyset subset.eq emptyset$,
$emptyset in {emptyset}$,
$emptyset subset.eq {emptyset}$,
)#import "@preview/shuxuejuan:0.2.0": *Then use it like:
#qst(level: 1)[选择题]
#qst[
下列各说法中正确的是#br[BCD]。#op(
$emptyset in emptyset$,
$emptyset subset.eq emptyset$,
$emptyset in {emptyset}$,
$emptyset subset.eq {emptyset}$,
)
]#context env-upd(
font-size: env-get("font-size") + (medium: 11pt),
qst-style: COMPOSER.GRID,
fn-number: sxj-counter-with-acc-to-nums-normal, // Note: 常用。
qst-tag-w: (auto, 1em, 1em),
ans-shown: false, // Note: 常用。
ans-color: color.rgb(238, 0, 0),
ref-style: 1,
)Complete source code to this manual, pre-compiled pdf.
To avoid unnecessary version bumps, all updates are promptly pushed to the origin repository, and synced to Typst Universe after they're tested. Small updates, including documentation fixes and code changes that don't affect the output, are typically synced with a multi-week delay.
Therefore, if you want to read the manual, view the examples, or submit a PR... please download the latest code from the origin repository:
git clone https://github.com/VWWVVW/shuxuejuan.gitThis project is licensed under the MIT License - see the LICENSE file for details.

