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 · 0 comments
Open

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

sonovice opened this issue May 27, 2024 · 0 comments
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
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

No branches or pull requests

2 participants