Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/OriginCode/typst-homework-template
Homework Template for Typst
https://github.com/OriginCode/typst-homework-template
Last synced: 2 months ago
JSON representation
Homework Template for Typst
- Host: GitHub
- URL: https://github.com/OriginCode/typst-homework-template
- Owner: OriginCode
- Created: 2023-03-27T08:56:16.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-05T06:07:17.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T06:16:01.244Z (5 months ago)
- Size: 364 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-typst - typst-homework-template - A simple homework template inspired by the LaTeX homework template by Adam Blank (Templates & Libraries / Assignments)
- awesome-typst-cn - typst-homework-template
README
# OriginCode's Typst Homework Template
A homework template for [Typst](https://typst.app/), inspired by [Adam Blank's Homework Template](https://www.countablethoughts.com/documents/homework-anon.tex) in $\LaTeX$ (sorry GitHub only allows me to display LaTeX in math mode).
## Usage
There are two main functions: `question` and `part`, which marks the corresponding sections.
There is also a helper function `indented` to create indented texts.
You can turn on question counter (e.g., "1. Question One") by set `disp_question_counter` variable in `template.typ` to `true`.
## Example
Source: [example.typ](./example.typ)
Rendered Result: [example.pdf](./example.pdf)