Message Boards Message Boards


Display an expression in its original form

Posted 9 years ago
0 Replies
1 Total Likes

I want to display a expression-string as expression in its original Form. I tried the following:

enter image description here

"ToExpression" in combination with "HoldForm" makes what I want, but in some cases it shows "-(-...)" as "--..." (marked as red in the picture above). Is there a possibility to force mathematica to show all brackets?

POSTED BY: Juerg Baertsch
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract