Replace Khan/KaTeX with KaTeX/KaTeX (#1781)

* Replace Khan/KaTeX with KaTeX/KaTeX

* Remove RawGit links

* Remove old files
This commit is contained in:
ylemkimon
2018-11-20 11:24:33 +09:00
committed by Kevin Barabash
parent f4e24183d6
commit 112582daa5
34 changed files with 398 additions and 245 deletions

View File

@@ -1,5 +0,0 @@
{
"project_id": "KaTeX",
"conduit_uri": "https://phabricator.khanacademy.org/",
"lint.engine": "ArcanistConfigurationDrivenLintEngine"
}

View File

@@ -1,9 +0,0 @@
{
"linters": {
"katex-linter": {
"type": "script-and-regex",
"script-and-regex.script": "yarn test:lint || true",
"script-and-regex.regex": "/^(?P<file>\\S+): line (?P<line>\\d+), col \\d+, (?P<message>.*)$/m"
}
}
}

View File

@@ -85,7 +85,7 @@ jobs:
- run: - run:
name: Check whether the build is running on the main repository name: Check whether the build is running on the main repository
command: | command: |
if [[ $CIRCLE_PULL_REQUEST && $CIRCLE_PROJECT_USERNAME != "Khan" ]]; then if [[ $CIRCLE_PULL_REQUEST && $CIRCLE_PROJECT_USERNAME != "KaTeX" ]]; then
echo "Please disable CircleCI on your forked repository!" echo "Please disable CircleCI on your forked repository!"
exit 1 exit 1
fi fi

View File

@@ -132,161 +132,161 @@ All notable changes to this project will be documented in this file. This CHANGE
## [v0.9.0] - 2018-02-18 ## [v0.9.0] - 2018-02-18
### Added ### Added
- Italic Greek capital letters [#1118](https://github.com/Khan/KaTeX/pull/1103) - Italic Greek capital letters [#1118](https://github.com/KaTeX/KaTeX/pull/1103)
- Added support for `\mathring` [#1125](https://github.com/Khan/KaTeX/pull/1125) - Added support for `\mathring` [#1125](https://github.com/KaTeX/KaTeX/pull/1125)
- Added support for unicode angle brackets, single vertical bar, double vertical bar [#1123](https://github.com/Khan/KaTeX/pull/1123) - Added support for unicode angle brackets, single vertical bar, double vertical bar [#1123](https://github.com/KaTeX/KaTeX/pull/1123)
- Added support for Reaction Arrows [#1078](https://github.com/Khan/KaTeX/pull/1078) - Added support for Reaction Arrows [#1078](https://github.com/KaTeX/KaTeX/pull/1078)
- Added `\nobreakspace` [#1145](https://github.com/Khan/KaTeX/pull/1145) - Added `\nobreakspace` [#1145](https://github.com/KaTeX/KaTeX/pull/1145)
- Added support for Unicode colon equals ≔ [#1151](https://github.com/Khan/KaTeX/pull/1151) - Added support for Unicode colon equals ≔ [#1151](https://github.com/KaTeX/KaTeX/pull/1151)
- Added support for `\underline` in text mode [#1159](https://github.com/Khan/KaTeX/pull/1159) - Added support for `\underline` in text mode [#1159](https://github.com/KaTeX/KaTeX/pull/1159)
### Changed ### Changed
- Enable spacing functions in text mode [#1139](https://github.com/Khan/KaTeX/pull/1139) - Enable spacing functions in text mode [#1139](https://github.com/KaTeX/KaTeX/pull/1139)
### Fixed ### Fixed
- Improved JS spacing [#1103](https://github.com/Khan/KaTeX/pull/1103) - Improved JS spacing [#1103](https://github.com/KaTeX/KaTeX/pull/1103)
- Fixed handling of Unicode characters ð, Å, å [#1157](https://github.com/Khan/KaTeX/pull/1157) - Fixed handling of Unicode characters ð, Å, å [#1157](https://github.com/KaTeX/KaTeX/pull/1157)
- Padding over `\sqrt` and Paths for frac-line [#1143](https://github.com/Khan/KaTeX/pull/1143) - Padding over `\sqrt` and Paths for frac-line [#1143](https://github.com/KaTeX/KaTeX/pull/1143)
## [v0.9.0-beta1] - 2018-01-28 ## [v0.9.0-beta1] - 2018-01-28
### Added ### Added
- Added support for `\aa`, `\AA`, `\lq`, `\rq`, `\lbrack`, `\rbrack` [#1069](https://github.com/Khan/KaTeX/pull/1069) - Added support for `\aa`, `\AA`, `\lq`, `\rq`, `\lbrack`, `\rbrack` [#1069](https://github.com/KaTeX/KaTeX/pull/1069)
- Added support for more scripts in `\text{}` environments such as Czech, Georgian, Hungarian, Turkish. [#1076](https://github.com/Khan/KaTeX/pull/1076) - Added support for more scripts in `\text{}` environments such as Czech, Georgian, Hungarian, Turkish. [#1076](https://github.com/KaTeX/KaTeX/pull/1076)
- add Main-BoldItalic font to allow nesting of `\textit` and `\textbf` - add Main-BoldItalic font to allow nesting of `\textit` and `\textbf`
- Added `\S` and `\P` [#1110](https://github.com/Khan/KaTeX/pull/1110) - Added `\S` and `\P` [#1110](https://github.com/KaTeX/KaTeX/pull/1110)
### Changed ### Changed
- Remove symlink to support devs using Windows [#1090](https://github.com/Khan/KaTeX/pull/1090) - Remove symlink to support devs using Windows [#1090](https://github.com/KaTeX/KaTeX/pull/1090)
### Fixed ### Fixed
- Do not inherit SVG style properties from the environment. [#1089](https://github.com/Khan/KaTeX/pull/1089) - Do not inherit SVG style properties from the environment. [#1089](https://github.com/KaTeX/KaTeX/pull/1089)
- Update fonts and metrics so that accents are positioned correctly [#1094](https://github.com/Khan/KaTeX/pull/1094) - Update fonts and metrics so that accents are positioned correctly [#1094](https://github.com/KaTeX/KaTeX/pull/1094)
- Non-portable use of String method `.includes`. Fixed [#1093](https://github.com/Khan/KaTeX/issues/1093) - Non-portable use of String method `.includes`. Fixed [#1093](https://github.com/KaTeX/KaTeX/issues/1093)
- Use correct spacing with tight styles. See [#1106](https://github.com/Khan/KaTeX/pull/1106) for more details. - Use correct spacing with tight styles. See [#1106](https://github.com/KaTeX/KaTeX/pull/1106) for more details.
## [v0.9.0-beta] - 2018-01-14 ## [v0.9.0-beta] - 2018-01-14
### Added ### Added
- `\kern` fixed and support `\hskip`, `\TeX`, `\LaTeX`, `\KaTeX`. See [#974](https://github.com/Khan/KaTeX/pull/974) - `\kern` fixed and support `\hskip`, `\TeX`, `\LaTeX`, `\KaTeX`. See [#974](https://github.com/KaTeX/KaTeX/pull/974)
- Supported Unicode middle dot and Unicode accents. - Supported Unicode middle dot and Unicode accents.
- Added basic support for Indic scripts in addition to CJK. [#1060](https://github.com/Khan/KaTeX/pull/1060) - Added basic support for Indic scripts in addition to CJK. [#1060](https://github.com/KaTeX/KaTeX/pull/1060)
- Added support for bold italic symbols. [#1011](https://github.com/Khan/KaTeX/pull/1011) - Added support for bold italic symbols. [#1011](https://github.com/KaTeX/KaTeX/pull/1011)
- add `\ae`, `\AE`, `\oe`, `\OE`, `\o`, `\O`, `\ss` with unicode support for those characters in text mode. [#1030](https://github.com/Khan/KaTeX/pull/1030) - add `\ae`, `\AE`, `\oe`, `\OE`, `\o`, `\O`, `\ss` with unicode support for those characters in text mode. [#1030](https://github.com/KaTeX/KaTeX/pull/1030)
- Added `\i` and `\j` for text mode. [#1029](https://github.com/Khan/KaTeX/pull/1029) - Added `\i` and `\j` for text mode. [#1029](https://github.com/KaTeX/KaTeX/pull/1029)
- Added `buildHTMLTree`. [#1022](https://github.com/Khan/KaTeX/pull/1022) - Added `buildHTMLTree`. [#1022](https://github.com/KaTeX/KaTeX/pull/1022)
- Implemented `\TextOrMath`, @secondoftwo. [#1024](https://github.com/Khan/KaTeX/pull/1024) - Implemented `\TextOrMath`, @secondoftwo. [#1024](https://github.com/KaTeX/KaTeX/pull/1024)
- Added a 'common issues' section to the `README.md`. [#1034](https://github.com/Khan/KaTeX/pull/1034) - Added a 'common issues' section to the `README.md`. [#1034](https://github.com/KaTeX/KaTeX/pull/1034)
### Changed ### Changed
- Made a more working example in README.md. Fixed [#1049](https://github.com/Khan/KaTeX/issues/1049) PR is [#1050](https://github.com/Khan/KaTeX/pull/1050) - Made a more working example in README.md. Fixed [#1049](https://github.com/KaTeX/KaTeX/issues/1049) PR is [#1050](https://github.com/KaTeX/KaTeX/pull/1050)
- Exposing the build tree. [#1017](https://github.com/Khan/KaTeX/pull/1017) - Exposing the build tree. [#1017](https://github.com/KaTeX/KaTeX/pull/1017)
- Changed `\xLongequal` to `\xlongequal`. [#997](https://github.com/Khan/KaTeX/pull/997) - Changed `\xLongequal` to `\xlongequal`. [#997](https://github.com/KaTeX/KaTeX/pull/997)
### Fixed ### Fixed
- Avoid negative space in `\bmod`. [#984](https://github.com/Khan/KaTeX/pull/984) - Avoid negative space in `\bmod`. [#984](https://github.com/KaTeX/KaTeX/pull/984)
- Stacking text commands. [#1009](https://github.com/Khan/KaTeX/pull/1009) - Stacking text commands. [#1009](https://github.com/KaTeX/KaTeX/pull/1009)
- Fixed `\vec` by replacing the combining font glyph with an SVG. [#1018](https://github.com/Khan/KaTeX/pull/1018) - Fixed `\vec` by replacing the combining font glyph with an SVG. [#1018](https://github.com/KaTeX/KaTeX/pull/1018)
- Made accents zero width. [#1033](https://github.com/Khan/KaTeX/pull/1033) - Made accents zero width. [#1033](https://github.com/KaTeX/KaTeX/pull/1033)
- Fixed frac-line. [#1025](https://github.com/Khan/KaTeX/pull/1025) - Fixed frac-line. [#1025](https://github.com/KaTeX/KaTeX/pull/1025)
- Implemented correct macros for `liminf` and `limsup`. Fixed [#111](https://github.com/Khan/KaTeX/issues/111) - Implemented correct macros for `liminf` and `limsup`. Fixed [#111](https://github.com/KaTeX/KaTeX/issues/111)
- `\kern` generates right-margin instead of left-margin. Fixed [#995](https://github.com/Khan/KaTeX/issues/995) - `\kern` generates right-margin instead of left-margin. Fixed [#995](https://github.com/KaTeX/KaTeX/issues/995)
## [v0.9.0-alpha2] - 2017-11-26 ## [v0.9.0-alpha2] - 2017-11-26
### Added ### Added
- Added Unicode Relations and Unicode Symbol support. Supports Unicode ∴, ∵, `\mid`, Arrows, Big Operators, Binary Operators, Negated Relations. - Added Unicode Relations and Unicode Symbol support. Supports Unicode ∴, ∵, `\mid`, Arrows, Big Operators, Binary Operators, Negated Relations.
- Implemented the `alignedat` environment for flexible math spacing. [#930](https://github.com/Khan/KaTeX/pull/930) - Implemented the `alignedat` environment for flexible math spacing. [#930](https://github.com/KaTeX/KaTeX/pull/930)
- Implemented `\mathchoice` command. [#969](https://github.com/Khan/KaTeX/pull/969) - Implemented `\mathchoice` command. [#969](https://github.com/KaTeX/KaTeX/pull/969)
- Implemented `\href` command. [#923](https://github.com/Khan/KaTeX/pull/923) - Implemented `\href` command. [#923](https://github.com/KaTeX/KaTeX/pull/923)
- `\hspace*`, `\@ifstar`, `\@ifnextchar`, `\@firstoftwo` (#975) - `\hspace*`, `\@ifstar`, `\@ifnextchar`, `\@firstoftwo` (#975)
- Added `\notni` character `∌`. [#710](https://github.com/Khan/KaTeX/pull/710) - Added `\notni` character `∌`. [#710](https://github.com/KaTeX/KaTeX/pull/710)
- Added ng-katex link to README.md. [#959](https://github.com/Khan/KaTeX/pull/959) - Added ng-katex link to README.md. [#959](https://github.com/KaTeX/KaTeX/pull/959)
### Changed ### Changed
- Single-character macros like active characters. [#973](https://github.com/Khan/KaTeX/pull/973) - Single-character macros like active characters. [#973](https://github.com/KaTeX/KaTeX/pull/973)
- Re `@flow`: - Re `@flow`:
- Port buildTree, katex, mathMLTree, parseTree, stretchy to @flow. - Port buildTree, katex, mathMLTree, parseTree, stretchy to @flow.
### Fixed ### Fixed
- Fixed the spacing between columns in the {aligned} environment. [#942](https://github.com/Khan/KaTeX/pull/942) - Fixed the spacing between columns in the {aligned} environment. [#942](https://github.com/KaTeX/KaTeX/pull/942)
- Fixed issue where the {aligned} environment skips the last line if the first column is empty. [#949](https://github.com/Khan/KaTeX/pull/949) - Fixed issue where the {aligned} environment skips the last line if the first column is empty. [#949](https://github.com/KaTeX/KaTeX/pull/949)
- Appended `ApplyFunction` to math functions in MathML. [#960](https://github.com/Khan/KaTeX/pull/960) - Appended `ApplyFunction` to math functions in MathML. [#960](https://github.com/KaTeX/KaTeX/pull/960)
- Changed `\undertilde` to `\utilde`. [#948](https://github.com/Khan/KaTeX/pull/948) - Changed `\undertilde` to `\utilde`. [#948](https://github.com/KaTeX/KaTeX/pull/948)
- Changed `frac-line` from border to full span. [#976](https://github.com/Khan/KaTeX/pull/976) - Changed `frac-line` from border to full span. [#976](https://github.com/KaTeX/KaTeX/pull/976)
## [v0.9.0-alpha1] - 2017-10-15 ## [v0.9.0-alpha1] - 2017-10-15
### Changed ### Changed
- Edited link to Function Support page. [#922](https://github.com/Khan/KaTeX/pull/922) - Edited link to Function Support page. [#922](https://github.com/KaTeX/KaTeX/pull/922)
- Re `@flow`: - Re `@flow`:
- Exported svgGeometry to @flow. [#936](https://github.com/Khan/KaTeX/pull/936) - Exported svgGeometry to @flow. [#936](https://github.com/KaTeX/KaTeX/pull/936)
- Ported utils to @flow. [#935](https://github.com/Khan/KaTeX/pull/935) - Ported utils to @flow. [#935](https://github.com/KaTeX/KaTeX/pull/935)
### Fixed ### Fixed
- Fixed space handling. [#912](https://github.com/Khan/KaTeX/pull/912) - Fixed space handling. [#912](https://github.com/KaTeX/KaTeX/pull/912)
- Prevents disappearing fraction lines. [#931](https://github.com/Khan/KaTeX/pull/931) - Prevents disappearing fraction lines. [#931](https://github.com/KaTeX/KaTeX/pull/931)
## [v0.9.0-alpha] - 2017-10-05 ## [v0.9.0-alpha] - 2017-10-05
### Added ### Added
- Added MathJax compatibility script. [#680](https://github.com/Khan/KaTeX/pull/680) - Added MathJax compatibility script. [#680](https://github.com/KaTeX/KaTeX/pull/680)
- Added a maxSize option to limit user-specified sizes. [#803](https://github.com/Khan/KaTeX/pull/803) - Added a maxSize option to limit user-specified sizes. [#803](https://github.com/KaTeX/KaTeX/pull/803)
- Added `\smash`, laps, spaces, and phantoms. [#833](https://github.com/Khan/KaTeX/pull/833) - Added `\smash`, laps, spaces, and phantoms. [#833](https://github.com/KaTeX/KaTeX/pull/833)
- Support for `\raisebox`, `\operatorname`, `\And`, `\colorbox`, `\fcolorbox` and `\verb`. - Support for `\raisebox`, `\operatorname`, `\And`, `\colorbox`, `\fcolorbox` and `\verb`.
- Added support for comments. Fixed [#20](https://github.com/Khan/KaTeX/issues/20) - Added support for comments. Fixed [#20](https://github.com/KaTeX/KaTeX/issues/20)
- To `@flow`: - To `@flow`:
- fontMetrics, fontMetricsData, Token, Lexer, MacroExpander, Options, ParseError, ParseNode, Settings, Style. - fontMetrics, fontMetricsData, Token, Lexer, MacroExpander, Options, ParseError, ParseNode, Settings, Style.
### Removed ### Removed
- Removed the positions array computed by Parser's parseArguments(). [#864](https://github.com/Khan/KaTeX/pull/864) - Removed the positions array computed by Parser's parseArguments(). [#864](https://github.com/KaTeX/KaTeX/pull/864)
### Changed ### Changed
- Advanced macro support and magic `\dots`. [#794](https://github.com/Khan/KaTeX/pull/794) - Advanced macro support and magic `\dots`. [#794](https://github.com/KaTeX/KaTeX/pull/794)
- Allow sizing commands inside optional groups. [#885](https://github.com/Khan/KaTeX/pull/885) - Allow sizing commands inside optional groups. [#885](https://github.com/KaTeX/KaTeX/pull/885)
- Upgraded `\sqrt` zoom and width. [#890](https://github.com/Khan/KaTeX/pull/890) - Upgraded `\sqrt` zoom and width. [#890](https://github.com/KaTeX/KaTeX/pull/890)
- Refactored defineEnvironment to also accept HTML and MathML builders. [#875](https://github.com/Khan/KaTeX/pull/875) - Refactored defineEnvironment to also accept HTML and MathML builders. [#875](https://github.com/KaTeX/KaTeX/pull/875)
- For `@flow`: - For `@flow`:
- Ported environments.js, functions.js, symbol.js, unit.js. - Ported environments.js, functions.js, symbol.js, unit.js.
- Separated mandatory and optional arguments in parseArguments. [#903](https://github.com/Khan/KaTeX/pull/903) - Separated mandatory and optional arguments in parseArguments. [#903](https://github.com/KaTeX/KaTeX/pull/903)
### Breaking Changes ### Breaking Changes
- Require [text]color HTML colors to be well-formed. See [#827](https://github.com/Khan/KaTeX/pull/827) - Require [text]color HTML colors to be well-formed. See [#827](https://github.com/KaTeX/KaTeX/pull/827)
- `\llap` and `\rlap` now render contents in math mode. Use `\mathllap` (new) and `\mathrlap` (new) if you need the previous behavior. - `\llap` and `\rlap` now render contents in math mode. Use `\mathllap` (new) and `\mathrlap` (new) if you need the previous behavior.
### Fixed ### Fixed
- Fixed exponential behavior in accent production. [#834](https://github.com/Khan/KaTeX/pull/834) - Fixed exponential behavior in accent production. [#834](https://github.com/KaTeX/KaTeX/pull/834)
- Use mpadded for `\raisebox` MathML. [#876](https://github.com/Khan/KaTeX/pull/876) - Use mpadded for `\raisebox` MathML. [#876](https://github.com/KaTeX/KaTeX/pull/876)
- Array/Matrix environments do not trim newlines. Fixed [#337](https://github.com/Khan/KaTeX/issues/337). PR is [#479](https://github.com/Khan/KaTeX/pull/479). - Array/Matrix environments do not trim newlines. Fixed [#337](https://github.com/KaTeX/KaTeX/issues/337). PR is [#479](https://github.com/KaTeX/KaTeX/pull/479).
- For `@flow`: - For `@flow`:
- Corrected @flow types. Refactor some Parser code for stricter typing. [#896](https://github.com/Khan/KaTeX/pull/896) - Corrected @flow types. Refactor some Parser code for stricter typing. [#896](https://github.com/KaTeX/KaTeX/pull/896)
- Fixed match-at flow errors. [#847](https://github.com/Khan/KaTeX/pull/847) - Fixed match-at flow errors. [#847](https://github.com/KaTeX/KaTeX/pull/847)
## [v0.8.3] - 2017-08-27 ## [v0.8.3] - 2017-08-27
### Added ### Added
- Added latin-1 letters as math symbols. See [#796](https://github.com/Khan/KaTeX/pull/796) - Added latin-1 letters as math symbols. See [#796](https://github.com/KaTeX/KaTeX/pull/796)
- Added support for `\not`. [#140](https://github.com/Khan/KaTeX/pull/140) - Added support for `\not`. [#140](https://github.com/KaTeX/KaTeX/pull/140)
### Changed ### Changed
- Support CJK full-width punctuation + Unicode dots. See [#814](https://github.com/Khan/KaTeX/pull/814) - Support CJK full-width punctuation + Unicode dots. See [#814](https://github.com/KaTeX/KaTeX/pull/814)
- Support for ```' \` ^ ~ = \u . " \r \H \v``` text-mode accents. See [#802](https://github.com/Khan/KaTeX/pull/802) - Support for ```' \` ^ ~ = \u . " \r \H \v``` text-mode accents. See [#802](https://github.com/KaTeX/KaTeX/pull/802)
- Modernized font creation. See [#624](https://github.com/Khan/KaTeX/pull/624) - Modernized font creation. See [#624](https://github.com/KaTeX/KaTeX/pull/624)
### Fixed ### Fixed
- Use inline SVG for stretchy elements. [#807](https://github.com/Khan/KaTeX/pull/807) - Use inline SVG for stretchy elements. [#807](https://github.com/KaTeX/KaTeX/pull/807)
- Improve `\sqrt`. [#810](https://github.com/Khan/KaTeX/issues/810) - Improve `\sqrt`. [#810](https://github.com/KaTeX/KaTeX/issues/810)
## [v0.8.2] - 2017-08-17 ## [v0.8.2] - 2017-08-17
### Added ### Added
- Accepts all existing Greek letters using unicode characters in math mode. See [#410](https://github.com/Khan/KaTeX/pull/410) - Accepts all existing Greek letters using unicode characters in math mode. See [#410](https://github.com/KaTeX/KaTeX/pull/410)
### Fixed ### Fixed
- Fixed MathML output for ' and large operators with limits. [#788](https://github.com/Khan/KaTeX/pull/788) - Fixed MathML output for ' and large operators with limits. [#788](https://github.com/KaTeX/KaTeX/pull/788)
- Updated package.json to point 'main' at dist/katex.js. [#791](https://github.com/Khan/KaTeX/pull/791) - Updated package.json to point 'main' at dist/katex.js. [#791](https://github.com/KaTeX/KaTeX/pull/791)
- Fixed color support for stretchy, strikethrough, and fbox. [#792](https://github.com/Khan/KaTeX/pull/792) - Fixed color support for stretchy, strikethrough, and fbox. [#792](https://github.com/KaTeX/KaTeX/pull/792)
- Detect attachEvent() support correctly. See [#771](https://github.com/Khan/KaTeX/issues/771) and [#772](https://github.com/Khan/KaTeX/pull/772) for the issue and PR fix respectively. - Detect attachEvent() support correctly. See [#771](https://github.com/KaTeX/KaTeX/issues/771) and [#772](https://github.com/KaTeX/KaTeX/pull/772) for the issue and PR fix respectively.
## [v0.8.1] - 2017-08-11 ## [v0.8.1] - 2017-08-11
### Fixed ### Fixed
@@ -296,47 +296,47 @@ All notable changes to this project will be documented in this file. This CHANGE
## [v0.8.0] - 2017-08-11 ## [v0.8.0] - 2017-08-11
### Added ### Added
- Added some international operators. See [#509](https://github.com/Khan/KaTeX/issues/509) - Added some international operators. See [#509](https://github.com/KaTeX/KaTeX/issues/509)
- Old font command support: `\rm`, `\sf`, `\tt`, `\bf`, `\it`. [#675](https://github.com/Khan/KaTeX/pull/675) - Old font command support: `\rm`, `\sf`, `\tt`, `\bf`, `\it`. [#675](https://github.com/KaTeX/KaTeX/pull/675)
- Builtin macros, macro arguments, `\overset` and `\underset`. [#605](https://github.com/Khan/KaTeX/pull/605) - Builtin macros, macro arguments, `\overset` and `\underset`. [#605](https://github.com/KaTeX/KaTeX/pull/605)
- Added `\iff`, `\implies`, `\impliedby` support. [#697](https://github.com/Khan/KaTeX/pull/697) - Added `\iff`, `\implies`, `\impliedby` support. [#697](https://github.com/KaTeX/KaTeX/pull/697)
- Support <, >, | and many `\text`... commands in text mode. [#684](https://github.com/Khan/KaTeX/pull/684) - Support <, >, | and many `\text`... commands in text mode. [#684](https://github.com/KaTeX/KaTeX/pull/684)
- Implemented $...$ via styling node. [#637](https://github.com/Khan/KaTeX/pull/637) - Implemented $...$ via styling node. [#637](https://github.com/KaTeX/KaTeX/pull/637)
- Added `\jot` lineskip to aligned environment, switch contents to displaystyle, and add gathered. [#725](https://github.com/Khan/KaTeX/pull/725) - Added `\jot` lineskip to aligned environment, switch contents to displaystyle, and add gathered. [#725](https://github.com/KaTeX/KaTeX/pull/725)
- Support stretchy wide elements. [#670](https://github.com/Khan/KaTeX/pull/670) - Support stretchy wide elements. [#670](https://github.com/KaTeX/KaTeX/pull/670)
- Set maxFontSize on rules. [#744](https://github.com/Khan/KaTeX/pull/744) - Set maxFontSize on rules. [#744](https://github.com/KaTeX/KaTeX/pull/744)
### Changes ### Changes
- Added support for Windows high-contrast mode. Fixed [#716](https://github.com/Khan/KaTeX/issues/716) [#724](https://github.com/Khan/KaTeX/pull/724) - Added support for Windows high-contrast mode. Fixed [#716](https://github.com/KaTeX/KaTeX/issues/716) [#724](https://github.com/KaTeX/KaTeX/pull/724)
-Implemented `\coloneqq`, `\colonequals`, etc. based on mathtools and colonequals. [#727](https://github.com/Khan/KaTeX/pull/727) -Implemented `\coloneqq`, `\colonequals`, etc. based on mathtools and colonequals. [#727](https://github.com/KaTeX/KaTeX/pull/727)
- Added configurable error callback. [#658](https://github.com/Khan/KaTeX/pull/658) - Added configurable error callback. [#658](https://github.com/KaTeX/KaTeX/pull/658)
- Added support for absolute TeX units. [#732](https://github.com/Khan/KaTeX/pull/732) - Added support for absolute TeX units. [#732](https://github.com/KaTeX/KaTeX/pull/732)
- Revert "Remove trailing commas for IE 9 compatibility". [#622](https://github.com/Khan/KaTeX/pull/622) - Revert "Remove trailing commas for IE 9 compatibility". [#622](https://github.com/KaTeX/KaTeX/pull/622)
- Use utils.deflt for Settings. [#649](https://github.com/Khan/KaTeX/pull/649) - Use utils.deflt for Settings. [#649](https://github.com/KaTeX/KaTeX/pull/649)
- Refactored and commented space splicing code. [#699](https://github.com/Khan/KaTeX/pull/699) - Refactored and commented space splicing code. [#699](https://github.com/KaTeX/KaTeX/pull/699)
- Vertically center single-character `\mathop`. [#745](https://github.com/Khan/KaTeX/pull/745) - Vertically center single-character `\mathop`. [#745](https://github.com/KaTeX/KaTeX/pull/745)
- Associate font metrics with Options, not Style. [#743](https://github.com/Khan/KaTeX/pull/743) - Associate font metrics with Options, not Style. [#743](https://github.com/KaTeX/KaTeX/pull/743)
- Upgraded the source to use ES6 syntax including classes, import and static properties. - Upgraded the source to use ES6 syntax including classes, import and static properties.
[#679](https://github.com/Khan/KaTeX/pull/679) [#679](https://github.com/KaTeX/KaTeX/pull/679)
- Use `\displaystyle` within `\over/\underbrace`. [#765](https://github.com/Khan/KaTeX/pull/765) - Use `\displaystyle` within `\over/\underbrace`. [#765](https://github.com/KaTeX/KaTeX/pull/765)
- Shrinkwrap vlists in table-like CSS. [#768](https://github.com/Khan/KaTeX/pull/768) - Shrinkwrap vlists in table-like CSS. [#768](https://github.com/KaTeX/KaTeX/pull/768)
- Improve rule coding, including for `\sqrt`. [#776](https://github.com/Khan/KaTeX/pull/776) - Improve rule coding, including for `\sqrt`. [#776](https://github.com/KaTeX/KaTeX/pull/776)
### Breaking Changes ### Breaking Changes
- Implicit `\color`, explicitly grouped `\textcolor`. See [#619](https://github.com/Khan/KaTeX/pull/619) - Implicit `\color`, explicitly grouped `\textcolor`. See [#619](https://github.com/KaTeX/KaTeX/pull/619)
### Fixed ### Fixed
- Fixed high contrast mode better. [#733](https://github.com/Khan/KaTeX/pull/733) - Fixed high contrast mode better. [#733](https://github.com/KaTeX/KaTeX/pull/733)
- Fixed all AMS mathord symbols. [#618](https://github.com/Khan/KaTeX/pull/618) - Fixed all AMS mathord symbols. [#618](https://github.com/KaTeX/KaTeX/pull/618)
- Fixed x'^2 [#636](https://github.com/Khan/KaTeX/pull/636) - Fixed x'^2 [#636](https://github.com/KaTeX/KaTeX/pull/636)
- Fixed font typo math -> main. [#678](https://github.com/Khan/KaTeX/pull/678) - Fixed font typo math -> main. [#678](https://github.com/KaTeX/KaTeX/pull/678)
- Fixed spaces before `\middle`. [#689](https://github.com/Khan/KaTeX/pull/689) - Fixed spaces before `\middle`. [#689](https://github.com/KaTeX/KaTeX/pull/689)
- Fixed [#711](https://github.com/Khan/KaTeX/issues/711) issue with multiple superscripts. [#718](https://github.com/Khan/KaTeX/pull/718) - Fixed [#711](https://github.com/KaTeX/KaTeX/issues/711) issue with multiple superscripts. [#718](https://github.com/KaTeX/KaTeX/pull/718)
- Fixed interaction between styles and sizes. [#719](https://github.com/Khan/KaTeX/pull/719) - Fixed interaction between styles and sizes. [#719](https://github.com/KaTeX/KaTeX/pull/719)
- Correct handling of unbraced kerns followed by spaces. [#751](https://github.com/Khan/KaTeX/pull/751) - Correct handling of unbraced kerns followed by spaces. [#751](https://github.com/KaTeX/KaTeX/pull/751)
- Corrected computation of TeX sizes. [#755](https://github.com/Khan/KaTeX/pull/755) - Corrected computation of TeX sizes. [#755](https://github.com/KaTeX/KaTeX/pull/755)
- Solved Safari rendering issues with font-size overrides. [#780](https://github.com/Khan/KaTeX/pull/780) - Solved Safari rendering issues with font-size overrides. [#780](https://github.com/KaTeX/KaTeX/pull/780)
## [v0.7.1] - 2017-01-21 ## [v0.7.1] - 2017-01-21

View File

@@ -2,7 +2,7 @@
We welcome pull requests to KaTeX. If you'd like to add a new symbol, or try to We welcome pull requests to KaTeX. If you'd like to add a new symbol, or try to
tackle adding a larger feature, keep reading. If you have any questions, or want tackle adding a larger feature, keep reading. If you have any questions, or want
help solving a problem, feel free to stop by our [gitter channel](https://gitter.im/Khan/KaTeX). help solving a problem, feel free to stop by our [gitter channel](https://gitter.im/KaTeX/KaTeX).
## Helpful contributions ## Helpful contributions
@@ -13,7 +13,7 @@ KaTeX doesn't currently support. The documentation has pages listing
You can check them to see if we don't support a function you like, or try your You can check them to see if we don't support a function you like, or try your
function in the interactive demo at [http://katex.org/](http://katex.org/). function in the interactive demo at [http://katex.org/](http://katex.org/).
The wiki has a page that describes how to [examine TeX commands and where to find The wiki has a page that describes how to [examine TeX commands and where to find
rules](https://github.com/Khan/KaTeX/wiki/Examining-TeX) which can be quite rules](https://github.com/KaTeX/KaTeX/wiki/Examining-TeX) which can be quite
useful when adding new commands. useful when adding new commands.
#### Single symbols #### Single symbols
@@ -78,7 +78,7 @@ copy/pasting the test case to be debugged into the editor. The permalink option
can come in really useful when doing repeated runs of the same test case. can come in really useful when doing repeated runs of the same test case.
The Jest tests should be run after every change, even the addition of small The Jest tests should be run after every change, even the addition of small
symbols. However, [CircleCI](https://circleci.com/gh/Khan/KaTeX) will run these symbols. However, [CircleCI](https://circleci.com/gh/KaTeX/KaTeX) will run these
tests when you submit a pull request, in case you forget. tests when you submit a pull request, in case you forget.
If you make any changes to Parser.js, add Jest tests to ensure they work. If you make any changes to Parser.js, add Jest tests to ensure they work.
@@ -93,7 +93,7 @@ You can view the report in `coverage/lcov-report/index.html`.
To ensure the final output looks good, we screenshot different expressions. To ensure the final output looks good, we screenshot different expressions.
These tests can be run by using the These tests can be run by using the
[screenshotter docker](https://github.com/Khan/KaTeX/tree/master/dockers/screenshotter). [screenshotter docker](https://github.com/KaTeX/KaTeX/tree/master/dockers/screenshotter).
The screenshot tests should be run if you add anything more significant than The screenshot tests should be run if you add anything more significant than
individual symbols. These tests are not automatically run, so please remember! individual symbols. These tests are not automatically run, so please remember!
@@ -107,7 +107,7 @@ created it, add a screenshot test. See
[ss_data.yaml](test/screenshotter/ss_data.yaml). [ss_data.yaml](test/screenshotter/ss_data.yaml).
You can use our You can use our
[texcmp](https://github.com/Khan/KaTeX/tree/master/dockers/texcmp) tool [texcmp](https://github.com/KaTeX/KaTeX/tree/master/dockers/texcmp) tool
to compare the outputs of a screenshot test as generated by KaTeX and LaTeX. to compare the outputs of a screenshot test as generated by KaTeX and LaTeX.
It's often useful to attach the resulting "visual diff" to your pull request It's often useful to attach the resulting "visual diff" to your pull request
with a new feature. with a new feature.
@@ -161,7 +161,7 @@ will automatically run this command after switching to branches
where `submodules/katex-fonts` point to different commits. where `submodules/katex-fonts` point to different commits.
When submitting pull requests that update katex-fonts, you'll need to submit When submitting pull requests that update katex-fonts, you'll need to submit
two pull requests: one for [KaTeX/katex-fonts](https:/github.com/KaTeX/katex-fonts) and one for [Khan/KaTeX](https://github.com/Khan/KaTeX). two pull requests: one for [KaTeX/katex-fonts](https:/github.com/KaTeX/katex-fonts) and one for [KaTeX/KaTeX](https://github.com/KaTeX/KaTeX).
For more info about how to use git submodules, For more info about how to use git submodules,
see https://chrisjean.com/git-submodules-adding-using-removing-and-updating/. see https://chrisjean.com/git-submodules-adding-using-removing-and-updating/.

View File

@@ -1,10 +1,11 @@
# [<img src="https://cdn.rawgit.com/Khan/KaTeX/84189cd3adae24d92e766d14eb80d6e54f3c7dca/katex-logo.svg" width="130" alt="KaTeX">](https://katex.org/) # [<img src="https://katex.org/img/katex-logo-black.svg" width="130" alt="KaTeX">](https://katex.org/)
[![npm](https://img.shields.io/npm/v/katex.svg)](https://www.npmjs.com/package/katex) [![npm](https://img.shields.io/npm/v/katex.svg)](https://www.npmjs.com/package/katex)
[![CircleCI](https://circleci.com/gh/Khan/KaTeX.svg?style=shield)](https://circleci.com/gh/Khan/KaTeX) [![CircleCI](https://circleci.com/gh/KaTeX/KaTeX.svg?style=shield)](https://circleci.com/gh/KaTeX/KaTeX)
[![codecov](https://codecov.io/gh/Khan/KaTeX/branch/master/graph/badge.svg)](https://codecov.io/gh/Khan/KaTeX) [![codecov](https://codecov.io/gh/KaTeX/KaTeX/branch/master/graph/badge.svg)](https://codecov.io/gh/KaTeX/KaTeX)
[![Join the chat at https://gitter.im/Khan/KaTeX](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Khan/KaTeX?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Greenkeeper badge](https://badges.greenkeeper.io/Khan/KaTeX.svg)](https://greenkeeper.io/) [![Join the chat at https://gitter.im/KaTeX/KaTeX](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/KaTeX/KaTeX?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Greenkeeper badge](https://badges.greenkeeper.io/KaTeX/KaTeX.svg)](https://greenkeeper.io/)
[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/katex/badge?style=rounded)](https://www.jsdelivr.com/package/npm/katex) [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/katex/badge?style=rounded)](https://www.jsdelivr.com/package/npm/katex)
![](https://img.badgesize.io/Khan/KaTeX/v0.10.0/dist/katex.min.js?compression=gzip) ![](https://img.badgesize.io/KaTeX/KaTeX/v0.10.0/dist/katex.min.js?compression=gzip)
KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web.
@@ -41,7 +42,7 @@ Try out KaTeX [on the demo page](https://katex.org/#demo)!
</html> </html>
``` ```
You can also [download KaTeX](https://github.com/khan/katex/releases) and host it yourself. You can also [download KaTeX](https://github.com/KaTeX/KaTeX/releases) and host it yourself.
For details on how to configure auto-render extension, refer to [the documentation](https://katex.org/docs/autorender.html). For details on how to configure auto-render extension, refer to [the documentation](https://katex.org/docs/autorender.html).

View File

@@ -14,7 +14,7 @@
"license": "MIT", "license": "MIT",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/Khan/KaTeX.git" "url": "git://github.com/KaTeX/KaTeX.git"
}, },
"ignore": [ "ignore": [
"**/.*", "**/.*",

View File

@@ -1,10 +0,0 @@
const v = process.version
.replace(/^v/, "")
.split(".")
.map(parseInt);
if (v[0] < 6 || (v[0] === 6 && v[1] < 9)) {
// eslint-disable-next-line no-console
console.error("Node 6.9 or later required for development. " +
"Version " + process.version + " found");
process.exit(1);
}

View File

@@ -68,7 +68,7 @@ function renderMathInElement(elem, options)
nodes inside this element and render the math in them. nodes inside this element and render the math in them.
`options` is an optional object argument that can have the same keys as [the `options` is an optional object argument that can have the same keys as [the
object passed to `katex.render`](https://github.com/Khan/KaTeX/#rendering-options), object passed to `katex.render`](https://github.com/KaTeX/KaTeX/#rendering-options),
in addition to two auto-render-specific keys: in addition to two auto-render-specific keys:
- `delimiters`: This is a list of delimiters to look for math. Each delimiter - `delimiters`: This is a list of delimiters to look for math. Each delimiter

View File

@@ -64,7 +64,7 @@ Chrome DevTools Network panel or similar to find out which fonts are used.
to provide a fallback for older browsers that do not support ES modules. to provide a fallback for older browsers that do not support ES modules.
## Download & Host Things Yourself ## Download & Host Things Yourself
Download a [KaTeX release](https://github.com/Khan/KaTeX/releases), Download a [KaTeX release](https://github.com/KaTeX/KaTeX/releases),
copy `katex.js`, `katex.css` copy `katex.js`, `katex.css`
(or `katex.min.js` and `katex.min.css` to use minified versions), (or `katex.min.js` and `katex.min.css` to use minified versions),
and the `fonts` directory, and include or import it like above. and the `fonts` directory, and include or import it like above.

View File

@@ -7,8 +7,8 @@ title: Extensions & Libraries
These extensions are provided by KaTeX. These extensions are provided by KaTeX.
- [Auto-render](autorender.md): Automatically renders all of the math inside text - [Auto-render](autorender.md): Automatically renders all of the math inside text
- [Copy-tex](https://github.com/Khan/KaTeX/tree/master/contrib/copy-tex): When selecting and copying KaTeX-rendered elements, copies their LaTeX source to the clipboard - [Copy-tex](https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex): When selecting and copying KaTeX-rendered elements, copies their LaTeX source to the clipboard
- [`math/tex` Custom Script Type](https://github.com/Khan/KaTeX/tree/master/contrib/mathtex-script-type): Automatically displays LaTeX math inside `script` tags with `type=math/tex` - [`math/tex` Custom Script Type](https://github.com/KaTeX/KaTeX/tree/master/contrib/mathtex-script-type): Automatically displays LaTeX math inside `script` tags with `type=math/tex`
## Libraries ## Libraries

View File

@@ -26,7 +26,7 @@ To build you will need Git, Node.js 6.9 or later, and Yarn.
Clone a copy of the GitHub source repository: Clone a copy of the GitHub source repository:
```bash ```bash
git clone https://github.com/Khan/KaTeX.git git clone https://github.com/KaTeX/KaTeX.git
cd KaTeX cd KaTeX
``` ```
@@ -45,7 +45,7 @@ npm install /path/to/KaTeX
``` ```
> You can manually download the package and source code from > You can manually download the package and source code from
[GitHub releases](https://github.com/Khan/KaTeX/releases). [GitHub releases](https://github.com/KaTeX/KaTeX/releases).
## Importing ## Importing
KaTeX is exported as a CommonJS module, which can be imported using `require`: KaTeX is exported as a CommonJS module, which can be imported using `require`:

View File

@@ -7,7 +7,7 @@ You can provide an object of options as the last argument to [`katex.render` and
- `displayMode`: `boolean`. If `true` the math will be rendered in display mode, which will put the math in display style (so `\int` and `\sum` are large, for example), and will center the math on the page on its own line. If `false` the math will be rendered in inline mode. (default: `false`) - `displayMode`: `boolean`. If `true` the math will be rendered in display mode, which will put the math in display style (so `\int` and `\sum` are large, for example), and will center the math on the page on its own line. If `false` the math will be rendered in inline mode. (default: `false`)
- `throwOnError`: `boolean`. If `true` (the default), KaTeX will throw a `ParseError` when it encounters an unsupported command or invalid LaTeX. If `false`, KaTeX will render unsupported commands as text, and render invalid LaTeX as its source code with hover text giving the error, in the color given by `errorColor`. - `throwOnError`: `boolean`. If `true` (the default), KaTeX will throw a `ParseError` when it encounters an unsupported command or invalid LaTeX. If `false`, KaTeX will render unsupported commands as text, and render invalid LaTeX as its source code with hover text giving the error, in the color given by `errorColor`.
- `errorColor`: `string`. A color string given in the format `"#XXX"` or `"#XXXXXX"`. This option determines the color that unsupported commands and invalid LaTeX are rendered in when `throwOnError` is set to `false`. (default: `#cc0000`) - `errorColor`: `string`. A color string given in the format `"#XXX"` or `"#XXXXXX"`. This option determines the color that unsupported commands and invalid LaTeX are rendered in when `throwOnError` is set to `false`. (default: `#cc0000`)
- `macros`: `object`. A collection of custom macros. Each macro is a property with a name like `\name` (written `"\\name"` in JavaScript) which maps to a string that describes the expansion of the macro, or a function that accepts an instance of `MacroExpander` as first argument and returns the expansion as a string. `MacroExpander` is an internal API and subject to non-backwards compatible changes. See [`src/macros.js`](https://github.com/Khan/KaTeX/blob/master/src/macros.js) for its usage. Single-character keys can also be included in which case the character will be redefined as the given macro (similar to TeX active characters). *This object will be modified* if the LaTeX code defines its own macros via `\gdef`, which enables consecutive calls to KaTeX to share state. - `macros`: `object`. A collection of custom macros. Each macro is a property with a name like `\name` (written `"\\name"` in JavaScript) which maps to a string that describes the expansion of the macro, or a function that accepts an instance of `MacroExpander` as first argument and returns the expansion as a string. `MacroExpander` is an internal API and subject to non-backwards compatible changes. See [`src/macros.js`](https://github.com/KaTeX/KaTeX/blob/master/src/macros.js) for its usage. Single-character keys can also be included in which case the character will be redefined as the given macro (similar to TeX active characters). *This object will be modified* if the LaTeX code defines its own macros via `\gdef`, which enables consecutive calls to KaTeX to share state.
- `colorIsTextColor`: `boolean`. If `true`, `\color` will work like LaTeX's `\textcolor`, and take two arguments (e.g., `\color{blue}{hello}`), which restores the old behavior of KaTeX (pre-0.8.0). If `false` (the default), `\color` will work like LaTeX's `\color`, and take one argument (e.g., `\color{blue}hello`). In both cases, `\textcolor` works as in LaTeX (e.g., `\textcolor{blue}{hello}`). - `colorIsTextColor`: `boolean`. If `true`, `\color` will work like LaTeX's `\textcolor`, and take two arguments (e.g., `\color{blue}{hello}`), which restores the old behavior of KaTeX (pre-0.8.0). If `false` (the default), `\color` will work like LaTeX's `\color`, and take one argument (e.g., `\color{blue}hello`). In both cases, `\textcolor` works as in LaTeX (e.g., `\textcolor{blue}{hello}`).
- `maxSize`: `number`. All user-specified sizes, e.g. in `\rule{500em}{500em}`, will be capped to `maxSize` ems. If set to `Infinity` (the default), users can make elements and spaces arbitrarily large. - `maxSize`: `number`. All user-specified sizes, e.g. in `\rule{500em}{500em}`, will be capped to `maxSize` ems. If set to `Infinity` (the default), users can make elements and spaces arbitrarily large.
- `maxExpand`: `number`. Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to `Infinity`, the macro expander will try to fully expand as in LaTeX. (default: 1000) - `maxExpand`: `number`. Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to `Infinity`, the macro expander will try to fully expand as in LaTeX. (default: 1000)

View File

@@ -145,13 +145,13 @@ table td {
|\bigm|$\bigm\vert$|`\bigm\vert`| |\bigm|$\bigm\vert$|`\bigm\vert`|
|\Bigm|$\Bigm\vert$|`\Bigm\vert`| |\Bigm|$\Bigm\vert$|`\Bigm\vert`|
|\bigodot|$\bigodot$|| |\bigodot|$\bigodot$||
|\bigominus|<span style="color:firebrick;">Not supported</span>|[Issue #1222](https://github.com/Khan/KaTeX/issues/1222)| |\bigominus|<span style="color:firebrick;">Not supported</span>|[Issue #1222](https://github.com/KaTeX/KaTeX/issues/1222)|
|\bigoplus|$\bigoplus$|| |\bigoplus|$\bigoplus$||
|\bigoslash|<span style="color:firebrick;">Not supported</span>|[Issue #1222](https://github.com/Khan/KaTeX/issues/1222)| |\bigoslash|<span style="color:firebrick;">Not supported</span>|[Issue #1222](https://github.com/KaTeX/KaTeX/issues/1222)|
|\bigotimes|$\bigotimes$|| |\bigotimes|$\bigotimes$||
|\bigr|$\bigr)$|`\bigr)`| |\bigr|$\bigr)$|`\bigr)`|
|\Bigr|$\Bigr)$|`\Bigr)`| |\Bigr|$\Bigr)$|`\Bigr)`|
|\bigsqcap|<span style="color:firebrick;">Not supported</span>|[Issue #1222](https://github.com/Khan/KaTeX/issues/1222)| |\bigsqcap|<span style="color:firebrick;">Not supported</span>|[Issue #1222](https://github.com/KaTeX/KaTeX/issues/1222)|
|\bigsqcup|$\bigsqcup$|| |\bigsqcup|$\bigsqcup$||
|\bigstar|$\bigstar$|| |\bigstar|$\bigstar$||
|\bigtriangledown|$\bigtriangledown$|| |\bigtriangledown|$\bigtriangledown$||
@@ -227,7 +227,7 @@ table td {
|\circledR|$\circledR$|| |\circledR|$\circledR$||
|\circledS|$\circledS$|| |\circledS|$\circledS$||
|\class|<span style="color:firebrick;">Not supported</span>|A PR is pending. |\class|<span style="color:firebrick;">Not supported</span>|A PR is pending.
|\cline|<span style="color:firebrick;">Not supported</span>|[Issue #269](https://github.com/Khan/KaTeX/issues/269)| |\cline|<span style="color:firebrick;">Not supported</span>|[Issue #269](https://github.com/KaTeX/KaTeX/issues/269)|
|\clubs|$\clubs$|| |\clubs|$\clubs$||
|\clubsuit|$\clubsuit$|| |\clubsuit|$\clubsuit$||
|\cnums|$\cnums$|| |\cnums|$\cnums$||
@@ -295,7 +295,7 @@ table td {
|\ddots|$\ddots$|| |\ddots|$\ddots$||
|\DeclareMathOperator|<span style="color:firebrick;">Not supported</span>|| |\DeclareMathOperator|<span style="color:firebrick;">Not supported</span>||
|\def|$\def\foo{x^2} \foo + \foo$|`\def\foo{x^2} \foo + \foo`| |\def|$\def\foo{x^2} \foo + \foo$|`\def\foo{x^2} \foo + \foo`|
|\definecolor|<span style="color:firebrick;">Not supported</span>|[Issue #750](https://github.com/Khan/KaTeX/issues/750)| |\definecolor|<span style="color:firebrick;">Not supported</span>|[Issue #750](https://github.com/KaTeX/KaTeX/issues/750)|
|\deg|$\deg$|| |\deg|$\deg$||
|\degree|$\degree$|| |\degree|$\degree$||
|\delta|$\delta$|| |\delta|$\delta$||
@@ -340,7 +340,7 @@ table td {
|Symbol/Function | Rendered | Source or Comment| |Symbol/Function | Rendered | Source or Comment|
|:---------------|:------------|:-----------------| |:---------------|:------------|:-----------------|
|\ell|$\ell$|| |\ell|$\ell$||
|\else|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/Khan/KaTeX/issues/1003)| |\else|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003)|
|\empty|$\empty$|| |\empty|$\empty$||
|\emptyset|$\emptyset$|| |\emptyset|$\emptyset$||
|\enclose|<span style="color:firebrick;">Not supported</span>|Non standard |\enclose|<span style="color:firebrick;">Not supported</span>|Non standard
@@ -354,11 +354,11 @@ table td {
|\eqcirc|$\eqcirc$|| |\eqcirc|$\eqcirc$||
|\Eqcolon|$\Eqcolon$|| |\Eqcolon|$\Eqcolon$||
|\eqcolon|$\eqcolon$|| |\eqcolon|$\eqcolon$||
|{equation}|<span style="color:firebrick;">Not supported</span>|[Issue #445](https://github.com/Khan/KaTeX/issues/445)| |{equation}|<span style="color:firebrick;">Not supported</span>|[Issue #445](https://github.com/KaTeX/KaTeX/issues/445)|
|{eqnarray}|<span style="color:firebrick;">Not supported</span>|| |{eqnarray}|<span style="color:firebrick;">Not supported</span>||
|\Eqqcolon|$\Eqqcolon$|| |\Eqqcolon|$\Eqqcolon$||
|\eqqcolon|$\eqqcolon$|| |\eqqcolon|$\eqqcolon$||
|\eqref|<span style="color:firebrick;">Not supported</span>|[Issue #350](https://github.com/Khan/KaTeX/issues/350)| |\eqref|<span style="color:firebrick;">Not supported</span>|[Issue #350](https://github.com/KaTeX/KaTeX/issues/350)|
|\eqsim|$\eqsim$|| |\eqsim|$\eqsim$||
|\eqslantgtr|$\eqslantgtr$|| |\eqslantgtr|$\eqslantgtr$||
|\eqslantless|$\eqslantless$|| |\eqslantless|$\eqslantless$||
@@ -378,7 +378,7 @@ table td {
|\fallingdotseq|$\fallingdotseq$|| |\fallingdotseq|$\fallingdotseq$||
|\fbox|$\fbox{Hi there!}$|`\fbox{Hi there!}`| |\fbox|$\fbox{Hi there!}$|`\fbox{Hi there!}`|
|\fcolorbox|$\fcolorbox{red}{aqua}{A}$|`\fcolorbox{red}{aqua}{A}`| |\fcolorbox|$\fcolorbox{red}{aqua}{A}$|`\fcolorbox{red}{aqua}{A}`|
|\fi|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/Khan/KaTeX/issues/1003)| |\fi|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003)|
|\Finv|$\Finv$|| |\Finv|$\Finv$||
|\flat|$\flat$|| |\flat|$\flat$||
|\footnotesize|$\footnotesize footnotesize$|`\footnotesize footnotesize`| |\footnotesize|$\footnotesize footnotesize$|`\footnotesize footnotesize`|
@@ -441,7 +441,7 @@ table td {
|\hearts|$\hearts$|| |\hearts|$\hearts$||
|\heartsuit|$\heartsuit$|| |\heartsuit|$\heartsuit$||
|\hfil|<span style="color:firebrick;">Not supported</span>|| |\hfil|<span style="color:firebrick;">Not supported</span>||
|\hfill|<span style="color:firebrick;">Not supported</span>|Issues [#164](https://github.com/Khan/KaTeX/issues/164) & [#269](https://github.com/Khan/KaTeX/issues/269)| |\hfill|<span style="color:firebrick;">Not supported</span>|Issues [#164](https://github.com/KaTeX/KaTeX/issues/164) & [#269](https://github.com/KaTeX/KaTeX/issues/269)|
|\hline|$\begin{matrix}a&b\\ \hline c &d\end{matrix}$|`\begin{matrix}`<br>&nbsp;&nbsp;&nbsp;`a & b \\ \hline`<br>&nbsp;&nbsp;&nbsp;`c & d`<br>`\end{matrix}`| |\hline|$\begin{matrix}a&b\\ \hline c &d\end{matrix}$|`\begin{matrix}`<br>&nbsp;&nbsp;&nbsp;`a & b \\ \hline`<br>&nbsp;&nbsp;&nbsp;`c & d`<br>`\end{matrix}`|
|\hom|$\hom$|| |\hom|$\hom$||
|\hookleftarrow|$\hookleftarrow$|| |\hookleftarrow|$\hookleftarrow$||
@@ -460,11 +460,11 @@ table td {
|:---------------|:------------|:-----------------| |:---------------|:------------|:-----------------|
|\i|$\text{\i}$|`\text{\i}`| |\i|$\text{\i}$|`\text{\i}`|
|\idotsint|<span style="color:firebrick;">Not supported</span>|| |\idotsint|<span style="color:firebrick;">Not supported</span>||
|\iddots|<span style="color:firebrick;">Not supported</span>|[Issue #1223](https://github.com/Khan/KaTeX/issues/1223)| |\iddots|<span style="color:firebrick;">Not supported</span>|[Issue #1223](https://github.com/KaTeX/KaTeX/issues/1223)|
|\if|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/Khan/KaTeX/issues/1003)| |\if|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003)|
|\iff|$A\iff B$|`A\iff B`| |\iff|$A\iff B$|`A\iff B`|
|\ifmode|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/Khan/KaTeX/issues/1003)| |\ifmode|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003)|
|\ifx|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/Khan/KaTeX/issues/1003)| |\ifx|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003)|
|\iiiint|<span style="color:firebrick;">Not supported</span>|| |\iiiint|<span style="color:firebrick;">Not supported</span>||
|\iiint|$\iiint$|| |\iiint|$\iiint$||
|\iint|$\iint$|| |\iint|$\iint$||
@@ -553,7 +553,7 @@ table td {
|\lesseqqgtr|$\lesseqqgtr$|| |\lesseqqgtr|$\lesseqqgtr$||
|\lessgtr|$\lessgtr$|| |\lessgtr|$\lessgtr$||
|\lesssim|$\lesssim$|| |\lesssim|$\lesssim$||
|\let|<span style="color:firebrick;">Not supported</span>|[Issue #1413](https://github.com/Khan/KaTeX/issues/1413)| |\let|<span style="color:firebrick;">Not supported</span>|[Issue #1413](https://github.com/KaTeX/KaTeX/issues/1413)|
|\lfloor|$\lfloor$|| |\lfloor|$\lfloor$||
|\lg|$\lg$|| |\lg|$\lg$||
|\lgroup|$\lgroup$|| |\lgroup|$\lgroup$||
@@ -656,7 +656,7 @@ table td {
|\mspace|<span style="color:firebrick;">Not supported</span>|| |\mspace|<span style="color:firebrick;">Not supported</span>||
|\Mu|$\Mu$|| |\Mu|$\Mu$||
|\mu|$\mu$|| |\mu|$\mu$||
|\multicolumn|<span style="color:firebrick;">Not supported</span>|[Issue #269](https://github.com/Khan/KaTeX/issues/269)| |\multicolumn|<span style="color:firebrick;">Not supported</span>|[Issue #269](https://github.com/KaTeX/KaTeX/issues/269)|
|{multiline}|<span style="color:firebrick;">Not supported</span>|| |{multiline}|<span style="color:firebrick;">Not supported</span>||
|\multimap|$\multimap$|| |\multimap|$\multimap$||
@@ -677,7 +677,7 @@ table td {
|\negthinspace|$a\negthinspace b$|`a\negthinspace b`| |\negthinspace|$a\negthinspace b$|`a\negthinspace b`|
|\neq|$\neq$|| |\neq|$\neq$||
|\newcommand|$\newcommand\chk{\checkmark} \chk$|`\newcommand\chk{\checkmark} \chk`| |\newcommand|$\newcommand\chk{\checkmark} \chk$|`\newcommand\chk{\checkmark} \chk`|
|\newenvironment|<span style="color:firebrick;">Not supported</span>|[Issue #37](https://github.com/Khan/KaTeX/issues/37)| |\newenvironment|<span style="color:firebrick;">Not supported</span>|[Issue #37](https://github.com/KaTeX/KaTeX/issues/37)|
|\Newextarrow|<span style="color:firebrick;">Not supported</span>|| |\Newextarrow|<span style="color:firebrick;">Not supported</span>||
|\newline|$a\newline b$|`a\newline b`| |\newline|$a\newline b$|`a\newline b`|
|\nexists|$\nexists$|| |\nexists|$\nexists$||
@@ -749,7 +749,7 @@ table td {
|\omicron|$\omicron$|| |\omicron|$\omicron$||
|\ominus|$\ominus$|| |\ominus|$\ominus$||
|\operatorname|$\operatorname{asin} x$|\operatorname{asin} x| |\operatorname|$\operatorname{asin} x$|\operatorname{asin} x|
|\operatorname\*|<span style="color:firebrick;">Not supported</span>|[Issue #1242](https://github.com/Khan/KaTeX/issues/1242)| |\operatorname\*|<span style="color:firebrick;">Not supported</span>|[Issue #1242](https://github.com/KaTeX/KaTeX/issues/1242)|
|\oplus|$\oplus$|| |\oplus|$\oplus$||
|\or|<span style="color:firebrick;">Not supported</span>|| |\or|<span style="color:firebrick;">Not supported</span>||
|\oslash|$\oslash$|| |\oslash|$\oslash$||
@@ -838,7 +838,7 @@ table td {
|\real|$\real$|| |\real|$\real$||
|\Reals|$\Reals$|| |\Reals|$\Reals$||
|\reals|$\reals$|| |\reals|$\reals$||
|\ref|<span style="color:firebrick;">Not supported</span>|[Issue #350](https://github.com/Khan/KaTeX/issues/350)| |\ref|<span style="color:firebrick;">Not supported</span>|[Issue #350](https://github.com/KaTeX/KaTeX/issues/350)|
|\relax||| |\relax|||
|\renewcommand|$\def\hail{Hi!}\renewcommand\hail{\text{Ahoy!}} \hail$|`\def\hail{Hi!}`<br>`\renewcommand\hail{\text{Ahoy!}}`<br>`\hail`| |\renewcommand|$\def\hail{Hi!}\renewcommand\hail{\text{Ahoy!}} \hail$|`\def\hail{Hi!}`<br>`\renewcommand\hail{\text{Ahoy!}}`<br>`\hail`|
|\renewenvironment|<span style="color:firebrick;">Not supported</span>|| |\renewenvironment|<span style="color:firebrick;">Not supported</span>||
@@ -865,7 +865,7 @@ table td {
|\rm|$\rm AaBb12$|`\rm AaBb12`| |\rm|$\rm AaBb12$|`\rm AaBb12`|
|\rmoustache|$\rmoustache$|| |\rmoustache|$\rmoustache$||
|\root|<span style="color:firebrick;">Not supported</span>|| |\root|<span style="color:firebrick;">Not supported</span>||
|\rotatebox|<span style="color:firebrick;">Not supported</span>|[Issue #681](https://github.com/Khan/KaTeX/issues/681)| |\rotatebox|<span style="color:firebrick;">Not supported</span>|[Issue #681](https://github.com/KaTeX/KaTeX/issues/681)|
|\rparen|$\rparen$|| |\rparen|$\rparen$||
|\rq|$\rq$|| |\rq|$\rq$||
|\Rrightarrow|$\Rrightarrow$|| |\Rrightarrow|$\Rrightarrow$||
@@ -892,7 +892,7 @@ table td {
|\searrow|$\searrow$|| |\searrow|$\searrow$||
|\sec|$\sec$|| |\sec|$\sec$||
|\sect|$\text{\sect}$|`\text{\sect}`| |\sect|$\text{\sect}$|`\text{\sect}`|
|\setlength|<span style="color:firebrick;">Not supported</span>|[Issue #687](https://github.com/Khan/KaTeX/issues/687)| |\setlength|<span style="color:firebrick;">Not supported</span>|[Issue #687](https://github.com/KaTeX/KaTeX/issues/687)|
|\setminus|$\setminus$|| |\setminus|$\setminus$||
|\sf|$\sf AaBb123$|`\sf AaBb123`| |\sf|$\sf AaBb123$|`\sf AaBb123`|
|\sharp|$\sharp$|| |\sharp|$\sharp$||
@@ -926,7 +926,7 @@ table td {
|\spades|$\spades$|| |\spades|$\spades$||
|\spadesuit|$\spadesuit$|| |\spadesuit|$\spadesuit$||
|\sphericalangle|$\sphericalangle$|| |\sphericalangle|$\sphericalangle$||
|{split}|<span style="color:firebrick;">Not supported</span>|[Issue #1345](https://github.com/Khan/KaTeX/issues/1345)| |{split}|<span style="color:firebrick;">Not supported</span>|[Issue #1345](https://github.com/KaTeX/KaTeX/issues/1345)|
|\sqcap|$\sqcap$|| |\sqcap|$\sqcap$||
|\sqcup|$\sqcup$|| |\sqcup|$\sqcup$||
|\square|$\square$|| |\square|$\square$||
@@ -1010,7 +1010,7 @@ table td {
|\textquoteright|$\text{\textquoteright}$|`\text{\textquoteright}`| |\textquoteright|$\text{\textquoteright}$|`\text{\textquoteright}`|
|\textregistered|$\text{\textregistered}$|`\text{\textregistered}`| |\textregistered|$\text{\textregistered}$|`\text{\textregistered}`|
|\textrm|$\textrm{AaBb123}$|`\textrm{AaBb123}`| |\textrm|$\textrm{AaBb123}$|`\textrm{AaBb123}`|
|\textsc|<span style="color:firebrick;">Not supported</span>|[Issue #471](https://github.com/Khan/KaTeX/issues/471)| |\textsc|<span style="color:firebrick;">Not supported</span>|[Issue #471](https://github.com/KaTeX/KaTeX/issues/471)|
|\textsf|$\textsf{AaBb123}$|`\textsf{AaBb123}`| |\textsf|$\textsf{AaBb123}$|`\textsf{AaBb123}`|
|\textsterling|$\text{\textsterling}$|`\text{\textsterling}`| |\textsterling|$\text{\textsterling}$|`\text{\textsterling}`|
|\textstyle|$\textstyle\sum_0^n$|`\textstyle\sum_0^n`| |\textstyle|$\textstyle\sum_0^n$|`\textstyle\sum_0^n`|
@@ -1138,7 +1138,7 @@ table td {
|\vert|$\vert$|| |\vert|$\vert$||
|\vfil|<span style="color:firebrick;">Not supported</span>|| |\vfil|<span style="color:firebrick;">Not supported</span>||
|\vfill|<span style="color:firebrick;">Not supported</span>|| |\vfill|<span style="color:firebrick;">Not supported</span>||
|\vline|<span style="color:firebrick;">Not supported</span>|[Issue #269](https://github.com/Khan/KaTeX/issues/269)| |\vline|<span style="color:firebrick;">Not supported</span>|[Issue #269](https://github.com/KaTeX/KaTeX/issues/269)|
|{Vmatrix}|$\begin{Vmatrix}a&b\\c&d\end{Vmatrix}$|`\begin{Vmatrix}`<br>&nbsp;&nbsp;&nbsp;`a & b \\`<br>&nbsp;&nbsp;&nbsp;`c & d`<br>`\end{Vmatrix}`| |{Vmatrix}|$\begin{Vmatrix}a&b\\c&d\end{Vmatrix}$|`\begin{Vmatrix}`<br>&nbsp;&nbsp;&nbsp;`a & b \\`<br>&nbsp;&nbsp;&nbsp;`c & d`<br>`\end{Vmatrix}`|
|{vmatrix}|$\begin{vmatrix}a&b\\c&d\end{vmatrix}$|`\begin{vmatrix}`<br>&nbsp;&nbsp;&nbsp;`a & b \\`<br>&nbsp;&nbsp;&nbsp;`c & d`<br>`\end{vmatrix}`| |{vmatrix}|$\begin{vmatrix}a&b\\c&d\end{vmatrix}$|`\begin{vmatrix}`<br>&nbsp;&nbsp;&nbsp;`a & b \\`<br>&nbsp;&nbsp;&nbsp;`c & d`<br>`\end{vmatrix}`|
|\vphantom|$\overline{\vphantom{M}a}$|`\overline{\vphantom{M}a}`| |\vphantom|$\overline{\vphantom{M}a}$|`\overline{\vphantom{M}a}`|
@@ -1152,7 +1152,7 @@ table td {
|\weierp|$\weierp$|| |\weierp|$\weierp$||
|\widecheck|$\widecheck{AB}$|`\widecheck{AB}`| |\widecheck|$\widecheck{AB}$|`\widecheck{AB}`|
|\widehat|$\widehat{AB}$|`\widehat{AB}`| |\widehat|$\widehat{AB}$|`\widehat{AB}`|
|\wideparen|<span style="color:firebrick;">Not supported</span>|[Issue #560](https://github.com/Khan/KaTeX/issues/560)| |\wideparen|<span style="color:firebrick;">Not supported</span>|[Issue #560](https://github.com/KaTeX/KaTeX/issues/560)|
|\widetilde|$\widetilde{AB}$|`\widetilde{AB}`| |\widetilde|$\widetilde{AB}$|`\widetilde{AB}`|
|\wp|$\wp$|| |\wp|$\wp$||
|\wr|$\wr$|| |\wr|$\wr$||

View File

@@ -1,5 +0,0 @@
.git
# Autogenerated code
node_modules/**
dist/**

View File

@@ -6,7 +6,7 @@
"homepage": "https://katex.org", "homepage": "https://katex.org",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/Khan/KaTeX.git" "url": "git://github.com/KaTeX/KaTeX.git"
}, },
"files": [ "files": [
"katex.js", "katex.js",
@@ -87,7 +87,7 @@
"test:perf": "yarn prestart && NODE_ENV=test node test/perf-test.js", "test:perf": "yarn prestart && NODE_ENV=test node test/perf-test.js",
"clean": "rm -rf dist/ node_modules/", "clean": "rm -rf dist/ node_modules/",
"clean-install": "yarn clean && yarn", "clean-install": "yarn clean && yarn",
"prestart": "node check-node-version.js && yarn check && node src/unicodeMake.js", "prestart": "yarn check && node src/unicodeMake.js",
"start": "webpack-dev-server --hot --config webpack.dev.js", "start": "webpack-dev-server --hot --config webpack.dev.js",
"analyze": "webpack --config webpack.analyze.js", "analyze": "webpack --config webpack.analyze.js",
"build": "yarn prestart && rimraf dist/ && mkdirp dist && cp README.md dist && rollup -c && webpack", "build": "yarn prestart && rimraf dist/ && mkdirp dist && cp README.md dist && rollup -c && webpack",

View File

@@ -177,7 +177,7 @@ if [[ ! $PUBLISH ]]; then
echo "" echo ""
echo "The automatic parts are done!" echo "The automatic parts are done!"
echo "Now create a pull request against master from 'v$VERSION-release'" echo "Now create a pull request against master from 'v$VERSION-release'"
echo "Visit https://github.com/Khan/KaTeX/pulls to open a pull request." echo "Visit https://github.com/KaTeX/KaTeX/pulls to open a pull request."
echo "After it gets merged, run './release.sh -p $VERSION'!" echo "After it gets merged, run './release.sh -p $VERSION'!"
echo "Note that if KaTeX source code is changed after running this script," echo "Note that if KaTeX source code is changed after running this script,"
echo "you have to run the release script again." echo "you have to run the release script again."
@@ -212,7 +212,7 @@ else
echo "" echo ""
echo "The automatic parts are done!" echo "The automatic parts are done!"
echo "Now all that's left is to create the release on GitHub." echo "Now all that's left is to create the release on GitHub."
echo "Visit https://github.com/Khan/KaTeX/releases/new?tag=v$VERSION to edit the release notes." echo "Visit https://github.com/KaTeX/KaTeX/releases/new?tag=v$VERSION to edit the release notes."
echo "Don't forget to upload katex.tar.gz and katex.zip to the release!" echo "Don't forget to upload katex.tar.gz and katex.zip to the release!"
fi fi

View File

@@ -8,7 +8,7 @@
normal font), or "ams" (the ams fonts). normal font), or "ams" (the ams fonts).
* - group (required): the ParseNode group type the symbol should have (i.e. * - group (required): the ParseNode group type the symbol should have (i.e.
"textord", "mathord", etc). "textord", "mathord", etc).
See https://github.com/Khan/KaTeX/wiki/Examining-TeX#group-types See https://github.com/KaTeX/KaTeX/wiki/Examining-TeX#group-types
* - replace: the character that this symbol or function should be * - replace: the character that this symbol or function should be
* replaced with (i.e. "\phi" has a replace value of "\u03d5", the phi * replaced with (i.e. "\phi" has a replace value of "\u03d5", the phi
* character in the main font). * character in the main font).

View File

@@ -11,7 +11,7 @@ Promise.all(process.argv.slice(3).map(file =>
.then(body => { .then(body => {
// Replace size badge url // Replace size badge url
// eslint-disable-next-line max-len // eslint-disable-next-line max-len
body = body.replace(/(https:\/\/img\.badgesize\.io\/Khan\/KaTeX\/v)(?:.+)(\/dist\/katex\.min\.js\?compression=gzip)/g, `$1${version}$2`); body = body.replace(/(https:\/\/img\.badgesize\.io\/KaTeX\/KaTeX\/v)(?:.+)(\/dist\/katex\.min\.js\?compression=gzip)/g, `$1${version}$2`);
// Replace CDN urls // Replace CDN urls
// 1 - url prefix: "http…/KaTeX/ // 1 - url prefix: "http…/KaTeX/

View File

@@ -54,7 +54,7 @@ class Footer extends React.Component {
<a href={this.pageUrl('users.html', this.props.language)}> <a href={this.pageUrl('users.html', this.props.language)}>
Who is using KaTeX? Who is using KaTeX?
</a> </a>
<a href="https://gitter.im/Khan/KaTeX">Gitter Chat</a> <a href="https://gitter.im/KaTeX/KaTeX">Gitter Chat</a>
<a <a
href="https://stackoverflow.com/questions/tagged/katex" href="https://stackoverflow.com/questions/tagged/katex"
target="_blank" target="_blank"
@@ -64,12 +64,12 @@ class Footer extends React.Component {
</div> </div>
<div> <div>
<h5>More</h5> <h5>More</h5>
<a href="https://github.com/Khan/KaTeX/graphs/contributors">Contributors</a> <a href="https://github.com/KaTeX/KaTeX/graphs/contributors">Contributors</a>
<a <a
className="github-button" className="github-button"
href={this.props.config.repoUrl} href={this.props.config.repoUrl}
data-icon="octicon-star" data-icon="octicon-star"
data-count-href="/Khan/KaTeX/stargazers" data-count-href="/KaTeX/KaTeX/stargazers"
data-show-count={true} data-show-count={true}
data-count-aria-label="# stargazers on GitHub" data-count-aria-label="# stargazers on GitHub"
aria-label="Star this project on GitHub"> aria-label="Star this project on GitHub">
@@ -89,7 +89,7 @@ class Footer extends React.Component {
/> />
</a> </a>
<section className="copyright"> <section className="copyright">
Licensed under <a href="https://github.com/Khan/KaTeX/blob/master/LICENSE">MIT License</a><br/> Licensed under <a href="https://github.com/KaTeX/KaTeX/blob/master/LICENSE">MIT License</a><br/>
{this.props.config.copyright} {this.props.config.copyright}
</section> </section>
</footer> </footer>

View File

@@ -44,7 +44,7 @@
<svg class="svg-inline--fa fa-book fa-w-14" aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"></path></svg> <svg class="svg-inline--fa fa-book fa-w-14" aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"></path></svg>
Documentation Documentation
</a> </a>
<a href="https://github.com/Khan/KaTeX" role="button"> <a href="https://github.com/KaTeX/KaTeX" role="button">
<svg class="svg-inline--fa fa-github fa-w-16" aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg> <svg class="svg-inline--fa fa-github fa-w-16" aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg>
View on GitHub View on GitHub
</a> </a>
@@ -109,7 +109,7 @@
<svg class="svg-inline--fa fa-book fa-w-14" aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"></path></svg> <svg class="svg-inline--fa fa-book fa-w-14" aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"></path></svg>
Documentation Documentation
</a> </a>
<a href="https://github.com/Khan/KaTeX" role="button"> <a href="https://github.com/KaTeX/KaTeX" role="button">
<svg class="svg-inline--fa fa-github fa-w-16" aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg> <svg class="svg-inline--fa fa-github fa-w-16" aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg>
View on GitHub View on GitHub
</a> </a>
@@ -120,7 +120,7 @@
<a class="ka-logo" href="https://www.khanacademy.org/"><img src="img/khan-academy-white.svg" alt="Khan Academy" width="172" height="28"></a> <a class="ka-logo" href="https://www.khanacademy.org/"><img src="img/khan-academy-white.svg" alt="Khan Academy" width="172" height="28"></a>
<span class="credits"> <span class="credits">
Created by <a href="https://github.com/xymostech">Emily Eisenberg</a> and <a href="https://sophiebits.com/">Sophie Alpert</a> Created by <a href="https://github.com/xymostech">Emily Eisenberg</a> and <a href="https://sophiebits.com/">Sophie Alpert</a>
<br><a href="https://github.com/Khan/KaTeX/blob/master/LICENSE">MIT License</a> · Built from the hard work of <a href="https://github.com/Khan/KaTeX/graphs/contributors">many contributors</a> <br><a href="https://github.com/KaTeX/KaTeX/blob/master/LICENSE">MIT License</a> · Built from the hard work of <a href="https://github.com/KaTeX/KaTeX/graphs/contributors">many contributors</a>
</span> </span>
</div></div> </div></div>

View File

@@ -22,7 +22,7 @@ const users = [
}, },
{ {
caption: 'CoCalc', caption: 'CoCalc',
image: 'https://cdn.rawgit.com/sagemathinc/cocalc/baa4fc57/src/webapp-lib/cocalc-logo.svg', image: '/img/cocalc_logo.svg',
infoLink: 'https://cocalc.com/', infoLink: 'https://cocalc.com/',
}, },
{ {
@@ -67,7 +67,7 @@ const users = [
}, },
{ {
caption: 'Idyll', caption: 'Idyll',
image: 'https://cdn.rawgit.com/idyll-lang/idyll-lang.github.io/src/images/logo.svg', image: 'https://idyll-lang.org/static/images/logo.svg',
infoLink: 'https://idyll-lang.org/', infoLink: 'https://idyll-lang.org/',
}, },
{ {
@@ -97,7 +97,7 @@ const users = [
}, },
{ {
caption: 'Rocket.Chat', caption: 'Rocket.Chat',
image: 'https://cdn.rawgit.com/RocketChat/Rocket.Chat.Artwork/1f7b68b78878fcef47f32aa0965930a1c12cd0b4/Logos/icon.svg', image: '/img/rocketchat_logo.svg',
infoLink: 'https://rocket.chat/', infoLink: 'https://rocket.chat/',
}, },
{ {
@@ -112,12 +112,12 @@ const users = [
}, },
{ {
caption: 'StackEdit', caption: 'StackEdit',
image: 'https://cdn.rawgit.com/benweet/stackedit/0632445a/src/assets/iconStackedit.svg', image: '/img/stackedit_logo.svg',
infoLink: 'https://stackedit.io/', infoLink: 'https://stackedit.io/',
}, },
{ {
caption: 'Vade Mecum Shelf', caption: 'Vade Mecum Shelf',
image: 'https://cdn.rawgit.com/tonton-pixel/vade-mecum-shelf/43013aec/icons/icon.png', image: '/img/vade_mecum_shelf_logo.png',
infoLink: 'https://github.com/tonton-pixel/vade-mecum-shelf/', infoLink: 'https://github.com/tonton-pixel/vade-mecum-shelf/',
}, },
]; ];
@@ -136,7 +136,7 @@ const siteConfig = {
{href: '/#demo', label: 'Try'}, {href: '/#demo', label: 'Try'},
{doc: 'node', label: 'Docs'}, {doc: 'node', label: 'Docs'},
{page: 'users', label: 'Users'}, {page: 'users', label: 'Users'},
{href: 'https://github.com/Khan/KaTeX', label: 'GitHub'}, {href: 'https://github.com/KaTeX/KaTeX', label: 'GitHub'},
{search: true}, {search: true},
], ],
users, users,
@@ -192,7 +192,7 @@ const siteConfig = {
ogImage: 'img/og_logo.png', ogImage: 'img/og_logo.png',
twitterImage: 'img/og_logo.png', twitterImage: 'img/og_logo.png',
repoUrl: 'https://github.com/Khan/KaTeX', repoUrl: 'https://github.com/KaTeX/KaTeX',
}; };
module.exports = siteConfig; module.exports = siteConfig;

View File

@@ -63,7 +63,7 @@
</svg> </svg>
Documentation Documentation
</a> </a>
<a href="https://github.com/Khan/KaTeX" role="button"> <a href="https://github.com/KaTeX/KaTeX" role="button">
<svg class="svg-inline--fa fa-github fa-w-16" aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" <svg class="svg-inline--fa fa-github fa-w-16" aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 496 512"> viewBox="0 0 496 512">
<path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path> <path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path>
@@ -82,8 +82,8 @@
<span class="credits"> <span class="credits">
Created by <a href="https://github.com/xymostech">Emily Eisenberg</a> and <a href="https://sophiebits.com/">Sophie Created by <a href="https://github.com/xymostech">Emily Eisenberg</a> and <a href="https://sophiebits.com/">Sophie
Alpert</a> Alpert</a>
<br><a href="https://github.com/Khan/KaTeX/blob/master/LICENSE">MIT License</a> · Built from the hard work of <a <br><a href="https://github.com/KaTeX/KaTeX/blob/master/LICENSE">MIT License</a> · Built from the hard work of <a
href="https://github.com/Khan/KaTeX/graphs/contributors">many contributors</a> href="https://github.com/KaTeX/KaTeX/graphs/contributors">many contributors</a>
</span> </span>
</div> </div>
</div> </div>

View File

@@ -0,0 +1,106 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="26.441164mm"
height="21.88455mm"
viewBox="0 0 93.689164 77.543681"
id="svg4175"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="cocalc-logo-solo.svg">
<defs
id="defs4177" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.6"
inkscape:cx="40.255927"
inkscape:cy="13.319549"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:window-maximized="1" />
<metadata
id="metadata4180">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(101.13029,-287.87607)">
<g
transform="scale(1.0014175,0.99858451)"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:19.55169678px;line-height:100%;font-family:CoCalc;-inkscape-font-specification:CoCalc;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#434343;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="text4155">
<path
d="m -91.423171,362.73782 c 0.997137,0.25417 2.052928,0.29328 3.10872,0.0978 1.055792,-0.19552 2.013825,-0.54745 2.874099,-1.11445 l -2.346203,-1.68144 c -0.703861,0.37148 -2.111583,0.39103 -3.050065,0.17596 -0.664758,-0.15641 -1.27086,-0.43013 -1.818308,-0.84072 -0.547447,-0.39103 -0.997136,-0.84072 -1.38817,-1.40772 -0.391034,-0.58655 -0.625654,-1.23176 -0.762516,-1.93562 -0.136862,-0.70386 -0.09776,-1.38817 0.05866,-2.07248 0.156413,-0.66476 0.430137,-1.29041 0.821171,-1.81831 0.391034,-0.54744 0.840723,-0.99713 1.427274,-1.38817 0.566999,-0.37148 1.231757,-0.6061 1.935618,-0.74296 1.38817,-0.25417 2.678582,0.0391 3.890788,0.86027 l 1.50548,-2.13113 c -0.840723,-0.58655 -1.759653,-0.97759 -2.756789,-1.23176 -0.997137,-0.25417 -2.033377,-0.27372 -3.089168,-0.0782 -1.055792,0.19552 -2.013825,0.567 -2.8741,1.134 -0.879826,0.567 -1.603239,1.25131 -2.18979,2.09203 -0.566999,0.82117 -0.958033,1.72055 -1.212205,2.71769 -0.254172,1.01669 -0.293275,2.05293 -0.09776,3.10872 0.195517,1.03624 0.547447,1.97472 1.114446,2.85455 0.567,0.87982 1.290412,1.60324 2.111584,2.18979 0.840723,0.567 1.720549,0.95803 2.737237,1.2122 z"
style=""
id="path4740" />
<path
d="m -76.382665,347.33109 c -2.170238,0 -4.008098,0.78206 -5.513578,2.3071 -1.525033,1.52503 -2.3071,3.36289 -2.3071,5.51357 0,2.17024 0.782067,3.98855 2.3071,5.51358 1.525032,1.52503 3.34334,2.3071 5.513578,2.3071 2.170239,0 3.988546,-0.78207 5.513579,-2.3071 1.544584,-1.50548 2.326652,-3.34334 2.326652,-5.51358 0,-2.15068 -0.782068,-3.98854 -2.326652,-5.51357 -1.525033,-1.52504 -3.34334,-2.3071 -5.513579,-2.3071 z m 0,2.61992 c 1.427274,0 2.659031,0.50835 3.675719,1.52503 1.016689,1.01669 1.525033,2.24845 1.525033,3.67572 0,1.42728 -0.488793,2.65903 -1.525033,3.69527 -1.016688,1.01669 -2.248445,1.50549 -3.675719,1.50549 -1.427274,0 -2.678582,-0.4888 -3.69527,-1.50549 -1.016689,-1.01668 -1.505481,-2.26799 -1.505481,-3.69527 0,-1.42727 0.488792,-2.65903 1.505481,-3.67572 1.03624,-1.03624 2.267996,-1.52503 3.69527,-1.52503 z"
style=""
id="path4742" />
<path
d="m -60.777268,362.73782 c 0.997136,0.25417 2.052928,0.29328 3.10872,0.0978 1.055791,-0.19552 2.013824,-0.54745 2.874099,-1.11445 l -2.346204,-1.68144 c -0.703861,0.37148 -2.111583,0.39103 -3.050064,0.17596 -0.664758,-0.15641 -1.270861,-0.43013 -1.818308,-0.84072 -0.547448,-0.39103 -0.997137,-0.84072 -1.388171,-1.40772 -0.391033,-0.58655 -0.625654,-1.23176 -0.762516,-1.93562 -0.136862,-0.70386 -0.09776,-1.38817 0.05866,-2.07248 0.156414,-0.66476 0.430138,-1.29041 0.821172,-1.81831 0.391034,-0.54744 0.840723,-0.99713 1.427274,-1.38817 0.566999,-0.37148 1.231756,-0.6061 1.935618,-0.74296 1.38817,-0.25417 2.678582,0.0391 3.890787,0.86027 l 1.505481,-2.13113 c -0.840723,-0.58655 -1.759653,-0.97759 -2.756789,-1.23176 -0.997137,-0.25417 -2.033377,-0.27372 -3.089169,-0.0782 -1.055791,0.19552 -2.013824,0.567 -2.874099,1.134 -0.879826,0.567 -1.603239,1.25131 -2.18979,2.09203 -0.566999,0.82117 -0.958033,1.72055 -1.212205,2.71769 -0.254172,1.01669 -0.293276,2.05293 -0.09776,3.10872 0.195517,1.03624 0.547448,1.97472 1.114447,2.85455 0.566999,0.87982 1.290412,1.60324 2.111583,2.18979 0.840723,0.567 1.72055,0.95803 2.737238,1.2122 z"
style=""
id="path4744" />
<path
d="m -47.997312,357.77169 2.3071,-4.59465 2.287548,4.59465 2.932755,0 -5.220303,-10.4406 -7.820679,15.64135 2.893651,0 1.329516,-2.61992 1.290412,-2.58083 z m 8.817815,2.60038 -2.893651,0 1.290412,2.60037 2.913202,0 -1.309963,-2.60037 z"
style=""
id="path4746" />
<path
d="m -32.460057,360.35252 -2.600375,2.61992 10.421054,0 0,-2.61992 -7.820679,0 z m -2.600375,-13.02143 0,0.43013 0,11.67237 2.600375,-2.61993 0,-9.05244 0,-0.43013 -2.600375,0 z"
style=""
id="path4748" />
<path
d="m -17.164183,362.73782 c 0.997136,0.25417 2.052928,0.29328 3.108719,0.0978 1.055792,-0.19552 2.013825,-0.54745 2.8741,-1.11445 l -2.346204,-1.68144 c -0.703861,0.37148 -2.111583,0.39103 -3.050064,0.17596 -0.664758,-0.15641 -1.270861,-0.43013 -1.818308,-0.84072 -0.547448,-0.39103 -0.997137,-0.84072 -1.388171,-1.40772 -0.391034,-0.58655 -0.625654,-1.23176 -0.762516,-1.93562 -0.136862,-0.70386 -0.09776,-1.38817 0.05866,-2.07248 0.156414,-0.66476 0.430138,-1.29041 0.821171,-1.81831 0.391034,-0.54744 0.840723,-0.99713 1.427274,-1.38817 0.567,-0.37148 1.231757,-0.6061 1.935618,-0.74296 1.388171,-0.25417 2.678583,0.0391 3.890788,0.86027 l 1.505481,-2.13113 c -0.840723,-0.58655 -1.759653,-0.97759 -2.75679,-1.23176 -0.997136,-0.25417 -2.033376,-0.27372 -3.089168,-0.0782 -1.055791,0.19552 -2.013824,0.567 -2.874099,1.134 -0.879826,0.567 -1.603239,1.25131 -2.18979,2.09203 -0.566999,0.82117 -0.958033,1.72055 -1.212205,2.71769 -0.254172,1.01669 -0.293276,2.05293 -0.09776,3.10872 0.195517,1.03624 0.547448,1.97472 1.114447,2.85455 0.566999,0.87982 1.290412,1.60324 2.111583,2.18979 0.840723,0.567 1.720549,0.95803 2.737238,1.2122 z"
style=""
id="path4750" />
</g>
<g
transform="translate(-347.96137,-190.44942)"
id="g4148">
<path
inkscape:connector-curvature="0"
transform="translate(246.83107,478.3255)"
id="path4192"
d="m 46.84375,14.449219 c -1.048339,0 -2.069543,0.105796 -3.056641,0.30664 -0.987098,0.200844 -1.939789,0.497162 -2.845703,0.878907 -0.905914,0.381744 -1.765526,0.849876 -2.570312,1.392578 -0.804787,0.542702 -1.554566,1.160034 -2.238282,1.84375 -0.683715,0.683716 -1.301048,1.433494 -1.84375,2.238281 -0.542701,0.804787 -1.010833,1.664399 -1.392578,2.570313 -0.381744,0.905913 -0.678062,1.858605 -0.878906,2.845703 -0.200844,0.987098 -0.30664,2.008302 -0.30664,3.05664 0,1.048339 0.105796,2.071496 0.30664,3.058594 0.200844,0.987098 0.497162,1.937836 0.878906,2.84375 0.381745,0.905914 0.849877,1.767478 1.392578,2.572266 0.542702,0.804787 1.160035,1.554564 1.84375,2.238281 0.683716,0.683716 1.433495,1.301047 2.238282,1.84375 0.804786,0.542702 1.664398,1.010833 2.570312,1.392578 0.905914,0.381745 1.858605,0.678062 2.845703,0.878906 0.987098,0.200844 2.008302,0.304688 3.056641,0.304688 1.048339,0 2.071496,-0.103844 3.058594,-0.304688 0.987098,-0.200844 1.939789,-0.497161 2.845703,-0.878906 0.905914,-0.381745 1.765526,-0.849876 2.570312,-1.392578 0.804787,-0.542703 1.554566,-1.160034 2.238282,-1.84375 0.683716,-0.683717 1.301048,-1.433494 1.84375,-2.238281 0.542702,-0.804788 1.010833,-1.666352 1.392578,-2.572266 0.381744,-0.905914 0.678062,-1.856652 0.878906,-2.84375 0.200844,-0.987098 0.304687,-2.010255 0.304687,-3.058594 0,-1.048338 -0.103843,-2.069542 -0.304687,-3.05664 -0.200844,-0.987098 -0.497162,-1.93979 -0.878906,-2.845703 -0.381745,-0.905914 -0.849876,-1.765526 -1.392578,-2.570313 -0.542702,-0.804787 -1.160034,-1.554565 -1.84375,-2.238281 -0.683716,-0.683716 -1.433495,-1.301048 -2.238282,-1.84375 -0.804786,-0.542702 -1.664398,-1.010834 -2.570312,-1.392578 -0.905914,-0.381745 -1.858605,-0.678063 -2.845703,-0.878907 -0.987098,-0.200844 -2.010255,-0.30664 -3.058594,-0.30664 z"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#fbb635;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
<path
inkscape:connector-curvature="0"
id="path4173"
transform="translate(246.83107,478.3255)"
d="m 44.34375,4.7070312 a 25,25 0 0 0 -22.5,24.8749998 25,25 0 0 0 2.226562,10.261719 l 4.341797,-2.507812 c -0.503213,-1.189907 -0.894442,-2.437476 -1.160156,-3.730469 -0.26715,-1.299982 -0.408203,-2.646328 -0.408203,-4.023438 0,-1.377108 0.141053,-2.721503 0.408203,-4.021484 0.26715,-1.299981 0.660815,-2.554292 1.167969,-3.75 0.507153,-1.195708 1.127645,-2.332195 1.847656,-3.396485 0.720011,-1.064288 1.53959,-2.057167 2.445313,-2.96289 0.905722,-0.905723 1.898602,-1.725301 2.96289,-2.445313 1.064289,-0.720011 2.200777,-1.340502 3.396485,-1.847656 1.195708,-0.507153 2.450018,-0.900819 3.75,-1.1679686 0.500222,-0.1027971 1.008777,-0.1814898 1.521484,-0.2460938 l 0,-5.0371094 z m 5,0.025391 0,5.0117187 c 0.513417,0.064621 1.022878,0.1432274 1.523438,0.2460938 1.299981,0.2671493 2.554292,0.6608153 3.75,1.1679683 1.195706,0.507154 2.332195,1.127645 3.396484,1.847656 1.064288,0.720012 2.057168,1.53959 2.96289,2.445313 0.905724,0.905723 1.725302,1.898602 2.445313,2.96289 0.720011,1.064289 1.340503,2.200777 1.847656,3.396485 0.507154,1.195708 0.900819,2.450019 1.167969,3.75 0.26715,1.299981 0.40625,2.644376 0.40625,4.021484 0,1.37711 -0.1391,2.723456 -0.40625,4.023438 -0.26576,1.293217 -0.65877,2.540376 -1.162109,3.730469 l 4.333984,2.501953 a 25,25 0 0 0 2.234375,-10.25586 25,25 0 0 0 -22.5,-24.8496088 z M 30.939453,41.650391 26.572266,44.171875 A 25,25 0 0 0 46.84375,54.582031 25,25 0 0 0 67.109375,44.167969 L 62.75,41.650391 c -0.550437,0.723588 -1.131745,1.422761 -1.773438,2.064453 -0.905722,0.905722 -1.898602,1.725301 -2.96289,2.445312 -1.064289,0.720011 -2.200777,1.340503 -3.396484,1.847656 -1.195708,0.507154 -2.450019,0.90082 -3.75,1.167969 -1.299982,0.26715 -2.646329,0.40625 -4.023438,0.40625 -1.377109,0 -2.721503,-0.1391 -4.021484,-0.40625 -1.299982,-0.267149 -2.554292,-0.660813 -3.75,-1.167969 -1.195708,-0.507153 -2.332196,-1.127645 -3.396485,-1.847656 -1.064288,-0.720011 -2.057168,-1.53959 -2.96289,-2.445312 -0.641692,-0.641692 -1.223,-1.340865 -1.773438,-2.064453 z"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#4474c0;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 120 40.541" enable-background="new 0 0 120 40.541" xml:space="preserve">
<g>
<path d="M4.618,27.925c-0.299,0.299-0.591,0.478-0.874,0.538c-0.284,0.06-1.039,0.105-2.264,0.135H0v2.062h0.493
c0.508-0.09,2.66-0.135,6.456-0.135c3.796,0,5.948,0.045,6.456,0.135h0.493v-2.062h-1.48c-1.764-0.029-2.765-0.209-3.004-0.538
c-0.09-0.119-0.135-1.584-0.135-4.394v-4.259l2.062-2.018c0.388-0.359,0.777-0.724,1.166-1.098
c0.388-0.373,0.687-0.665,0.897-0.874c0.209-0.209,0.388-0.373,0.538-0.493l3.901,5.873c2.331,3.587,3.661,5.62,3.99,6.098
c0.09,0.179,0.135,0.359,0.135,0.538c0,0.778-0.688,1.166-2.062,1.166h-0.359v2.062h0.493c0.628-0.09,2.764-0.135,6.412-0.135
c0.269,0,0.673,0.008,1.211,0.022c0.538,0.015,0.956,0.022,1.255,0.022c0.298,0,0.68,0.008,1.143,0.022
c0.463,0.015,0.807,0.03,1.031,0.045c0.224,0.015,0.366,0.022,0.426,0.022h0.359v-2.062h-0.942
c-1.255-0.029-2.152-0.194-2.69-0.493c-0.419-0.239-0.778-0.583-1.076-1.031c-0.179-0.269-1.906-2.862-5.179-7.779
c-3.273-4.917-4.91-7.39-4.91-7.42c0-0.029,1.33-1.33,3.99-3.901c2.66-2.57,4.065-3.93,4.215-4.08
c1.315-1.076,3.094-1.674,5.335-1.793h0.628V0.037h-0.269c-0.03,0-0.135,0.008-0.314,0.022c-0.179,0.015-0.434,0.03-0.762,0.045
c-0.329,0.015-0.613,0.022-0.852,0.022c-0.209,0-0.523,0.008-0.942,0.022c-0.419,0.015-0.747,0.022-0.986,0.022
c-3.408,0-5.366-0.045-5.873-0.135h-0.448v2.062h0.179l0.202,0.022l0.247,0.022c0.836,0.209,1.255,0.643,1.255,1.3
c-0.06,0.24-0.12,0.404-0.179,0.493c-0.06,0.12-2.272,2.317-6.636,6.591l-6.546,6.367l-0.045-6.95c0-4.663,0.015-7.024,0.045-7.084
c0.06-0.508,0.897-0.762,2.511-0.762h1.076h0.986V0.037h-0.493c-0.509,0.09-2.661,0.135-6.456,0.135
c-3.796,0-5.948-0.045-6.456-0.135H0v2.062h1.48c1.225,0.03,1.98,0.075,2.264,0.135c0.284,0.06,0.575,0.24,0.874,0.538V27.925z"/>
<path d="M39.542,11.067h1.793v-0.269c0.029-0.119,0.074-0.478,0.135-1.076c0.239-3.198,0.836-5.201,1.793-6.008
c0.747-0.628,1.763-1.046,3.049-1.255c0.298-0.029,1.15-0.045,2.556-0.045h1.211c0.687,0,1.113,0.022,1.278,0.067
c0.164,0.045,0.291,0.202,0.381,0.471c0.029,0.06,0.045,4.23,0.045,12.509v12.375c-0.24,0.329-0.613,0.538-1.121,0.628
c-1.076,0.09-2.421,0.135-4.035,0.135h-1.345v2.062h0.583c0.628-0.09,3.377-0.135,8.25-0.135c4.872,0,7.622,0.045,8.25,0.135h0.583
v-2.062h-1.345c-1.614,0-2.959-0.045-4.035-0.135c-0.509-0.09-0.882-0.298-1.121-0.628V15.461c0-8.279,0.015-12.449,0.045-12.509
c0.09-0.269,0.216-0.426,0.381-0.471c0.164-0.045,0.59-0.067,1.278-0.067h1.211c1.674,0,2.825,0.075,3.452,0.224
c1.136,0.329,1.957,0.807,2.466,1.435c0.747,0.867,1.225,2.75,1.435,5.649c0.06,0.598,0.104,0.957,0.135,1.076v0.269h1.793v-0.269
c0-0.06-0.134-1.763-0.404-5.111c-0.269-3.347-0.419-5.051-0.448-5.111V0.306H40.394v0.269c0,0.06-0.135,1.764-0.404,5.111
c-0.269,3.348-0.419,5.052-0.448,5.111V11.067z"/>
<path d="M100.003,30.66v-2.062h-0.359c-0.658-0.06-1.226-0.254-1.704-0.583c-0.478-0.329-0.717-0.702-0.717-1.121
c0-0.209,0.015-0.329,0.045-0.359c0.029-0.09,1.031-1.629,3.004-4.618c0.448-0.687,0.836-1.293,1.166-1.816
c0.329-0.523,0.605-0.956,0.829-1.3c0.224-0.343,0.411-0.62,0.56-0.829c0.149-0.209,0.254-0.343,0.314-0.404l0.135-0.135
l1.659,2.556c1.105,1.704,2.197,3.408,3.273,5.111c1.076,1.704,1.614,2.6,1.614,2.69c0,0.209-0.314,0.397-0.942,0.56
c-0.628,0.165-1.196,0.247-1.704,0.247h-0.269v2.062h0.493c0.687-0.09,2.869-0.135,6.546-0.135c3.318,0,5.201,0.045,5.649,0.135
H120v-2.062h-1.39c-1.166-0.029-1.958-0.09-2.376-0.179c-0.419-0.09-0.747-0.269-0.986-0.538c-0.09-0.09-1.667-2.526-4.73-7.308
c-3.064-4.782-4.596-7.203-4.596-7.263c0-0.029,0.986-1.584,2.959-4.663c2.092-3.139,3.183-4.753,3.273-4.842
c1.016-1.046,2.75-1.614,5.201-1.704h0.762V0.037h-0.359c-0.359,0.09-2.003,0.135-4.932,0.135c-3.468,0-5.396-0.045-5.784-0.135
h-0.404v2.062h0.359c0.926,0.09,1.614,0.389,2.062,0.897c0.388,0.389,0.493,0.747,0.314,1.076c0,0.03-0.778,1.248-2.331,3.654
c-1.555,2.406-2.347,3.609-2.376,3.609c-0.06,0-0.979-1.397-2.757-4.192c-1.779-2.795-2.668-4.237-2.668-4.327
c0.06-0.149,0.404-0.306,1.031-0.471c0.628-0.164,1.195-0.247,1.704-0.247h0.224V0.037h-0.493c-0.658,0.09-2.84,0.135-6.546,0.135
c-3.318,0-5.201-0.045-5.649-0.135h-0.404v2.062h0.897h0.628c1.614,0,2.69,0.224,3.228,0.673c0.09,0.09,1.464,2.212,4.125,6.367
c2.66,4.155,3.99,6.262,3.99,6.322c0,0.03-1.188,1.868-3.564,5.515c-2.376,3.647-3.625,5.56-3.744,5.739
c-0.957,1.166-2.765,1.793-5.425,1.883H88.48v2.062h0.359c0.359-0.09,2.002-0.135,4.932-0.135c3.467,0,5.395,0.045,5.784,0.135
H100.003z"/>
<path d="M37.736,15.499h-3.429c-2.264,0-3.396-0.011-3.396-0.034l1.715-5.077l1.681-5.043l0.672,1.984
c0.493,1.435,1.064,3.127,1.715,5.077L37.736,15.499z M31.583,24.072v-1.547h-0.168c-0.493,0-0.958-0.095-1.395-0.286
c-0.437-0.19-0.723-0.431-0.857-0.723c-0.067-0.089-0.101-0.19-0.101-0.303c0-0.134,0.224-0.863,0.672-2.185l0.672-1.984h7.834
l0.807,2.387c0.538,1.614,0.807,2.443,0.807,2.488c0,0.403-0.785,0.605-2.353,0.605h-0.437v1.547h0.336
c0.336-0.067,1.95-0.101,4.841-0.101c2.51,0,3.934,0.034,4.27,0.101h0.303v-1.547h-1.009c-1.166-0.022-1.872-0.146-2.118-0.37
c-0.09-0.089-0.168-0.202-0.235-0.336c-0.516-1.591-1.855-5.581-4.018-11.969c-2.163-6.388-3.256-9.593-3.278-9.616
C36.066,0.101,35.797,0.023,35.348,0h-0.303c-0.359,0-0.572,0.09-0.639,0.269c-0.023,0.023-0.611,1.754-1.765,5.194
c-1.155,3.441-2.315,6.892-3.48,10.355c-1.166,3.463-1.76,5.228-1.782,5.295c-0.449,0.874-1.479,1.345-3.093,1.412h-0.504v1.547
h0.235c0.269-0.067,1.401-0.101,3.396-0.101c2.174,0,3.463,0.034,3.866,0.101H31.583z"/>
<path d="M68.318,37.806c-0.299,0.299-0.591,0.478-0.874,0.538c-0.284,0.06-1.039,0.105-2.264,0.135H63.7v2.062h26.229v-0.135
c0.06-0.09,0.381-2.085,0.964-5.986c0.583-3.901,0.889-5.896,0.919-5.986v-0.135h-1.793v0.135c-0.03,0.06-0.105,0.464-0.224,1.211
c-0.269,1.793-0.613,3.244-1.031,4.349c-0.509,1.375-1.248,2.399-2.219,3.071c-0.972,0.673-2.324,1.114-4.058,1.323
c-0.419,0.03-1.973,0.045-4.663,0.045h-2.287c-1.375,0-2.152-0.074-2.331-0.224c-0.09-0.06-0.15-0.164-0.179-0.314
c-0.03-0.06-0.045-2.107-0.045-6.142v-6.008h2.421c1.943,0.03,3.139,0.12,3.587,0.269c0.836,0.24,1.405,0.666,1.704,1.278
c0.298,0.613,0.478,1.547,0.538,2.802v0.897h1.793V18.437h-1.793v0.897c-0.06,1.255-0.24,2.19-0.538,2.802
c-0.299,0.613-0.867,1.039-1.704,1.278c-0.448,0.15-1.644,0.24-3.587,0.269h-2.421v-5.425c0-3.646,0.015-5.499,0.045-5.56
c0.09-0.298,0.269-0.463,0.538-0.493c0.239-0.06,1.853-0.09,4.842-0.09c1.733,0,2.75,0.015,3.049,0.045
c2.451,0.15,4.177,0.74,5.179,1.771c1.001,1.031,1.681,2.952,2.04,5.761c0.06,0.538,0.104,0.852,0.135,0.942v0.179h1.793v-0.179
c0-0.029-0.209-1.763-0.628-5.201l-0.628-5.201v-0.179H63.7v2.062h1.48c1.225,0.03,1.98,0.075,2.264,0.135
c0.284,0.06,0.575,0.24,0.874,0.538V37.806z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@@ -0,0 +1,7 @@
<svg viewBox="0 0 345 304" xmlns="http://www.w3.org/2000/svg">
<g fill-rule="nonzero" fill="none">
<path d="M302.326 118.304l.005.007-.002-.003-.003-.004zM103.893 13.408c10.625 5.903 20.67 13.37 29.247 21.67 13.827-2.504 28.084-3.767 42.547-3.767 43.298 0 84.348 11.36 115.58 31.981 16.175 10.684 29.031 23.36 38.207 37.68 10.22 15.957 15.4 33.116 15.4 51.503 0 17.892-5.18 35.058-15.4 51.011-9.176 14.327-22.032 27-38.206 37.684-31.233 20.62-72.28 31.974-115.58 31.974-14.464 0-28.718-1.263-42.548-3.765-8.581 8.297-18.622 15.769-29.247 21.67-56.773 28.438-103.854.67-103.854.67s43.773-37.168 36.655-69.75c-19.586-20.077-30.197-44.291-30.197-69.982 0-25.207 10.615-49.42 30.197-69.5C43.811 49.913.054 12.752.039 12.74c.014-.009 47.09-27.768 103.854.668z" fill="#DB2323"/>
<path d="M69.964 208.766c-19.484-15.38-31.18-35.061-31.18-56.512 0-49.223 61.582-89.126 137.547-89.126s137.547 39.903 137.547 89.126c0 49.223-61.582 89.126-137.547 89.126-18.722 0-36.57-2.424-52.839-6.814l-11.894 11.49c-6.462 6.242-14.037 11.892-21.932 16.343-10.466 5.148-20.8 7.957-31.024 8.814.576-1.05 1.107-2.114 1.678-3.166 11.917-21.989 15.132-41.75 9.644-59.281z" fill="#FFF"/>
<path d="M110.528 172.151c-11.193 0-20.267-9.043-20.267-20.2 0-11.155 9.074-20.199 20.267-20.199s20.267 9.044 20.267 20.2c0 11.156-9.074 20.2-20.267 20.2v-.001zm65.25 0c-11.193 0-20.267-9.043-20.267-20.2 0-11.155 9.074-20.199 20.267-20.199s20.267 9.044 20.267 20.2c0 11.156-9.074 20.2-20.267 20.2v-.001zm65.25 0c-11.194 0-20.267-9.043-20.267-20.2 0-11.155 9.073-20.199 20.267-20.199 11.193 0 20.267 9.044 20.267 20.2 0 11.156-9.074 20.2-20.267 20.2v-.001z" fill="#DB2323"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><path d="M23.997,6.002c0,-3.311 -2.688,-5.999 -5.999,-5.999l-11.999,0c-3.311,0 -5.999,2.688 -5.999,5.999l0,11.999c0,3.311 2.688,5.999 5.999,5.999l11.999,0c3.311,0 5.999,-2.688 5.999,-5.999l0,-11.999Z" style="fill:none;"/><clipPath id="_clip1"><path d="M23.997,6.002c0,-3.311 -2.688,-5.999 -5.999,-5.999l-11.999,0c-3.311,0 -5.999,2.688 -5.999,5.999l0,11.999c0,3.311 2.688,5.999 5.999,5.999l11.999,0c3.311,0 5.999,-2.688 5.999,-5.999l0,-11.999Z"/></clipPath><g clip-path="url(#_clip1)"><path d="M23.997,0.003l-24,0l12,12l12,-12Z" style="fill:#ffd700;"/><path d="M-0.003,0.003l0,24l12,-12l-12,-12Z" style="fill:#a5c700;"/><path d="M-0.003,24.003l24,0l-12,-12l-12,12Z" style="fill:#ff8a00;"/><path d="M23.997,24.003l0,-24l-12,12l12,12Z" style="fill:#66aefd;"/><path d="M22.497,-1.497l-10.5,10.497l3,3.003l10.5,-10.5l-3,-3Z" style="fill:url(#_Linear2);"/><path d="M25.499,22.503l-10.498,-10.5l-3.002,3l10.5,10.5l3,-3Z" style="fill:url(#_Linear3);"/><path d="M1.497,25.501l10.5,-10.497l-3,-3.003l-10.5,10.5l3,3Z" style="fill:url(#_Linear4);"/><path d="M-1.503,1.503l10.498,10.5l3.002,-3l-10.5,-10.5l-3,3Z" style="fill:url(#_Linear5);"/></g><path d="M21.75,5.852c0,-2.195 -1.782,-3.977 -3.977,-3.977l-11.546,0c-2.195,0 -3.977,1.782 -3.977,3.977l0,11.546c0,2.195 1.782,3.977 3.977,3.977l11.546,0c2.195,0 3.977,-1.782 3.977,-3.977l0,-11.546Z" style="fill:#fff;"/><path d="M4.633,6.013l1.37,0l0,-1.828l1.399,0l0,1.828l1.696,0l0,-1.828l1.399,0l0,1.828l1.37,0l0,1.691l-1.37,0l0,1.902l1.37,0l0,1.69l-1.37,0l0,1.829l-1.399,0l0,-1.829l-1.696,0l0,1.829l-1.399,0l0,-1.829l-1.37,0l0,-1.69l1.37,0l0,-1.902l-1.37,0l0,-1.691Zm2.769,1.691l0,1.902l1.696,0l0,-1.902l-1.696,0Z" style="fill:#737373;"/><defs><linearGradient id="_Linear2" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-2.99995,-3,3,-2.99995,23.9974,3.00265)"><stop offset="0" style="stop-color:#66aefd;stop-opacity:1"/><stop offset="1" style="stop-color:#ffd700;stop-opacity:1"/></linearGradient><linearGradient id="_Linear3" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(3,-2.99995,2.99995,3,20.9987,24.0027)"><stop offset="0" style="stop-color:#ff8a00;stop-opacity:1"/><stop offset="1" style="stop-color:#66aefd;stop-opacity:1"/></linearGradient><linearGradient id="_Linear4" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(2.99995,3,-3,2.99995,-0.00255928,21.0013)"><stop offset="0" style="stop-color:#a5c700;stop-opacity:1"/><stop offset="1" style="stop-color:#ff8a00;stop-opacity:1"/></linearGradient><linearGradient id="_Linear5" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-3,2.99995,-2.99995,-3,2.99744,0.00265252)"><stop offset="0" style="stop-color:#ffd700;stop-opacity:1"/><stop offset="1" style="stop-color:#a5c700;stop-opacity:1"/></linearGradient></defs></svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@@ -56,7 +56,7 @@ function renderMathInElement(elem, options)
nodes inside this element and render the math in them. nodes inside this element and render the math in them.
`options` is an optional object argument that can have the same keys as [the `options` is an optional object argument that can have the same keys as [the
object passed to `katex.render`](https://github.com/Khan/KaTeX/#rendering-options), object passed to `katex.render`](https://github.com/KaTeX/KaTeX/#rendering-options),
in addition to two auto-render-specific keys: in addition to two auto-render-specific keys:
- `delimiters`: This is a list of delimiters to look for math. Each delimiter - `delimiters`: This is a list of delimiters to look for math. Each delimiter

View File

@@ -65,7 +65,7 @@ Chrome DevTools Network panel or similar to find out which fonts are used.
to provide a fallback for older browsers that do not support ES modules. to provide a fallback for older browsers that do not support ES modules.
## Download & Host Things Yourself ## Download & Host Things Yourself
Download a [KaTeX release](https://github.com/Khan/KaTeX/releases), Download a [KaTeX release](https://github.com/KaTeX/KaTeX/releases),
copy `katex.js`, `katex.css` copy `katex.js`, `katex.css`
(or `katex.min.js` and `katex.min.css` to use minified versions), (or `katex.min.js` and `katex.min.css` to use minified versions),
and the `fonts` directory, and include or import it like above. and the `fonts` directory, and include or import it like above.

View File

@@ -8,8 +8,8 @@ original_id: libs
These extensions are provided by KaTeX. These extensions are provided by KaTeX.
- [Auto-render](autorender.md): Automatically renders all of the math inside text - [Auto-render](autorender.md): Automatically renders all of the math inside text
- [Copy-tex](https://github.com/Khan/KaTeX/tree/master/contrib/copy-tex): When selecting and copying KaTeX-rendered elements, copies their LaTeX source to the clipboard - [Copy-tex](https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex): When selecting and copying KaTeX-rendered elements, copies their LaTeX source to the clipboard
- [`math/tex` Custom Script Type](https://github.com/Khan/KaTeX/tree/master/contrib/mathtex-script-type): Automatically displays LaTeX math inside `script` tags with `type=math/tex` - [`math/tex` Custom Script Type](https://github.com/KaTeX/KaTeX/tree/master/contrib/mathtex-script-type): Automatically displays LaTeX math inside `script` tags with `type=math/tex`
## Libraries ## Libraries

View File

@@ -27,7 +27,7 @@ To build you will need Git, Node.js 6.9 or later, and Yarn.
Clone a copy of the GitHub source repository: Clone a copy of the GitHub source repository:
```bash ```bash
git clone https://github.com/Khan/KaTeX.git git clone https://github.com/KaTeX/KaTeX.git
cd KaTeX cd KaTeX
``` ```
@@ -46,7 +46,7 @@ npm install /path/to/KaTeX
``` ```
> You can manually download the package and source code from > You can manually download the package and source code from
[GitHub releases](https://github.com/Khan/KaTeX/releases). [GitHub releases](https://github.com/KaTeX/KaTeX/releases).
## Importing ## Importing
KaTeX is exported as a CommonJS module, which can be imported using `require`: KaTeX is exported as a CommonJS module, which can be imported using `require`:

View File

@@ -8,7 +8,7 @@ You can provide an object of options as the last argument to [`katex.render` and
- `displayMode`: `boolean`. If `true` the math will be rendered in display mode, which will put the math in display style (so `\int` and `\sum` are large, for example), and will center the math on the page on its own line. If `false` the math will be rendered in inline mode. (default: `false`) - `displayMode`: `boolean`. If `true` the math will be rendered in display mode, which will put the math in display style (so `\int` and `\sum` are large, for example), and will center the math on the page on its own line. If `false` the math will be rendered in inline mode. (default: `false`)
- `throwOnError`: `boolean`. If `true` (the default), KaTeX will throw a `ParseError` when it encounters an unsupported command or invalid LaTeX. If `false`, KaTeX will render unsupported commands as text, and render invalid LaTeX as its source code with hover text giving the error, in the color given by `errorColor`. - `throwOnError`: `boolean`. If `true` (the default), KaTeX will throw a `ParseError` when it encounters an unsupported command or invalid LaTeX. If `false`, KaTeX will render unsupported commands as text, and render invalid LaTeX as its source code with hover text giving the error, in the color given by `errorColor`.
- `errorColor`: `string`. A color string given in the format `"#XXX"` or `"#XXXXXX"`. This option determines the color that unsupported commands and invalid LaTeX are rendered in when `throwOnError` is set to `false`. (default: `#cc0000`) - `errorColor`: `string`. A color string given in the format `"#XXX"` or `"#XXXXXX"`. This option determines the color that unsupported commands and invalid LaTeX are rendered in when `throwOnError` is set to `false`. (default: `#cc0000`)
- `macros`: `object`. A collection of custom macros. Each macro is a property with a name like `\name` (written `"\\name"` in JavaScript) which maps to a string that describes the expansion of the macro, or a function that accepts an instance of `MacroExpander` as first argument and returns the expansion as a string. `MacroExpander` is an internal API and subject to non-backwards compatible changes. See [`src/macros.js`](https://github.com/Khan/KaTeX/blob/master/src/macros.js) for its usage. Single-character keys can also be included in which case the character will be redefined as the given macro (similar to TeX active characters). *This object will be modified* if the LaTeX code defines its own macros via `\gdef`, which enables consecutive calls to KaTeX to share state. - `macros`: `object`. A collection of custom macros. Each macro is a property with a name like `\name` (written `"\\name"` in JavaScript) which maps to a string that describes the expansion of the macro, or a function that accepts an instance of `MacroExpander` as first argument and returns the expansion as a string. `MacroExpander` is an internal API and subject to non-backwards compatible changes. See [`src/macros.js`](https://github.com/KaTeX/KaTeX/blob/master/src/macros.js) for its usage. Single-character keys can also be included in which case the character will be redefined as the given macro (similar to TeX active characters). *This object will be modified* if the LaTeX code defines its own macros via `\gdef`, which enables consecutive calls to KaTeX to share state.
- `colorIsTextColor`: `boolean`. If `true`, `\color` will work like LaTeX's `\textcolor`, and take two arguments (e.g., `\color{blue}{hello}`), which restores the old behavior of KaTeX (pre-0.8.0). If `false` (the default), `\color` will work like LaTeX's `\color`, and take one argument (e.g., `\color{blue}hello`). In both cases, `\textcolor` works as in LaTeX (e.g., `\textcolor{blue}{hello}`). - `colorIsTextColor`: `boolean`. If `true`, `\color` will work like LaTeX's `\textcolor`, and take two arguments (e.g., `\color{blue}{hello}`), which restores the old behavior of KaTeX (pre-0.8.0). If `false` (the default), `\color` will work like LaTeX's `\color`, and take one argument (e.g., `\color{blue}hello`). In both cases, `\textcolor` works as in LaTeX (e.g., `\textcolor{blue}{hello}`).
- `maxSize`: `number`. All user-specified sizes, e.g. in `\rule{500em}{500em}`, will be capped to `maxSize` ems. If set to `Infinity` (the default), users can make elements and spaces arbitrarily large. - `maxSize`: `number`. All user-specified sizes, e.g. in `\rule{500em}{500em}`, will be capped to `maxSize` ems. If set to `Infinity` (the default), users can make elements and spaces arbitrarily large.
- `maxExpand`: `number`. Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to `Infinity`, the macro expander will try to fully expand as in LaTeX. (default: 1000) - `maxExpand`: `number`. Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to `Infinity`, the macro expander will try to fully expand as in LaTeX. (default: 1000)

View File

@@ -145,13 +145,13 @@ table td {
|\bigm|$\bigm\vert$|`\bigm\vert`| |\bigm|$\bigm\vert$|`\bigm\vert`|
|\Bigm|$\Bigm\vert$|`\Bigm\vert`| |\Bigm|$\Bigm\vert$|`\Bigm\vert`|
|\bigodot|$\bigodot$|| |\bigodot|$\bigodot$||
|\bigominus|<span style="color:firebrick;">Not supported</span>|[Issue #1222](https://github.com/Khan/KaTeX/issues/1222)| |\bigominus|<span style="color:firebrick;">Not supported</span>|[Issue #1222](https://github.com/KaTeX/KaTeX/issues/1222)|
|\bigoplus|$\bigoplus$|| |\bigoplus|$\bigoplus$||
|\bigoslash|<span style="color:firebrick;">Not supported</span>|[Issue #1222](https://github.com/Khan/KaTeX/issues/1222)| |\bigoslash|<span style="color:firebrick;">Not supported</span>|[Issue #1222](https://github.com/KaTeX/KaTeX/issues/1222)|
|\bigotimes|$\bigotimes$|| |\bigotimes|$\bigotimes$||
|\bigr|$\bigr)$|`\bigr)`| |\bigr|$\bigr)$|`\bigr)`|
|\Bigr|$\Bigr)$|`\Bigr)`| |\Bigr|$\Bigr)$|`\Bigr)`|
|\bigsqcap|<span style="color:firebrick;">Not supported</span>|[Issue #1222](https://github.com/Khan/KaTeX/issues/1222)| |\bigsqcap|<span style="color:firebrick;">Not supported</span>|[Issue #1222](https://github.com/KaTeX/KaTeX/issues/1222)|
|\bigsqcup|$\bigsqcup$|| |\bigsqcup|$\bigsqcup$||
|\bigstar|$\bigstar$|| |\bigstar|$\bigstar$||
|\bigtriangledown|$\bigtriangledown$|| |\bigtriangledown|$\bigtriangledown$||
@@ -227,7 +227,7 @@ table td {
|\circledR|$\circledR$|| |\circledR|$\circledR$||
|\circledS|$\circledS$|| |\circledS|$\circledS$||
|\class|<span style="color:firebrick;">Not supported</span>|A PR is pending. |\class|<span style="color:firebrick;">Not supported</span>|A PR is pending.
|\cline|<span style="color:firebrick;">Not supported</span>|[Issue #269](https://github.com/Khan/KaTeX/issues/269)| |\cline|<span style="color:firebrick;">Not supported</span>|[Issue #269](https://github.com/KaTeX/KaTeX/issues/269)|
|\clubs|$\clubs$|| |\clubs|$\clubs$||
|\clubsuit|$\clubsuit$|| |\clubsuit|$\clubsuit$||
|\cnums|$\cnums$|| |\cnums|$\cnums$||
@@ -295,7 +295,7 @@ table td {
|\ddots|$\ddots$|| |\ddots|$\ddots$||
|\DeclareMathOperator|<span style="color:firebrick;">Not supported</span>|| |\DeclareMathOperator|<span style="color:firebrick;">Not supported</span>||
|\def|$\def\foo{x^2} \foo + \foo$|`\def\foo{x^2} \foo + \foo`| |\def|$\def\foo{x^2} \foo + \foo$|`\def\foo{x^2} \foo + \foo`|
|\definecolor|<span style="color:firebrick;">Not supported</span>|[Issue #750](https://github.com/Khan/KaTeX/issues/750)| |\definecolor|<span style="color:firebrick;">Not supported</span>|[Issue #750](https://github.com/KaTeX/KaTeX/issues/750)|
|\deg|$\deg$|| |\deg|$\deg$||
|\degree|$\degree$|| |\degree|$\degree$||
|\delta|$\delta$|| |\delta|$\delta$||
@@ -340,7 +340,7 @@ table td {
|Symbol/Function | Rendered | Source or Comment| |Symbol/Function | Rendered | Source or Comment|
|:---------------|:------------|:-----------------| |:---------------|:------------|:-----------------|
|\ell|$\ell$|| |\ell|$\ell$||
|\else|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/Khan/KaTeX/issues/1003)| |\else|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003)|
|\empty|$\empty$|| |\empty|$\empty$||
|\emptyset|$\emptyset$|| |\emptyset|$\emptyset$||
|\enclose|<span style="color:firebrick;">Not supported</span>|Non standard |\enclose|<span style="color:firebrick;">Not supported</span>|Non standard
@@ -354,11 +354,11 @@ table td {
|\eqcirc|$\eqcirc$|| |\eqcirc|$\eqcirc$||
|\Eqcolon|$\Eqcolon$|| |\Eqcolon|$\Eqcolon$||
|\eqcolon|$\eqcolon$|| |\eqcolon|$\eqcolon$||
|{equation}|<span style="color:firebrick;">Not supported</span>|[Issue #445](https://github.com/Khan/KaTeX/issues/445)| |{equation}|<span style="color:firebrick;">Not supported</span>|[Issue #445](https://github.com/KaTeX/KaTeX/issues/445)|
|{eqnarray}|<span style="color:firebrick;">Not supported</span>|| |{eqnarray}|<span style="color:firebrick;">Not supported</span>||
|\Eqqcolon|$\Eqqcolon$|| |\Eqqcolon|$\Eqqcolon$||
|\eqqcolon|$\eqqcolon$|| |\eqqcolon|$\eqqcolon$||
|\eqref|<span style="color:firebrick;">Not supported</span>|[Issue #350](https://github.com/Khan/KaTeX/issues/350)| |\eqref|<span style="color:firebrick;">Not supported</span>|[Issue #350](https://github.com/KaTeX/KaTeX/issues/350)|
|\eqsim|$\eqsim$|| |\eqsim|$\eqsim$||
|\eqslantgtr|$\eqslantgtr$|| |\eqslantgtr|$\eqslantgtr$||
|\eqslantless|$\eqslantless$|| |\eqslantless|$\eqslantless$||
@@ -378,7 +378,7 @@ table td {
|\fallingdotseq|$\fallingdotseq$|| |\fallingdotseq|$\fallingdotseq$||
|\fbox|$\fbox{Hi there!}$|`\fbox{Hi there!}`| |\fbox|$\fbox{Hi there!}$|`\fbox{Hi there!}`|
|\fcolorbox|$\fcolorbox{red}{aqua}{A}$|`\fcolorbox{red}{aqua}{A}`| |\fcolorbox|$\fcolorbox{red}{aqua}{A}$|`\fcolorbox{red}{aqua}{A}`|
|\fi|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/Khan/KaTeX/issues/1003)| |\fi|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003)|
|\Finv|$\Finv$|| |\Finv|$\Finv$||
|\flat|$\flat$|| |\flat|$\flat$||
|\footnotesize|$\footnotesize footnotesize$|`\footnotesize footnotesize`| |\footnotesize|$\footnotesize footnotesize$|`\footnotesize footnotesize`|
@@ -441,7 +441,7 @@ table td {
|\hearts|$\hearts$|| |\hearts|$\hearts$||
|\heartsuit|$\heartsuit$|| |\heartsuit|$\heartsuit$||
|\hfil|<span style="color:firebrick;">Not supported</span>|| |\hfil|<span style="color:firebrick;">Not supported</span>||
|\hfill|<span style="color:firebrick;">Not supported</span>|Issues [#164](https://github.com/Khan/KaTeX/issues/164) & [#269](https://github.com/Khan/KaTeX/issues/269)| |\hfill|<span style="color:firebrick;">Not supported</span>|Issues [#164](https://github.com/KaTeX/KaTeX/issues/164) & [#269](https://github.com/KaTeX/KaTeX/issues/269)|
|\hline|$\begin{matrix}a&b\\ \hline c &d\end{matrix}$|`\begin{matrix}`<br>&nbsp;&nbsp;&nbsp;`a & b \\ \hline`<br>&nbsp;&nbsp;&nbsp;`c & d`<br>`\end{matrix}`| |\hline|$\begin{matrix}a&b\\ \hline c &d\end{matrix}$|`\begin{matrix}`<br>&nbsp;&nbsp;&nbsp;`a & b \\ \hline`<br>&nbsp;&nbsp;&nbsp;`c & d`<br>`\end{matrix}`|
|\hom|$\hom$|| |\hom|$\hom$||
|\hookleftarrow|$\hookleftarrow$|| |\hookleftarrow|$\hookleftarrow$||
@@ -460,11 +460,11 @@ table td {
|:---------------|:------------|:-----------------| |:---------------|:------------|:-----------------|
|\i|$\text{\i}$|`\text{\i}`| |\i|$\text{\i}$|`\text{\i}`|
|\idotsint|<span style="color:firebrick;">Not supported</span>|| |\idotsint|<span style="color:firebrick;">Not supported</span>||
|\iddots|<span style="color:firebrick;">Not supported</span>|[Issue #1223](https://github.com/Khan/KaTeX/issues/1223)| |\iddots|<span style="color:firebrick;">Not supported</span>|[Issue #1223](https://github.com/KaTeX/KaTeX/issues/1223)|
|\if|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/Khan/KaTeX/issues/1003)| |\if|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003)|
|\iff|$A\iff B$|`A\iff B`| |\iff|$A\iff B$|`A\iff B`|
|\ifmode|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/Khan/KaTeX/issues/1003)| |\ifmode|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003)|
|\ifx|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/Khan/KaTeX/issues/1003)| |\ifx|<span style="color:firebrick;">Not supported</span>|[Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003)|
|\iiiint|<span style="color:firebrick;">Not supported</span>|| |\iiiint|<span style="color:firebrick;">Not supported</span>||
|\iiint|$\iiint$|| |\iiint|$\iiint$||
|\iint|$\iint$|| |\iint|$\iint$||
@@ -474,7 +474,7 @@ table td {
|\impliedby|$P\impliedby Q$|`P\impliedby Q`| |\impliedby|$P\impliedby Q$|`P\impliedby Q`|
|\implies|$P\implies Q$|`P\implies Q`| |\implies|$P\implies Q$|`P\implies Q`|
|\in|$\in$|| |\in|$\in$||
|\includegraphics|<span style="color:firebrick;">Not supported</span>|[Issue #898](https://github.com/Khan/KaTeX/issues/898)| |\includegraphics|<span style="color:firebrick;">Not supported</span>|[Issue #898](https://github.com/KaTeX/KaTeX/issues/898)|
|\inf|$\inf$|| |\inf|$\inf$||
|\infin|$\infin$|| |\infin|$\infin$||
|\infty|$\infty$|| |\infty|$\infty$||
@@ -553,7 +553,7 @@ table td {
|\lesseqqgtr|$\lesseqqgtr$|| |\lesseqqgtr|$\lesseqqgtr$||
|\lessgtr|$\lessgtr$|| |\lessgtr|$\lessgtr$||
|\lesssim|$\lesssim$|| |\lesssim|$\lesssim$||
|\let|<span style="color:firebrick;">Not supported</span>|[Issue #1413](https://github.com/Khan/KaTeX/issues/1413)| |\let|<span style="color:firebrick;">Not supported</span>|[Issue #1413](https://github.com/KaTeX/KaTeX/issues/1413)|
|\lfloor|$\lfloor$|| |\lfloor|$\lfloor$||
|\lg|$\lg$|| |\lg|$\lg$||
|\lgroup|$\lgroup$|| |\lgroup|$\lgroup$||
@@ -656,7 +656,7 @@ table td {
|\mspace|<span style="color:firebrick;">Not supported</span>|| |\mspace|<span style="color:firebrick;">Not supported</span>||
|\Mu|$\Mu$|| |\Mu|$\Mu$||
|\mu|$\mu$|| |\mu|$\mu$||
|\multicolumn|<span style="color:firebrick;">Not supported</span>|[Issue #269](https://github.com/Khan/KaTeX/issues/269)| |\multicolumn|<span style="color:firebrick;">Not supported</span>|[Issue #269](https://github.com/KaTeX/KaTeX/issues/269)|
|{multiline}|<span style="color:firebrick;">Not supported</span>|| |{multiline}|<span style="color:firebrick;">Not supported</span>||
|\multimap|$\multimap$|| |\multimap|$\multimap$||
@@ -677,7 +677,7 @@ table td {
|\negthinspace|$a\negthinspace b$|`a\negthinspace b`| |\negthinspace|$a\negthinspace b$|`a\negthinspace b`|
|\neq|$\neq$|| |\neq|$\neq$||
|\newcommand|$\newcommand\chk{\checkmark} \chk$|`\newcommand\chk{\checkmark} \chk`| |\newcommand|$\newcommand\chk{\checkmark} \chk$|`\newcommand\chk{\checkmark} \chk`|
|\newenvironment|<span style="color:firebrick;">Not supported</span>|[Issue #37](https://github.com/Khan/KaTeX/issues/37)| |\newenvironment|<span style="color:firebrick;">Not supported</span>|[Issue #37](https://github.com/KaTeX/KaTeX/issues/37)|
|\Newextarrow|<span style="color:firebrick;">Not supported</span>|| |\Newextarrow|<span style="color:firebrick;">Not supported</span>||
|\newline|$a\newline b$|`a\newline b`| |\newline|$a\newline b$|`a\newline b`|
|\nexists|$\nexists$|| |\nexists|$\nexists$||
@@ -749,7 +749,7 @@ table td {
|\omicron|$\omicron$|| |\omicron|$\omicron$||
|\ominus|$\ominus$|| |\ominus|$\ominus$||
|\operatorname|$\operatorname{asin} x$|\operatorname{asin} x| |\operatorname|$\operatorname{asin} x$|\operatorname{asin} x|
|\operatorname\*|<span style="color:firebrick;">Not supported</span>|[Issue #1242](https://github.com/Khan/KaTeX/issues/1242)| |\operatorname\*|<span style="color:firebrick;">Not supported</span>|[Issue #1242](https://github.com/KaTeX/KaTeX/issues/1242)|
|\oplus|$\oplus$|| |\oplus|$\oplus$||
|\or|<span style="color:firebrick;">Not supported</span>|| |\or|<span style="color:firebrick;">Not supported</span>||
|\oslash|$\oslash$|| |\oslash|$\oslash$||
@@ -838,7 +838,7 @@ table td {
|\real|$\real$|| |\real|$\real$||
|\Reals|$\Reals$|| |\Reals|$\Reals$||
|\reals|$\reals$|| |\reals|$\reals$||
|\ref|<span style="color:firebrick;">Not supported</span>|[Issue #350](https://github.com/Khan/KaTeX/issues/350)| |\ref|<span style="color:firebrick;">Not supported</span>|[Issue #350](https://github.com/KaTeX/KaTeX/issues/350)|
|\relax||| |\relax|||
|\renewcommand|$\def\hail{Hi!}\renewcommand\hail{\text{Ahoy!}} \hail$|`\def\hail{Hi!}`<br>`\renewcommand\hail{\text{Ahoy!}}`<br>`\hail`| |\renewcommand|$\def\hail{Hi!}\renewcommand\hail{\text{Ahoy!}} \hail$|`\def\hail{Hi!}`<br>`\renewcommand\hail{\text{Ahoy!}}`<br>`\hail`|
|\renewenvironment|<span style="color:firebrick;">Not supported</span>|| |\renewenvironment|<span style="color:firebrick;">Not supported</span>||
@@ -865,7 +865,7 @@ table td {
|\rm|$\rm AaBb12$|`\rm AaBb12`| |\rm|$\rm AaBb12$|`\rm AaBb12`|
|\rmoustache|$\rmoustache$|| |\rmoustache|$\rmoustache$||
|\root|<span style="color:firebrick;">Not supported</span>|| |\root|<span style="color:firebrick;">Not supported</span>||
|\rotatebox|<span style="color:firebrick;">Not supported</span>|[Issue #681](https://github.com/Khan/KaTeX/issues/681)| |\rotatebox|<span style="color:firebrick;">Not supported</span>|[Issue #681](https://github.com/KaTeX/KaTeX/issues/681)|
|\rparen|$\rparen$|| |\rparen|$\rparen$||
|\rq|$\rq$|| |\rq|$\rq$||
|\Rrightarrow|$\Rrightarrow$|| |\Rrightarrow|$\Rrightarrow$||
@@ -892,7 +892,7 @@ table td {
|\searrow|$\searrow$|| |\searrow|$\searrow$||
|\sec|$\sec$|| |\sec|$\sec$||
|\sect|$\text{\sect}$|`\text{\sect}`| |\sect|$\text{\sect}$|`\text{\sect}`|
|\setlength|<span style="color:firebrick;">Not supported</span>|[Issue #687](https://github.com/Khan/KaTeX/issues/687)| |\setlength|<span style="color:firebrick;">Not supported</span>|[Issue #687](https://github.com/KaTeX/KaTeX/issues/687)|
|\setminus|$\setminus$|| |\setminus|$\setminus$||
|\sf|$\sf AaBb123$|`\sf AaBb123`| |\sf|$\sf AaBb123$|`\sf AaBb123`|
|\sharp|$\sharp$|| |\sharp|$\sharp$||
@@ -926,7 +926,7 @@ table td {
|\spades|$\spades$|| |\spades|$\spades$||
|\spadesuit|$\spadesuit$|| |\spadesuit|$\spadesuit$||
|\sphericalangle|$\sphericalangle$|| |\sphericalangle|$\sphericalangle$||
|{split}|<span style="color:firebrick;">Not supported</span>|[Issue #1345](https://github.com/Khan/KaTeX/issues/1345)| |{split}|<span style="color:firebrick;">Not supported</span>|[Issue #1345](https://github.com/KaTeX/KaTeX/issues/1345)|
|\sqcap|$\sqcap$|| |\sqcap|$\sqcap$||
|\sqcup|$\sqcup$|| |\sqcup|$\sqcup$||
|\square|$\square$|| |\square|$\square$||
@@ -1010,7 +1010,7 @@ table td {
|\textquoteright|$\text{\textquoteright}$|`\text{\textquoteright}`| |\textquoteright|$\text{\textquoteright}$|`\text{\textquoteright}`|
|\textregistered|$\text{\textregistered}$|`\text{\textregistered}`| |\textregistered|$\text{\textregistered}$|`\text{\textregistered}`|
|\textrm|$\textrm{AaBb123}$|`\textrm{AaBb123}`| |\textrm|$\textrm{AaBb123}$|`\textrm{AaBb123}`|
|\textsc|<span style="color:firebrick;">Not supported</span>|[Issue #471](https://github.com/Khan/KaTeX/issues/471)| |\textsc|<span style="color:firebrick;">Not supported</span>|[Issue #471](https://github.com/KaTeX/KaTeX/issues/471)|
|\textsf|$\textsf{AaBb123}$|`\textsf{AaBb123}`| |\textsf|$\textsf{AaBb123}$|`\textsf{AaBb123}`|
|\textsterling|$\text{\textsterling}$|`\text{\textsterling}`| |\textsterling|$\text{\textsterling}$|`\text{\textsterling}`|
|\textstyle|$\textstyle\sum_0^n$|`\textstyle\sum_0^n`| |\textstyle|$\textstyle\sum_0^n$|`\textstyle\sum_0^n`|
@@ -1138,7 +1138,7 @@ table td {
|\vert|$\vert$|| |\vert|$\vert$||
|\vfil|<span style="color:firebrick;">Not supported</span>|| |\vfil|<span style="color:firebrick;">Not supported</span>||
|\vfill|<span style="color:firebrick;">Not supported</span>|| |\vfill|<span style="color:firebrick;">Not supported</span>||
|\vline|<span style="color:firebrick;">Not supported</span>|[Issue #269](https://github.com/Khan/KaTeX/issues/269)| |\vline|<span style="color:firebrick;">Not supported</span>|[Issue #269](https://github.com/KaTeX/KaTeX/issues/269)|
|{Vmatrix}|$\begin{Vmatrix}a&b\\c&d\end{Vmatrix}$|`\begin{Vmatrix}`<br>&nbsp;&nbsp;&nbsp;`a & b \\`<br>&nbsp;&nbsp;&nbsp;`c & d`<br>`\end{Vmatrix}`| |{Vmatrix}|$\begin{Vmatrix}a&b\\c&d\end{Vmatrix}$|`\begin{Vmatrix}`<br>&nbsp;&nbsp;&nbsp;`a & b \\`<br>&nbsp;&nbsp;&nbsp;`c & d`<br>`\end{Vmatrix}`|
|{vmatrix}|$\begin{vmatrix}a&b\\c&d\end{vmatrix}$|`\begin{vmatrix}`<br>&nbsp;&nbsp;&nbsp;`a & b \\`<br>&nbsp;&nbsp;&nbsp;`c & d`<br>`\end{vmatrix}`| |{vmatrix}|$\begin{vmatrix}a&b\\c&d\end{vmatrix}$|`\begin{vmatrix}`<br>&nbsp;&nbsp;&nbsp;`a & b \\`<br>&nbsp;&nbsp;&nbsp;`c & d`<br>`\end{vmatrix}`|
|\vphantom|$\overline{\vphantom{M}a}$|`\overline{\vphantom{M}a}`| |\vphantom|$\overline{\vphantom{M}a}$|`\overline{\vphantom{M}a}`|
@@ -1152,7 +1152,7 @@ table td {
|\weierp|$\weierp$|| |\weierp|$\weierp$||
|\widecheck|$\widecheck{AB}$|`\widecheck{AB}`| |\widecheck|$\widecheck{AB}$|`\widecheck{AB}`|
|\widehat|$\widehat{AB}$|`\widehat{AB}`| |\widehat|$\widehat{AB}$|`\widehat{AB}`|
|\wideparen|<span style="color:firebrick;">Not supported</span>|[Issue #560](https://github.com/Khan/KaTeX/issues/560)| |\wideparen|<span style="color:firebrick;">Not supported</span>|[Issue #560](https://github.com/KaTeX/KaTeX/issues/560)|
|\widetilde|$\widetilde{AB}$|`\widetilde{AB}`| |\widetilde|$\widetilde{AB}$|`\widetilde{AB}`|
|\wp|$\wp$|| |\wp|$\wp$||
|\wr|$\wr$|| |\wr|$\wr$||