From 157bfb0cf546a4843de13b1dbb06ed930517719d Mon Sep 17 00:00:00 2001 From: Kevin Barabash Date: Tue, 29 Dec 2015 10:00:17 -0800 Subject: [PATCH] \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 --- src/symbols.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/symbols.js b/src/symbols.js index 6170cb5..044fef5 100644 --- 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");