Support {gather} and {gather*} (#2183)

* Support `gather` and `gather*`

* Add bogus screenshots

* Add correct screenshots

* Fix typo

* Update screenshots

* Improve error handling

* Scope styles inside .katex{}

* Revert console.log to console.error
This commit is contained in:
Ron Kok
2020-07-27 06:56:39 -07:00
committed by GitHub
parent 0f0e40d226
commit 80b0e3dc20
12 changed files with 153 additions and 17 deletions

View File

@@ -141,6 +141,9 @@ FractionTest: |
\xrightarrow[\dfrac g h]{\displaystyle\frac g h} \; \xrightarrow [2.\, \dfrac c d] {1.\, \displaystyle\frac c d}
\end{array}
Functions: \sin\cos\tan\ln\log
Gather:
tex: \begin{gather} a=\frac 1 2 \\ e=b+c \end{gather}
display: 1
Gathered: |
\begin{gathered}
x = \frac{1}{2} \\