verybadcat / CSharpMath

LaTeX. in C#. (ported from the wonderful iosMath project).
MIT License
387 stars 65 forks source link

Invalid command \sin' #182

Open charlesroddie opened 4 years ago

charlesroddie commented 4 years ago

The math parser doesn't like the following:

\sin' \mu= \left{ \frac{-b}{2a} \right} $35.99 \%$

Errors:

Error: [Math] Invalid command \sin'
Error: [Math] Invalid command \mu=
Error: [Math] Invalid delimiter {
Error: Missing closing brace
Happypig375 commented 4 years ago

This is related to how commands are parsed. It is hard to know whether ' and = are part of the command name or are their own symbols after commands. More digging around LaTeX documentation is needed.