Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Is it possible to register variable names to LaTeX strings? #652

Open
michaelcheers opened this issue Dec 9, 2021 · 1 comment
Open

Comments

@michaelcheers
Copy link

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

@SomebodyLikeEveryBody
Copy link

SomebodyLikeEveryBody commented Jan 27, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants