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


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

Re: Making (a*\[Theta]11)/(1+a^2) into (a/(1+a^2))*\[Theta]11

Started by"djmpark" <djmpark@comcast.net>
First post2013-06-26 04:59 +0000
Last post2013-06-26 04:59 +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: Making (a*\[Theta]11)/(1+a^2) into (a/(1+a^2))*\[Theta]11 "djmpark" <djmpark@comcast.net> - 2013-06-26 04:59 +0000

#15015 — Re: Making (a*\[Theta]11)/(1+a^2) into (a/(1+a^2))*\[Theta]11

From"djmpark" <djmpark@comcast.net>
Date2013-06-26 04:59 +0000
SubjectRe: Making (a*\[Theta]11)/(1+a^2) into (a/(1+a^2))*\[Theta]11
Message-ID<kqdsgd$n2t$1@smc.vnet.net>
You have to use something like HoldForm and this may or may not interfere
with further calculation. 

You could use:

a \[Theta]11/(1 + a^2);
% /. (r = Coefficient[%, \[Theta]11]) :> 
   HoldForm @@ {r} // TraditionalForm 

a/(1+a^2) \[Theta]11

The TraditionalForm is necessary to get the desired order of the two
factors.

With the Presentations Application you could use:

<<Presentations`

a \[Theta]11/(1 + a^2) // 
  MapLevelParts[HoldForm, {{1, 2}}] // TraditionalForm 

a/(1+a^2) \[Theta]11

And I'm sure you'll get a number of other answers.


David Park
djmpark@comcast.net 
http://home.comcast.net/~djmpark/index.html 





From: PiMan [mailto:kevingrady4@gmail.com] 

Hi, I have a formatting question.

In the output of an equation I am getting the term (a*\[Theta]11)/(1+a^2).
However, \[Theta]11 is the variable of interest here, and I would like the
term to be written as as a coefficient times \[Theta]11 and not include
\[Theta]11 in the ratio.  That is, I would like the output to read
(a/(1+a^2))*\[Theta]11 instead.  Does anyone have an idea of how I might be
able to do this?  Thanks.

[toc] | [standalone]


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


csiph-web