725f657f490b820d513dd5eab78e9b1be86e1df0
Idea [from Discord conversation](https://discord.com/channels/1054443721975922748/1318670789150642246/1319338465757757562). Let's users more precisely control how short-form and long-form terms are used based on the mode ("short", "long", or "both"). Defaults to `__default-format-term()` as below: ```typst // Formats a term string based on the specified mode. // // Given mode, long-form, and short-form, this function returns the formatted // term based on the mode. When mode is ... // // - "short" -> returns "short-form" // - "long" -> returns "long-form" // - "both" -> returns "short-form (long-form)" // // Parameters: // mode (string): The mode in which to format the term. Possible values are "short", "long", or "both". // short-form (string): The short form of the term. // long-form (string): The long form of the term. // // Returns: // string: The formatted term based on the specified mode. // #let __default-format-term(mode, short-form, long-form) = { if mode == "short" { short-form } else if mode == "long" { long-form } else { // mode assumed to be "both" long-form + " (" + short-form + ")" } } ```
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.
- glossy: A very simple glossary system with easily customizable output.
- rfc-vibe: Bring RFC language into everyday docs.
- swank-tex: Render those funky logos for TeX, LaTeX, and friends.
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%