Forcing Mathematica 3.0 to display a superscript 1/2 rather than a square root sign
- To: mathgroup@smc.vnet.net
- Subject: [mg11043] Forcing Mathematica 3.0 to display a superscript 1/2 rather than a square root sign
- From: Adrian Cable <megalith@jimc.demon.co.uk>
- Date: Wed, 18 Feb 1998 20:31:42 -0500
- Organization: MeGALiTH Software Ltd
Hi there, I'm writing a little package to handle fractional derivatives, and it works well, with one exception. This is one of my definitions: D[f_[x_],{x_,q_}] := (f^q)[x] /; (Head[x] === Symbol) && (Head[q] === Real || Head[q] === Rational || Head[q] === Complex) This is because I want the half-derivative of f[x] to display as f(superscript 1/2)[x]. Unfortunately, instead, Mathematica displays this as it would Sqrt[f][x], which looks nonsensical. Is there any way in output that I can get it to preserve the superscript 1/2 (half) rather than displaying a square root sign? Am I being clear here? If not, let me know and I will elucidate!! Thanks, cheers, Adrian Cable.