from manim import *

tex = MathTex("c", ">", "a", ">", "b")
for p in tex.submobjects:
    print(p.tex_string)
## 输出结果：
# c
# >
# a
# >
# b
