mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-07 04:08:43 +00:00
Adjust \underset alignment and spacing (#1290)
* Support Unicode \ll and \lll Fixes issue #1271 * Adjust \underset alignment and spacing Fixes issue #1288. 1. Fixes vertical alignment by keeping the base element on the baseline. 2. Assigns horizontal spacing to \underset in a manner that aligns with LaTeX `\binrel` * Fix flow error * Add comment * Allow for shift of mathops * Update screenshots * Test for nested ordgroups * Set \stackrel spacing class to mrel * Fix lint error * Better determination of atom type * Add comment. * Add `suppressBaseShift` to ParseNodeTypes
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 20 KiB |
Binary file not shown.
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 18 KiB |
@@ -218,7 +218,7 @@ OpLimits: |
|
||||
OverUnderline: x\underline{x}\underline{\underline{x}}\underline{x_{x_{x_x}}}\underline{x^{x^{x^x}}}\overline{x}\overline{x}\overline{x^{x^{x^x}}} \blue{\overline{\underline{x}}\underline{\overline{x}}}
|
||||
OverUnderset: |
|
||||
\begin{array}{l}
|
||||
x\overset?=1 \quad \underset{*}{x}^2 \\
|
||||
x\overset?=1 \quad \underset{*}{x}^2 \quad \overset{a}{b}b\underset{a}{b}b \\
|
||||
{\displaystyle\lim_{t\underset{>0}\to0}}\\
|
||||
a+b+c+d\overset{b+c=0}\longrightarrow a+d\\
|
||||
\overset { x = y } { \sqrt { a b } }
|
||||
|
Reference in New Issue
Block a user