mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-10 21:48:41 +00:00
* \@binrel command and refactor New `\@binrel{x}{y}` command renders `y` as if it's a bin/rel/ord like `x`. This is equivalent to AMSTeX's `\binrel@{x}\binrel@@{y}`. It will hopefully be useful for macros, such as `\pmb` (#1418). Also refactor the (already duplicated) code for implementing this functionality into buildCommon.binrelClass. * Add tests; fix flow error * Another test * Move binrelClass to functions/mclass.js * Remove expensive array destructuring polyfill