{"id":14577848,"url":"https://github.com/JeyRunner/tuda-typst-templates","last_synced_at":"2025-09-04T12:33:00.459Z","repository":{"id":214648566,"uuid":"737024547","full_name":"JeyRunner/tuda-typst-templates","owner":"JeyRunner","description":"Typst Template for the Corporate Design of TU Darmstadt","archived":false,"fork":false,"pushed_at":"2024-05-11T19:38:28.000Z","size":4624,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-12T18:21:52.287Z","etag":null,"topics":["latex","thesis-template","tu-darmstadt","tu-darmstadt-corporate","typst","typst-template"],"latest_commit_sha":null,"homepage":"","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/JeyRunner.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}},"created_at":"2023-12-29T15:20:21.000Z","updated_at":"2024-05-11T19:38:31.000Z","dependencies_parsed_at":"2024-05-11T18:21:44.213Z","dependency_job_id":null,"html_url":"https://github.com/JeyRunner/tuda-typst-templates","commit_stats":null,"previous_names":["jeyrunner/tuda-typst-templates"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeyRunner%2Ftuda-typst-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeyRunner%2Ftuda-typst-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeyRunner%2Ftuda-typst-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeyRunner%2Ftuda-typst-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeyRunner","download_url":"https://codeload.github.com/JeyRunner/tuda-typst-templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":218022243,"owners_count":16266472,"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":["latex","thesis-template","tu-darmstadt","tu-darmstadt-corporate","typst","typst-template"],"created_at":"2024-09-07T17:01:19.737Z","updated_at":"2025-09-04T12:33:00.429Z","avatar_url":"https://github.com/JeyRunner.png","language":"Typst","funding_links":[],"categories":["Popular \u0026 New LaTeX Templates"],"sub_categories":["Thesis/Dissertation"],"readme":"# Typst Templates for the Corporate Design of TU Darmstadt :book:\nThese **unofficial** templates enable you to write documents in [Typst](https://github.com/typst/typst) with the corporate design of [TU Darmstadt](https://www.tu-darmstadt.de/).\n\n#### Disclaimer\nPlease ask your supervisor if you are allowed to use Typst and one of these templates for your thesis or other documents.\nNote that this template is not checked by TU Darmstadt for correctness.\nThus, this template does not guarantee completeness or correctness.\nFor notes for publishing on TUbama see the [Publishing](#publishing-on-tubama).\n\n\n## Implemented Templates\nThe templates imitate the style of the corresponding latex templates in [tuda_latex_templates](https://github.com/tudace/tuda_latex_templates).\nNote that there can be visual differences between the original latex template and the Typst template (you may open an issue when you find one).\n\nFor missing features, ideas or other problems you can just open an issue :wink:. Contributions are also welcome.\n\n| Template | Preview | Example | Scope |\n|----------|---------|---------|-------|\n| [tudapub](templates/tudapub/template/tudapub.typ) | \u003cimg src=\"templates/tudapub/preview/tudapub_prev-01.png\" height=\"300px\"\u003e | [example_tudapub.pdf](example_tudapub.pdf) \u003cbr/\u003e [example_tudapub.typ](example_tudapub.typ) | Master and Bachelor thesis |\n| [tudaexercise](templates/tudaexercise/template/tudaexercise.typ) | \u003cimg src=\"templates/tudaexercise/preview/tudaexercise_prev-1.png\" height=\"300px\"\u003e | [Example File](templates_examples/tudaexercise/main.typ) | Exercises |\n| [not-tudabeamer-2023](templates/not-tudabeamer-2023/template/lib.typ) | \u003cimg src=\"templates/not-tudabeamer-2023/preview/thumbnail.webp\" height=\"300px\"\u003e | [Example File](templates_examples/not-tudabeamer-2023/main.typ) | Presentations |\n\n## Usage\nCreate a new typst project based on this template locally.\n```bash\n# for tudapub\ntypst init @preview/athena-tu-darmstadt-thesis\ncd athena-tu-darmstadt-thesis\n\n# for tudaexercise\ntypst init @preview/athena-tu-darmstadt-exercise\ncd athena-tu-darmstadt-exercise\n\n# for not-tudabeamer-2023\ntypst init @preview/not-tudabeamer-2023\ncd not-tudabeamer-2023\n```\nOr create a project on the typst web app based on this template.\n\n\u003cdetails\u003e\n\u003csummary\u003eOr do a manual installation of this template.\u003c/summary\u003e\nFor a manual setup create a folder for your writing project and download this template into the `templates` folder:\n\n```bash\nmkdir my_thesis \u0026\u0026 cd my_thesis\nmkdir templates \u0026\u0026 cd templates\ngit clone https://github.com/JeyRunner/tuda-typst-templates\n```\n\u003c/details\u003e\n\n### Logo and Font Setup\nDownload the tud logo from [download.hrz.tu-darmstadt.de/protected/ULB/tuda_logo.pdf](https://download.hrz.tu-darmstadt.de/protected/ULB/tuda_logo.pdf) and put it into the `assets/logos` folder.\nNow execute the following script in the `assets/logos` folder to convert it into an svg:\n\n```bash\ncd assets/logos\n./convert_logo.sh\n```\n\nNote: The here used `pdf2svg` command might not be available. In this case we recommend a online converter like [PDF24 Tools](https://tools.pdf24.org/en/pdf-to-svg). There also is a [tool](https://github.com/FussballAndy/typst-img-to-local) to install images as local typst packages.\n\nAlso download the required fonts `Roboto` and `XCharter`:\n```bash\ncd assets/fonts\n./download_fonts.sh\n```\nOptionally you can install all fonts in the folders in `fonts` on your system. But you can also use Typst's `--font-path` option. Or install them in a folder and add the folder to `TYPST_FONT_PATHS` for a single font folder.\n\nNote: wget might not be available. In this case either download it or replace the command with something like `curl \u003curl\u003e -o \u003cfilename\u003e -L`\n\n\u003cdetails\u003e\n\u003csummary\u003eCreate a main.typ file for the manual template installation.\u003c/summary\u003e\nCreate a simple `main.typ` in the root folder (`my_thesis`) of your new project:\n\n```js\n#import \"templates/tuda-typst-templates/templates/tudapub/template/lib.typ\": *\n\n#show: tudapub.with(\n  title: [\n    My Thesis\n  ],\n  author: \"My Name\",\n  accentcolor: \"3d\"\n)\n\n= My First Chapter\nSome Text\n```\n\n\u003c/details\u003e\n\n### Compile you typst file\n\n```bash\ntypst watch main.typ --font-path assets/fonts/\n```\n\nThis will watch your file and recompile it to a pdf when the file is saved. For writing, you can use [Vscode](https://code.visualstudio.com/) with these extensions: [Tinymist Typst](https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist). Or use the [typst web app](https://typst.app/) (here you need to upload the logo and the fonts).\n\nNote that we add `--font-path` to ensure that the correct fonts are used.\nDue to a bug (typst/typst#2917 typst/typst#2098) typst sometimes uses the font `Roboto condensed` instead of `Roboto`.\nTo be on the safe side, double-check the embedded fonts in the pdf (there should be no `Roboto condensed`).\nWhat also works is to uninstall/deactivate all `Roboto condensed` fonts from your system.\n\n### Publishing on TUbama\nFor publishing your compiled document (e.g. thesis) on TUbama, the document has to comply with the pdf/A standard. \nTherefore, set the PDF standard for compiling for the final submission:\n```bash\ntypst compile main.typ --font-path assets/fonts/ --pdf-standard a-2b\n```\nIn case this should not yield a PDF which is accepted by TUbama, you can use a converter to convert from the Typst output to PDF/A, but check that there are no losses during the conversion. \n\n## Development\n\nCreate a symlink to more easily develop your package changes:\n```\nDEV_TEMPLATE=not-tudabeamer-2023\nDEV_VERSION=0.2.1\n\nmkdir -p ~/.cache/typst/packages/preview/$DEV_TEMPLATE\nrm -R ~/.cache/typst/packages/preview/$DEV_TEMPLATE/$DEV_VERSION\ncd templates/$DEV_TEMPLATE/\nln -s $PWD ~/.cache/typst/packages/preview/$DEV_TEMPLATE/$DEV_VERSION\n```\n\n## Todos\n- [todos of thesis template](templates/tudapub/TODO.md)\n\n## Dev Notes\n### Publish Locally\nFor creating a local package you need to use the `scripts/publish.py` script.\n```python\npython ./scripts/publish.py --local\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJeyRunner%2Ftuda-typst-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJeyRunner%2Ftuda-typst-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJeyRunner%2Ftuda-typst-templates/lists"}