Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Substitution

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46814] Re: Substitution
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 9 Mar 2004 04:31:00 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <c2hdjb$ac3$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

it works well for me
<< Utilities`Notation`

\!\(\*
  RowBox[{"Symbolize", "[", 
    TagBox[\(p\_D\),
      NotationBoxTag,
      TagStyle->"NotationTemplateStyle"], "]"}]\)

p = a x + b x;

and

\!\(p + p\_D\)

gives
\!\(p\_D + a\ x + b\ x\)

Regards
  Jens


"Bruce W. Colletti" wrote:
> 
> How to make the variable Subscript[p,D] wholly unrelated to variable p?
> 
> For instance, the notebook...
> 
> p = a x + b x;
> p + Subscript[p,D]
> 
> ...produces a x + b x + Subscript[ax+bx,D].
> 
> But I want p + Subscript[p,D] and thereafter, to freely use
> Subscript[p,D] without it being affected by the p-value.  Symbolizing
> Subscript[p,D] didn't work.
> 
> Thankx.
> 
> Bruce


  • Prev by Date: Re: Problem with Mathematica driving me nuts
  • Next by Date: RE: Problem with Mathematica driving me nuts
  • Previous by thread: Substitution
  • Next by thread: Problem with Mathematica driving me nuts