392e8a8122889c7635138c8505398cc6a2d76486
Ensure an empty supplement results in glossy returning empty content, instead of an empty string. Done by returning #none if no article is wanted. When the value #none is returned for the article, this can neatly join with the other values without a trace. In particular, when `term` is empty content, this ensures that only #metadata remains, exactly like in the 'hidden' case. Effectively, now @term[] is identical to @term:hidden, because no empty string is inserted. This can be seen in the updated test case, where the spaces around the blank term are now collapsed to a single space by Typst, instead of keeping two spaces like before. A next commit will remove :hidden, since it's not orthogonal w.r.t. other modifiers, while using a supplement is.
typst-collection
A collection of typst templates and packages by swaits.
Everything in this collection is available for use at the typst
universe. For details on each, please visit the
links below to their main page.
Packages
- codly-languages: A set of language configurations for use with codly.
- easy-typography: Sets up sensible typography defaults.
- glossy: A very simple glossary system with easily customizable output.
- rfc-vibe: Bring RFC language into everyday docs.
- run-liners: Functions to create various run-in lists.
- swank-tex: Render those funky logos for TeX, LaTeX, and friends.
- tasteful-pairings: A carefully curated collection of font pairings focusing on readability and typographic harmony.
Templates
- finely-crafted-cv: A modern résumé/curriculum vitæ template with high attention to detail.
- pro-letter: A formal business letter template.
License
All content licensed under the MIT license.
Description
⚠️ MOVED - See individual packages below ⚠️
32 MiB
0 Stars
1 Watchers
0 Forks
Languages
Typst
96.3%
Shell
2%
Just
1.7%