mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-11 05:58:40 +00:00
fix: binom delimiter size in scriptscriptstyle. (#2976)
Co-authored-by: Erik Demaine <edemaine@mit.edu>
This commit is contained in:
@@ -152,6 +152,8 @@ const htmlBuilder = (group, options) => {
|
||||
let delimSize;
|
||||
if (style.size === Style.DISPLAY.size) {
|
||||
delimSize = options.fontMetrics().delim1;
|
||||
} else if (style.size === Style.SCRIPTSCRIPT.size) {
|
||||
delimSize = options.havingStyle(Style.SCRIPT).fontMetrics().delim2;
|
||||
} else {
|
||||
delimSize = options.fontMetrics().delim2;
|
||||
}
|
||||
|
Reference in New Issue
Block a user