Skip to content
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

font-variant="small-caps" not supported for <name> #175

Open
sonovice opened this issue May 27, 2024 · 1 comment · May be fixed by #287
Open

font-variant="small-caps" not supported for <name> #175

sonovice opened this issue May 27, 2024 · 1 comment · May be fixed by #287
Labels
bug Something isn't working

Comments

@sonovice
Copy link

Hi folks,

I want to make a minor adjustment to the IEEE CSL definition, basically just having all author names in small caps. However, if I use small-caps as the @font-variant of the <name> element itself, Typst does not render it correctly, it gets ignored.
When I move it up in the hierarchy to <names> it works, but will also show non-name words like "and" in small caps which I don't want.

Here is a screenshot showing that small-caps is ignored (see line 115):
image

@laurmaedje laurmaedje added the bug Something isn't working label May 27, 2024
@sonovice
Copy link
Author

sonovice commented Mar 5, 2025

Sorry for reviving this issue. I would like to tacke this issue since the scope seems doable even without proper Rust experience. Any pointer at where to look at would be helpful, though. 😊

EDIT: Never mind, found it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants