Skip to content

Commit

Permalink
fix(classes): Define \strong weight=700, not 600 (#1097)
Browse files Browse the repository at this point in the history
600 weight is traditionally Semibold, Bold is 700. Since relatively few
fonts have Semibold instances at all I think most people got what they
were expecting to get out of \strong — the Bold as the nearest rounded
up weight available. For fonts with actual Semibold faces this is just
wrong.
  • Loading branch information
alerque committed Oct 27, 2020
1 parent 32395ca commit 68abf91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/plain.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ plain.registerCommands = function ()
\define[command=justified]{\set[parameter=document.rskip]\set[parameter=document.spaceskip]{\process\par}}%
\define[command=rightalign]{\raggedleft{\process\par}}%
\define[command=em]{\font[style=Italic]{\process}}%
\define[command=strong]{\font[weight=600]{\process}}%
\define[command=strong]{\font[weight=700]{\process}}%
\define[command=nohyphenation]{\font[language=und]{\process}}%
\define[command=raggedright]{\ragged[right=true]{\process}}%
\define[command=raggedleft]{\ragged[left=true]{\process}}%
Expand Down

0 comments on commit 68abf91

Please sign in to comment.