Each variable or constant in a math expression needs to be replaced by a unique numeric identifier. (The numeric ID can then be replaced by whatever notation the user desires when rendering the derivation as Latex.)
If a different derivation uses q for frequency, then q would be replaced with pdg4201. This substitution process requires knowing what concept each variable represents.
Each variable or constant in a math expression needs to be replaced by a unique numeric identifier. (The numeric ID can then be replaced by whatever notation the user desires when rendering the derivation as Latex.)
First, convert the input latex to Sympy representation (that issue https://github.com/allofphysicsgraph/latex-in-arxiv/issues/4)
Then convert the SymPy string-based variables to numeric identifiers
If a different derivation uses
q
for frequency, thenq
would be replaced withpdg4201
. This substitution process requires knowing what concept each variable represents.