We can use \fontdimenX to modify the font parameters, where X can be 1 to 22. But how to modify the extra font parameters such as default rule thickness? Which is listed in Appendix G in TeXBook, Page 447.
Asked
Active
Viewed 183 times
0
David Carlisle
- 757,742
Ben
- 103
1 Answers
3
The list is also
What do different \fontdimen<num> mean
The syntax is the same for all of them, just need to use the suitable font (\textfont2 or \textfont3). I give a plain TeX example below, in latex it is the same but the timing needs to be synchronsied with the latex font setup (for example every size change changes the font assigned to \textfont3)
so rule thickness would be
\fontdimen8 \textfont3 =5cm
$ a \over b$
\bye
As Barbara comments below, this fontdimen affects the space above and below the rule as well as the rule itself, which is mostly unfortunate and usually constrains the amount of variation it makes sense to have here.
David Carlisle
- 757,742

\fontdimen8isn't usable as a length it parses for a font first. so\fontdimen8 \textfont2is s8\fontdimen8 \textfont3is x8 – David Carlisle Jun 02 '16 at 19:23\textfont2and\textfont3should refer to different fonts, aren't they? – Ben Jun 03 '16 at 04:30