-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tinyset:0.1.0 #1233
tinyset:0.1.0 #1233
Conversation
Hullo! I read the warning regarding kebab case but did not realize that this name would trigger it. I could update the name if that would better, but I don't think of the two words as separate, but rather as a hybrid name. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the warning, don't worry about it, kebab-case is not mandatory in any case, and here it makes sense to keep the capital letter.
set par(justify: true) | ||
} | ||
|
||
// custom shorthands, feel free to comment these out if they are in the way. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For information it is not possible for package users to edit the contents of a package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right! Thanks
#class \ | ||
#name - Homework #number | ||
] | ||
set par(justify: true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that will work as expected, since set
rules are scoped. This would only apply until the end of the current scope, which is on the next line. If you want to apply this rule to the whole document, the correct way to do it is to use a global show
rule. There is a tutorial on how to create one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes of course! Thanks for pointing that out, I will move the show rules into the individual components, just for ease of use of the library.
Thanks :) |
Thank you for being so friendly and welcoming to a beginner! I'm glad the the Typst foundation is in such good hands, this really made my day! |
I am submitting
Tinyset is a minimal and opinionated library that provides a handful of utility functions for writing pure math pros for homework / psets. It contains a prebuilt header along with several environments for proof / question / sub question etc. I also added some custom plain English shorthand for common math symbols such as implication.
I have read and followed the submission guidelines and, in particular, I
typst.toml
file with all required keysREADME.md
with documentation for my packageLICENSE
file or linked one in myREADME.md
exclude
d PDFs or README images, if any, but not the LICENSE