{"id":22039252,"url":"https://github.com/joshualampert/clean-math-paper","last_synced_at":"2026-02-21T19:12:06.149Z","repository":{"id":263661999,"uuid":"891068975","full_name":"JoshuaLampert/clean-math-paper","owner":"JoshuaLampert","description":"Typst paper template specialized on needs of mathematics. ","archived":false,"fork":false,"pushed_at":"2025-06-19T20:11:27.000Z","size":305,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T20:43:49.112Z","etag":null,"topics":["arxiv","paper-template","typst","typst-template"],"latest_commit_sha":null,"homepage":"https://typst.app/universe/package/clean-math-paper","language":"Typst","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JoshuaLampert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-19T17:09:11.000Z","updated_at":"2025-06-19T20:11:30.000Z","dependencies_parsed_at":"2024-11-19T19:33:37.496Z","dependency_job_id":"0fce6049-f09f-42e7-b98d-db501a632744","html_url":"https://github.com/JoshuaLampert/clean-math-paper","commit_stats":null,"previous_names":["joshualampert/clean-math-paper"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/JoshuaLampert/clean-math-paper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaLampert%2Fclean-math-paper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaLampert%2Fclean-math-paper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaLampert%2Fclean-math-paper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaLampert%2Fclean-math-paper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoshuaLampert","download_url":"https://codeload.github.com/JoshuaLampert/clean-math-paper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaLampert%2Fclean-math-paper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264506245,"owners_count":23619002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arxiv","paper-template","typst","typst-template"],"created_at":"2024-11-30T11:09:59.477Z","updated_at":"2026-02-21T19:12:06.142Z","avatar_url":"https://github.com/JoshuaLampert.png","language":"Typst","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clean-math-paper\n\n[![Build Typst Document](https://github.com/JoshuaLampert/clean-math-paper/actions/workflows/build.yml/badge.svg)](https://github.com/JoshuaLampert/clean-math-paper/actions/workflows/build.yml)\n[![Repo](https://img.shields.io/badge/GitHub-repo-blue)](https://github.com/JoshuaLampert/clean-math-paper)\n[![License: MIT](https://img.shields.io/badge/License-MIT-success.svg)](https://opensource.org/licenses/MIT)\n\n[Typst](https://typst.app/home/) paper template for mathematical papers built for simple, efficient use and a clean look.\nOf course, it can also be used for other subjects, but the following math-specific features are already contained in the template:\n\n- theorems, lemmas, corollaries, proofs etc. prepared using [great-theorems](https://typst.app/universe/package/great-theorems)\n- equation settings\n\n## Set-Up\n\nThe template is already filled with dummy data, to give users an impression what it looks like. The paper is obtained by compiling `main.typ`.\n\n- after [installing Typst](https://github.com/typst/typst?tab=readme-ov-file#installation) you can conveniently use the following to create a new folder containing this project.\n\n```bash\ntypst init @preview/clean-math-paper:0.2.5\n```\n\n- edit the data in `main.typ` → `#show template.with([your data])`\n\n### Parameters of the Template\n\n- `title`: Title of the paper.\n- `authors`: List of names of the authors of the paper. Each entry of the list is a dictionary with the following keys:\n  - `name`: Name of the author.\n  - `affiliation-id`: The ID of the affiliation in `affiliations`, see below. Can also be left empty.\n  - optionally `orcid`: The [ORCID](https://orcid.org/) of the author. If provided, the author's name will be linked to their ORCID profile.\n- `affiliations`: List of affiliations of the authors. Each entry of the list is a dictionary with the following keys:\n  - `id`: ID of the affiliation, which is used to link the authors to the affiliation, see above. Can also be left empty.\n  - `name`: Name of the affiliation.\n- `date`: Date of the paper.\n- `abstract`: Abstract of the paper. If not provided, nothing will be shown.\n- `keywords`: List of keywords of the paper. If not provided, nothing will be shown.\n- `AMS`: List of AMS subject classifications of the paper. If not provided, nothing will be shown.\n- `lang`: Language of the paper. Supported languages are English, German, French, and Spanish, default is \"en\".\n- `translations`: Dictionary to override the language translations. Please refer to the `Support for languages` section for more information.\n- `heading-color`: Color of the headings including the title.\n- `link-color`: Color of the links.\n- `lines`: Boolean to enable or disable the horizontal lines around the title. Default is `true`.\n- `ncolumns`: Number of columns of the paper. Default is `1`.\n- `page-args`: Dictionary to set page arguments, e.g., to change the number of columns or page numbering. See [Typst docs](https://typst.app/docs/reference/layout/page/) for more information. The default page arguments can be accessed via `page-args`, i.e., if you want to change only some of the default settings, you can use `insert` on `page-args` to change specific settings.\n- `text-args-title`: Dictionary to set text arguments for the title, e.g., to change the font size or color. See [Typst docs](https://typst.app/docs/reference/text/text/) for more information. The default arguments can be accessed via `text-args-title`, i.e., if you want to change only some of the default settings, you can use `insert` on `text-args-title` to change specific settings.\n- `text-args-authors`: Dictionary to set text arguments for the authors' names, e.g., to change the font weight or style. See [Typst docs](https://typst.app/docs/reference/text/text/) for more information. The default arguments can be accessed via `text-args-authors`, i.e., if you want to change only some of the default settings, you can use `insert` on `text-args-authors` to change specific settings.\n\n### Support for mathblocks\n\nThis template uses the [great-theorems](https://typst.app/universe/package/great-theorems) package to provide a set of mathblocks. Currently, the following blocks are available: `theorem`, `proposition`, `corollary`, `lemma`, `definition`, `remark`, `example`, `question`, and `proof`. If you want to define your own block, you can do this, e.g., by\n\n```typst\n#let answer = my-mathblock(\n  blocktitle: \"Answer\",\n  bodyfmt: text.with(style: \"italic\"),\n)\n```\n\nwhere `my-mathblock` already includes the counter shared between mathblocks. You can also directly use `mathblock` instead if you do not want to use the default setting used in this template.\n\n### Support for languages\n\nThis template includes translations for English, German, French, and Spanish. To use one of these languages, set the lang parameter to `en`, `de`, `fr`, or `es`:\n\n```typst\n#show: template.with(\n  lang: \"en\"\n)\n```\n\nFor languages not included by default, or to override existing translations:\n\n- set `lang` to your language's ISO code (see [Typst docs](https://typst.app/docs/reference/text/text/#parameters-lang))\n- provide a `translations` dictionary with your custom translations, like below\n\n```typst\n#show: template.with(\n  lang: \"en\",\n  translations: (\n    \"theorem\": \"Theorem\",\n    \"proposition\": \"Proposition\",\n    \"corollary\": \"Corollary\",\n    \"lemma\": \"Lemma\",\n    \"definition\": \"Definition\",\n    \"remark\": \"Remark\",\n    \"example\": \"Example\",\n    \"question\": \"Question\",\n    \"proof\": \"Proof\",\n    \"keywords\": \"Keywords\",\n    \"ams\": \"AMS subject classification\",\n    \"appendix\": \"Appendix\",\n    \"abstract\": \"Abstract\",\n  )\n)\n```\n\nTo modify specific translations for a supported language, a partial dictionary is enough. Only the specified keys will be overridden.\n\n## Acknowledgements\n\nSome parts of this template are based on the [arkheion](https://github.com/mgoulao/arkheion) template.\n\n## Feedback \u0026 Improvements\n\nIf you encounter problems, please open issues. In case you found useful extensions or improved anything We are also very happy to accept pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshualampert%2Fclean-math-paper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshualampert%2Fclean-math-paper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshualampert%2Fclean-math-paper/lists"}