-
Notifications
You must be signed in to change notification settings - Fork 10
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
Allow printing long only #51
Comments
you can write this: #import "@preview/glossarium:0.4.1": *
#show: make-glossary
#let acrlong(ref) = {
gls(ref, long: true)
}
We define the #acrlong("gosp") as the tuple ...
#print-glossary(
(
(key: "gosp", short: "GOSP", long: "generic operation scheduling problem"),
)
)
Let me know if that works for you. |
Hey! Thanks for your reply, unfortunately, this doesn't work because this still inserts the "(GOSP)" at the end of the long command. In the glossaries package of LaTeX the "acrlong" command always displays the long version without the short and it doesn't change the "first appearance" flag. So, if you type this in LaTeX: \acrlong{gosp}
\gls{gosp} You would get:
This is the behavior I'm trying to recreate. |
I think I can fix it myself and make a PR with the change |
I believe you could use the |
Yes! That's exactly what I was looking for. I guess I'll have to wait 😊 |
So, I usually like to write the long form only of a term in figures and places before it's "officially" introduced in the main text. E.g.,
This should generate the text:
TLDR: Can we have something similar to the
\acrlong
command in LaTeX glossaries?The text was updated successfully, but these errors were encountered: