We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f08013 commit 852c8f1Copy full SHA for 852c8f1
1 file changed
ts/input/tex/base/BaseMethods.ts
@@ -1965,12 +1965,8 @@ const BaseMethods: { [key: string]: ParseMethod } = {
1965
// @test Subarray, Small Matrix
1966
array.arraydef['displaystyle'] = false;
1967
}
1968
- if (style === 'S') {
1969
- // @test Subarray, Small Matrix
1970
- array.arraydef['scriptlevel'] = 1;
1971
- } else {
1972
- array.arraydef['scriptlevel'] = 0;
1973
- }
+ // @test Subarray, Small Matrix
+ array.arraydef['scriptlevel'] = style === 'S' ? 1 : 0;
1974
if (raggedHeight) {
1975
1976
array.arraydef['useHeight'] = false;
0 commit comments