Skip to main content
1 of 2
Roman
  • 49.9k
  • 2
  • 57
  • 132
str = "(E s+r_{13})(F_{13}s)(F_{3}s+r_{3})(F_{2}s+r_{2})(F_{12}s+r_{12})(F_{1}s+r_{1})(F_{23}s+r_{23})";
ToExpression[str, TeXForm]

(*    s Subscript[F, 13] (s Subscript[F, 1] + Subscript[r, 1])
      (s Subscript[F, 2] + Subscript[r, 2]) (s Subscript[F, 3] + Subscript[r, 3])
      (s Subscript[F, 12] + Subscript[r, 12]) (Es + Subscript[r, 13])
      (s Subscript[F, 23] + Subscript[r, 23])                              *)
Roman
  • 49.9k
  • 2
  • 57
  • 132