Fix argument font sizing in \fbox and \raisebox, fix font sizing in \TeX, \LaTeX, \KaTeX (#1787)
* Remove forced \normalsize in \raisebox Fix #1786 (incorrect size of "E" in `\TeX`) by fixing `\raisebox` to keep the current font size. Previously, `\raisebox` was rendering its second argument as if it were in `\normalsize\textrm{...}`; now, the argument is just as if it were in `\textrm{...}`. * Fix screenshots * New "hbox" argument type to convert box-like arguments * Review comments * Fix \fbox to use hbox argument * Render A in \LaTeX and \KaTeX in \scriptstyle (not \scriptsize) * Add screenshot test * Revert .sizing { width: min-content} thanks to #2044
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 9.4 KiB |