Skip to content
Advertisement

Tag: latex

Wrap Latex Equation using custom tag PHP regex

I just want to wrap the Math latex equation using any html tag. The string be like y = x2  or (x = sqrt{y}) . For all (y geq 0), x is defined. Thus, y is set of all non-negative and real number. Hence, range is (y geq 0) or [0, ∞). I want output like y = x2  or <math>(x = sqrt{y})</math>

Advertisement