Render LaTeX matrices correctly in math-only mode.

This commit is contained in:
Daniel J. Geiger 2022-12-30 10:26:46 -06:00
parent 86f5c2ebcf
commit 9ee2bf36cf

View File

@ -343,7 +343,7 @@ const joinMath = (
}; };
const getMathNewline = (mathProps: MathProps) => { const getMathNewline = (mathProps: MathProps) => {
return mathProps.useTex && mathProps.mathOnly ? "\\\\" : "\n"; return mathProps.useTex && mathProps.mathOnly ? "\\newline" : "\n";
}; };
// This lets math input run across multiple newlines. // This lets math input run across multiple newlines.