Files
KaTeX/test/screenshotter/images/MathChoice-chrome.png
Hiromi Ishii 6f1661f7da Implements \mathchoice command (#969)
This PR implements `\mathchoice` function.
I once created PR on the wrong branch. Sorry for the mess.

This is particularly useful when one defines custom macro for "big operators".
For example:

```latex
\newcommand{\infdisj}{%
  \mathop{%
    \mathchoice{% display
      \bigvee\hspace{-2ex}\bigvee%
    }{          % inline
      \bigvee\hspace{-1.75ex}\bigvee%
    }{          % script
      \bigvee\hspace{-1.4ex}\bigvee%
    }{          % scriptscript
      \bigvee\hspace{-1ex}\bigvee%
}}}
```
2017-11-22 07:34:05 -05:00

7.0 KiB
1024x768px

/patrick/KaTeX/raw/commit/4801ab875a3f8406149002c5e8b8717d177fd373/test/screenshotter/images/MathChoice-chrome.png