diff --git a/src/delimiter.js b/src/delimiter.js
index be39fc54..7cff6026 100644
--- a/src/delimiter.js
+++ b/src/delimiter.js
@@ -316,7 +316,7 @@ const makeStackedDelim = function(delim, heightTotal, center, options, mode,
const sqrtInnerSVG = {
// The main path geometry is from glyph U221A in the font KaTeX Main
main: ``,
// size4 is from glyph U221A in the font KaTeX_Size4-Regular
4: ``,
// leftarrow is from glyph U+2190 in font KaTeX Main
leftarrow: `>`,
-
- // leftdoublearrow is from glyph U+21D0 in font KaTeX Main
- leftdoublearrow: `>`,
+ slice'>${svgPath["leftarrow"]}`,
// leftharpoon is from glyph U+21BD in font KaTeX Main
leftharpoon: `>`,
// leftharpoondown is from glyph U+21BD in font KaTeX Main
leftharpoondown: `>`,
+preserveAspectRatio='xMinYMin slice'>`,
// leftrightarrow is from glyph U+2194 in font KaTeX Main
leftrightarrow: `>
+preserveAspectRatio='xMinYMin slice'>${svgPath["leftarrow"]}
`,
+ slice'>${svgPath["rightarrow"]}`,
// leftrightharpoons is from glyphs U+21BC/21B1 in font KaTeX Main
leftrightharpoons: `>`,
linesegment: `>
-`,
longequal: ` viewBox='0 0 100 334' preserveAspectRatio='none'>
-`,
+`,
// mapsto is from glyph U+21A6 in font KaTeX Main
mapsto: `>`,
+ 400000 522' preserveAspectRatio='xMaxYMin slice'>${svgPath["rightarrow"]}`,
// overbrace is from glyphs U+23A9/23A8/23A7 in font KaTeX_Size4-Regular
overbrace: `>`,
// overgroup is from the MnSymbol package (public domain)
overgroup: `>`,
// rightarrow is from glyph U+2192 in font KaTeX Main
rightarrow: `>`,
+ slice'>${svgPath["rightarrow"]}`,
// rightharpoon is from glyph U+21C0 in font KaTeX Main
rightharpoon: `>`,
// rightharpoondown is from glyph U+21C1 in font KaTeX Main
rightharpoondown: `>
-
-`,
tilde3: ` viewBox='0 0 2339 306' preserveAspectRatio='none'>
-`,
tilde4: ` viewBox='0 0 2340 312' preserveAspectRatio='none'>
-`,
// undergroup is from the MnSymbol package (public domain)
undergroup: `>`,
// widehat1 is a modified version of a glyph from the MnSymbol package
widehat1: ` viewBox='0 0 1062 239' preserveAspectRatio='none'>
-`,
// Ditto widehat2, widehat3, and widehat4
widehat2: ` viewBox='0 0 2364 300' preserveAspectRatio='none'>
-`,
widehat3: ` viewBox='0 0 2364 360' preserveAspectRatio='none'>
-`,
widehat4: ` viewBox='0 0 2364 420' preserveAspectRatio='none'>
-`,
- xcancel: ``,
+ xcancel: `
+`,
};
const svgSpan = function(group, options) {
diff --git a/static/katex.less b/static/katex.less
index a6dfa472..1a97a23e 100644
--- a/static/katex.less
+++ b/static/katex.less
@@ -547,6 +547,14 @@
display: block;
position: absolute; // absolute relative to parent
width: 100%;
+
+ path {
+ fill: currentColor;
+ }
+
+ line {
+ stroke: currentColor;
+ }
}
// Define CSS for image whose width will match its span width.