Fix displaystyle to cover 2 \choose 3 properly

This commit is contained in:
Ben Alpert 2014-10-15 18:24:15 -07:00
parent 62285eaea1
commit 0b59d000a6

View File

@ -8,7 +8,7 @@ window.startup = function() {
var demoOutput = document.getElementById("demo-output");
function doDemo() {
katex.render("\\displaystyle " + demoInput.value, demoOutput);
katex.render("\\displaystyle{" + demoInput.value + "}", demoOutput);
}
demoInput.addEventListener("input", function() {