Skip to content

Parenthesis

Parenthesis(expr)

print expr with parenthesis surrounded in output forms.

Examples

>> x+Parenthesis(a+b+c)
x+(a+b+c)
>> TeXForm(x+Parenthesis(a+b+c))
x+(a+b+c)
>> MathMLForm(x+Parenthesis(a+b+c))