Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5067 > unrolled thread

Re: (x - 1) or (-1 + x)

Started byDrMajorBob <btreat1@austin.rr.com>
First post2011-09-19 11:06 +0000
Last post2011-09-19 11:06 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: (x - 1) or (-1 + x) DrMajorBob <btreat1@austin.rr.com> - 2011-09-19 11:06 +0000

#5067 — Re: (x - 1) or (-1 + x)

FromDrMajorBob <btreat1@austin.rr.com>
Date2011-09-19 11:06 +0000
SubjectRe: (x - 1) or (-1 + x)
Message-ID<j577nv$j5d$1@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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web