www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 157bfb0cf546a4843de13b1dbb06ed930517719d
parent 9ad50178f15b2c10907d8b2862b50fc286bd08ca
Author: Kevin Barabash <kevinb@khanacademy.org>
Date:   Tue, 29 Dec 2015 10:00:17 -0800

\centerdot should produce the same glyph as \cdot

Summary:
Update the symbol definition for \centerdot so that it does
the same thing as \cdot.
Fixes https://github.com/Khan/KaTeX/issues/421.

Test Plan:
- make serve
- open http://localhost:7936/
- verify that `a \centerdot b` looks the same as `a \cdot b`

Auditors: emily

Diffstat:
Msrc/symbols.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/symbols.js b/src/symbols.js @@ -352,7 +352,7 @@ defineSymbol(math, ams, bin, "\u22cf", "\\curlywedge"); defineSymbol(math, ams, bin, "\u22ce", "\\curlyvee"); defineSymbol(math, ams, bin, "\u229d", "\\circleddash"); defineSymbol(math, ams, bin, "\u229b", "\\circledast"); -defineSymbol(math, ams, bin, "\u22c5", "\\centerdot"); +defineSymbol(math, main, bin, "\u22c5", "\\centerdot"); defineSymbol(math, ams, bin, "\u22ba", "\\intercal"); defineSymbol(math, ams, bin, "\u22d2", "\\doublecap"); defineSymbol(math, ams, bin, "\u22d3", "\\doublecup");