-
Notifications
You must be signed in to change notification settings - Fork 11
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
alignment #80
Comments
I wouldn't be able to guess what changed. Could you isolate your code for an example? It works on 0.5.0? |
IssueI myb had the same "issue". I didn't check between version, but I also had same weird styling when importing the package. My issue was user related. The styles that I had applied before were the cause of the bad alignment. The "Cause"I guess glossarium uses figures and captions under the hood to link and display the entries in the glossar. So your individual styling of figures and captions will take effect on the glossar. As I understand it, this functionality of leaving the styling to the user is intendet ( #60 ) Sadly I wasnt able to reproduce a isolated example in my given time. But I can present and explain my fix. Solution for my Issue[
#set figure(placement: none)
#show figure: set block(width: 100%)
#show figure.caption: c =>[
#align(left, [#c.body])
]
#heading([Glossar])
#glossarium.print-glossary(glossar-list)
]
#show figure.caption: c =>[
#align(left, [#c.body])
] |
If you are styling |
Dear RBW1999: Thanks for your explanations and the workaround / fix For me following workaround works so far: // FIX left alignment of glossary: @quachpas ... You could try this workaround solution for the "bug" by upgrading glossarium from 0.5.0 to 0.5.1 at the example given at: https://git-iit.fh-joanneum.at/oss/thesis-template |
Hello @internettechnik, the only reason why you would need the additional show rule is if you have another conflicting show rule. By default, it's left-aligned (for LTR languages) |
unfortunately, the alignment seems to be centered now (0.5.1) which differs from 0.5.0 and cannot be changed / set with set text align directive.
The text was updated successfully, but these errors were encountered: