I'm making a LaTeX document for someone. A certain piece of text looks "bold" for them, even though I'm not using the \textbf
command. It's just a normal default LaTeX font. Is there any command to make a 'lighter version', i.e. make the text lighter, thinner? Something that looks to normal text, what normal text looks to bold?
views:
281answers:
2I think this one is pretty clever :)
Johannes Schaub - litb
2010-03-25 15:52:24
Could you explain why this works? =)
Jens
2010-03-25 15:54:58
Default `cmr10` is a font of 10pt height. `cmr17` is a font of 17pt height. But it has a thickness of the lines the same as `cmr10`. When I write `at 10pt` I want the font scaled 10/17 times. Line thickness is reduced by 1.7 times.
Alexey Malistov
2010-03-25 16:05:35
@Johannes. Yes. But this trick is possible for other fonts. For example, russian LH'fonts. `\font\tenrm = larm1728 at 10pt`.
Alexey Malistov
2010-03-25 16:12:55
@Alexey i just want to note that you are refering to "Johannes Rössel" (who since removed his comment). Not that people confuse him with my comment above :)
Johannes Schaub - litb
2010-03-25 16:16:47
@Johannes Schaub, I answered to the other commenter (Johannes) but he had already deleted a comment. I was surprised to see your comment in the `tex`-tag. Earlier we'd seen only on the `c++`.
Alexey Malistov
2010-03-25 16:27:48
+2
A:
Note that \fontseries doesn't define what's available for any given font -- it accepts anything in the font definition files for the font family. the set is defined in the document fontname (ctan info/fontname), and definitely does contain light.
so the complaint is that fonts that the user has encountered either don't have light weights, or whoever wrote the .fd file didn't include it. that knuth's (metafont) fonts contain an extra-bold weight by default, but not anything light, is something to go away and think about.
Robin Fairbairns
2010-03-25 21:07:09
@Robin: Welcome to SO! It is interesting that the Computer Modern fonts don't include anything extra light. I have always found them fairly light to begin with...
Norman Ramsey
2010-03-25 22:17:45