#Using book weight of New Computer Modern for text.
51 messages · Page 1 of 1 (latest)
set text(weight: ..)
I believe that book weight is another version of font instead a weight?
Left: regular, Right: medium
They look the same, while bold is, well... too bold
semibold maybe?
It looks the same as bold
This is another file I wrote in latex, using book weight font
you can try just using a number, but it might be that our version isn't so granular with weights
how did you get the book weight on LaTeX?
Did you try picking the book font by name instead of relying on weight?
Do you have the font installed on your system? Because I don't think typst ships with the book weight
I don't have access to a computer rn, but there's a command to see which fonts typst has found
What is it? Let me try
typst fonts
As an aside, if you want a heavier font, the stix two fonts are great.
Seems it doesn't, make sense
You can include font directories with —font-path iirc?
If it's detected as just a weight of the font it wouldn't be listed there separately
Can typst fonts list all the weights as well @thin moon ?
I think "book" may be a style of the font, as fc-list says
But the style user can choose is hardcoded
Can I directly load the otf file, using, maybe absolute path?
But it’s a separate file here right?
@formal fiber
Yep
Sorry for the ping. You should be taking the weekend off!
Typst defaults to 450 for equations because New CM Book fits better with Linux Libertine.
show math.equation: set text(weight: 400) should select the normal weight
Don't worry
seems the math font has the weight, but not the text font
This also shows that typst does not find my system fonts
Are they actually system fonts, or installed with texlive?
Regardless, you can specify a path for fonts
Installed with texlive, but I do have the conf file at /etc/fonts/conf.d