1

Is there something that can convert this

"(2+2)/2"

into this

"\frac{2+2}{2}"

I tried searching but I didnt find anything

  • Are you asking for occurrences of only and only ```(x+y)/z``` form or do you need this for all the equations in a text body? The first is trivial, the latter, not so much. Depending on the complexity of your expressions, you have to come up with an expression parser. – mcy Nov 30 '21 at 11:38
  • Of course for all equations – computersaretrash Nov 30 '21 at 17:15
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Dec 05 '21 at 09:44

0 Answers0