commit 302f5502ef8cd048808caf2ffb027ff330bca392
parent 62af02bd4e8ec99ddfcae0b0e11998591e92ba2f
Author: Ben Alpert <spicyjalapeno@gmail.com>
Date: Thu, 21 Nov 2013 22:13:47 -0800
Add \approx as a symbol
This is important because the interactive graph labels use \approx now for polygon sides and it feels really sluggish with MathJax.
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Parser.js b/Parser.js
@@ -268,6 +268,7 @@ var copyFuncs = {
],
"rel": [
"rel",
+ "\\approx",
"\\geq",
"\\gets",
"\\leftarrow",
diff --git a/buildTree.js b/buildTree.js
@@ -419,6 +419,7 @@ var charLookup = {
"\\$": "$",
"\\%": "%",
"\\angle": "\u2220",
+ "\\approx": "\u2248",
"\\cdot": "\u22c5",
"\\circ": "\u2218",
"\\colon": ":",