Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5067
| From | DrMajorBob <btreat1@austin.rr.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: (x - 1) or (-1 + x) |
| Date | 2011-09-19 11:06 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j577nv$j5d$1@smc.vnet.net> (permalink) |
| References | <201109180811.EAA06337@smc.vnet.net> |
First approach: x - 1 // TraditionalForm 4 (1 - q) // TraditionalForm If you do math with the results, you may have to apply TraditionalForm again (and again) ((and again)). (second) Use menu options Cell>Convert to>Traditional form or the key sequence Shift-Command-T to format a cell in traditional form. (third) I believe you can also set the default output (and input) format to TraditionalForm, but I have no idea how... and I think you won't always like the result. Documentation doesn't make it easy to find this, so I haven't. (fourth) You can use a style sheet that implements the third option. Bobby On Sun, 18 Sep 2011 03:11:17 -0500, Ralph Dratman <ralph.dratman@gmail.com> wrote: > > I feel like a small child asking this, but how can I get Mathematica to > say > (x - 1) instead of (-1 + x), or to give me > > 4 (1 - q) > > instead of the doubly annoying > > -4 (-1 + q) ? > > In brief, given the choice, I prefer to look at subtraction rather than > negation. The binary operator instead of the unary. > > I'm not asking Mathematica to read my mind about the way I want every > possible expression to look, rather I am hoping to find out how to > transform > something I don't like into something I like, in a way that is guaranteed > not to change the value of the expression. > > Ralph Dratman -- DrMajorBob@yahoo.com
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: (x - 1) or (-1 + x) DrMajorBob <btreat1@austin.rr.com> - 2011-09-19 11:06 +0000
csiph-web