Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Overriding Division Notation

  • To: mathgroup at
  • Subject: [mg26584] Re: [mg26570] Overriding Division Notation
  • From: Tomas Garza <tgarza01 at>
  • Date: Tue, 9 Jan 2001 01:51:58 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

If your problem is just displaying, you may convert the quotient into a
string and display it thus. E.g.,

displayQuotient[x_, y_] := ToString[x] <> " " <> ToString[y] <> "^-1"

displayQuotient[x, y]
x y^-1

If you want further to use the displayed quotient as a normal expression,


Tomas Garza
Mexico City

----- Original Message -----
From: "Jeff Hersh" <frumple*NOSPAM* at>
To: mathgroup at
Subject: [mg26584] [mg26570] Overriding Division Notation

> Hello,
> I need for division (a/b) to be displayed not as the usual
> a
> -
> b
> but as the product a b^-1 (the order matters!).
> Is there anyway to prevent Mathematic from automically displaying a/b as
> the former notation?
> Jeff
> --
> Jeffrey Hersh,PhD
> Remove the *NOSPAM* to reply.
> <insert amusing quote here>

  • Prev by Date: Fourier Transform and convolution.
  • Next by Date: Re: Overriding Division Notation
  • Previous by thread: Overriding Division Notation
  • Next by thread: Re: Overriding Division Notation