diff --git a/app/src/main/java/math/ASCIIMathTeXImg.java b/app/src/main/java/math/ASCIIMathTeXImg.java index 0d03c94..635f930 100644 --- a/app/src/main/java/math/ASCIIMathTeXImg.java +++ b/app/src/main/java/math/ASCIIMathTeXImg.java @@ -640,7 +640,8 @@ private String[] aAMTparseSexpr(String str) { symbol = aAMgetSymbol(str); } switch (symbol.ttype) { - case UNDEROVER, CONST: + case UNDEROVER: + case CONST: str = aAMremoveCharsAndBlanks(str, symbol.input.length()); String texsymbol = aAMTgetTeXsymbol(symbol); if (texsymbol.isEmpty() || texsymbol.charAt(0) == '\\' || symbol.tag.equals("mo")) @@ -1026,4 +1027,4 @@ public String getTeX(String asciiMathInput) { static { aAMinitSymbols(); } -} +} \ No newline at end of file