Files
KaTeX/test/screenshotter/images
Erik Demaine 4801ab875a Support for top-level \newline and \\ in inline math (#1298)
* Support for top-level \newline and \\ in inline math

This was a little tricky because `\\` was defined as an endOfExpression.
Instead made `\\` a termination specific to an array environment.
Outside an array environment, buildHTML handles the `cr` object,
resulting in a `.newline` class.  Currently this turns into a
`display: block` (with appropriate vertical spacing) only in inline math,
matching LaTeX.

* Simplify code

* Fix Jest errors

* NewLine screenshot test

* Bug fix: \\ only works at top level of inline

* Add \newline and \cr to test

* Switch test to pmatrix

* Add vertical space test

* Add \\ vs. \newline tests

* Fix flow errors

* Add \cr test

* Add documentation for \\ at top level

* Comment out newRow

* Fix commenting out
2018-05-13 09:58:24 -04:00
..
2017-12-17 22:05:21 -07:00
2017-10-17 15:11:18 -04:00
2017-10-17 15:11:18 -04:00
2018-05-12 13:51:14 -04:00
2018-05-12 13:51:14 -04:00
2017-05-12 09:28:49 -04:00
2017-01-19 19:50:16 +01:00
2017-12-28 23:32:45 -07:00
2017-12-28 23:32:45 -07:00