Skip to content

Conversation

mward19
Copy link
Contributor

@mward19 mward19 commented Aug 29, 2025

I am submitting

  • a new package
  • an update for a package

Description: Puts real hats on symbols in math mode. Why settle for the lifeless, old-fashioned circumflex when your variables could sport berets, sombreros, top hats, and more? Essentially a clone of realhats for LaTeX, which is great for April Fool's day quantum mechanics homework, according to my wife.

I have read and followed the submission guidelines and, in particular, I

  • selected a name that isn't the most obvious or canonical name for what the package does
  • added a typst.toml file with all required keys
  • added a README.md with documentation for my package
  • have chosen a license and added a LICENSE file or linked one in my README.md
  • tested my package locally on my system and it worked
  • excluded PDFs or README images, if any, but not the LICENSE

@typst-package-check typst-package-check bot changed the title Realhats:0.1.0 realhats:0.1.0 Aug 29, 2025
@typst-package-check typst-package-check bot added the new A new package submission. label Aug 29, 2025
@elegaanz elegaanz self-assigned this Aug 29, 2025
@elegaanz
Copy link
Member

Very happy to see that package! 😄 Can you please add a LICENSE file, and specify the license of images if it differs from the code license (in your README for example).

@mward19
Copy link
Contributor Author

mward19 commented Aug 29, 2025

Very happy to see that package! 😄 Can you please add a LICENSE file, and specify the license of images if it differs from the code license (in your README for example).

Sorry about that, looks like I had forgotten to copy over the MIT license! I've added that, as well as image licenses in the README.

Copy link
Member

@elegaanz elegaanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small other things I just noticed.


## Using realhats

[Install](https://github.com/typst/packages?tab=readme-ov-file#local-packages) realhats into your local package directory under version 0.1.0.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be the recommend way of installing the package. Can you add a sentence above showing how to import via the @preview namespace, and present the @local installation as an alternative?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless you delete this file? It doesn't seem to be used anywhere and it would be easy to reproduce it by compiling the Typst file.

@mward19
Copy link
Contributor Author

mward19 commented Sep 1, 2025

Great points. I removed the local installation bit too if that's alright, since I don't think it's necessary once the package is online. Thanks for your help!

@elegaanz
Copy link
Member

elegaanz commented Sep 2, 2025

Yes, no problem. Thank you

@elegaanz elegaanz merged commit 3ca2051 into typst:main Sep 2, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new A new package submission.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants