jiggzson/nerdamer

Is it possible to register variable names to LaTeX strings?

michaelcheers opened this issue · 1 comments

For example, could I register make the variable v0 as v{0} to make my LaTeX prettier?

Hello

I'm currently working on a parser to convert latex into nerdamer instructions, and one feature I'm working on is to be able to use varnames like"\alpha", "f_1" or "\vec{v_1}", etc. I will probably use kind of hashtable to send to nerdamer var names like "var0", "var1" and replace it before the display.

The project is here (https://github.com/SomebodyLikeEveryBody/Solve4MeV2), you can try it here (https://somebodylikeeverybody.github.io/Solve4MeV2/build/index.htm) and the parser is made with pegJS