Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

Re: The Del operator

  • To: mathgroup at smc.vnet.net
  • Subject: [mg24743] Re: The Del operator
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 9 Aug 2000 02:31:49 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <8mdm7r$5o4@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Jack Goldberg wrote:
> 
> Hi,
> 
> If you input  Del[x] you get as output  "inverted-delta"[x].
> I would like to incorporate a similar feature in a package I
> am writing,  to wit,
> 
> The output of  Chi[x,a,b]  should be  "Greek-lowercase chi"[x,a,b].
> 
> This must be very easy but I have not found reading these sections in
> the Book very helpful.  Thanks  ..
> 
> jack

Hi,

Format[Chi[a_, b_, c_], StandardForm] := "Greek-lowercase chi"[a, b, c]

will do what you want.

The more powerfull and modern version in the FE is

MakeBoxes[Chi[a_, b_, c_], fmt_:StandardForm] :=
    RowBox[{"a strange name with \[Chi] and \[SpaceIndicator] in it",
"[", 
      ToBoxes[a, fmt], ";", ToBoxes[b, fmt], "|", ToBoxes[c], "]"}]


Hope that helps
  Jens


  • Prev by Date: Re: A Functional Programming Question
  • Next by Date: Re: CleanSlate
  • Previous by thread: Re: The Del operator
  • Next by thread: Re: Cylindrical projection