Skip to main content
Cleaned up code
Source Link
VF1
  • 4.8k
  • 25
  • 31

With the suggested edits from Rojo in the comments above, the following is what answers my question:

Format[plus[args__]]plus[args__] := Interpretation[HoldForm[Plus[args]], Row[Riffle[{args}, " + "]]]"]] 

Then, Block[{Plus = plus}, x + 1 + i + 4 + z] // TraditionalForm returns:

enter image description here

With the suggested edits from Rojo in the comments above, the following is what answers my question:

Format[plus[args__]] := Interpretation[HoldForm[Plus[args]], Row[Riffle[{args}, " + "]]] 

Then, Block[{Plus = plus}, x + 1 + i + 4 + z] // TraditionalForm returns:

enter image description here

With the suggested edits from Rojo in the comments above, the following is what answers my question:

plus[args__] := Row[Riffle[{args}, " + "]] 

Then, Block[{Plus = plus}, x + 1 + i + 4 + z] // TraditionalForm returns:

enter image description here

Source Link
VF1
  • 4.8k
  • 25
  • 31

With the suggested edits from Rojo in the comments above, the following is what answers my question:

Format[plus[args__]] := Interpretation[HoldForm[Plus[args]], Row[Riffle[{args}, " + "]]] 

Then, Block[{Plus = plus}, x + 1 + i + 4 + z] // TraditionalForm returns:

enter image description here