DRMF / texvcjs

A LaTeX validator/translator for TeX strings embedded in wikitext
0 stars 2 forks source link

Spaces between LaTeX commands and their arguments #15

Closed poortho closed 9 years ago

poortho commented 9 years ago

Make it so that something such as

\binom{x}{y}

returns

\binom{x}{y}

instead of

\binom {x}{y}
poortho commented 9 years ago

this applies to all LaTeX commands, not just

\binom
poortho commented 9 years ago

I have investigated this and I have fixed this for the most part. However, any command that is considered a "literal" will still have a space after it due to the fact that it is rendered using tex_part, which does not explicitly show how it is rendered and thus cannot be modified as easily. I have not implemented this or issue #16 since adding those thoroughly messes up the test cases and I have not had time to change all of them by hand.

poortho commented 9 years ago

Solved.