Re: Avoid the use of certain functions

*To*: mathgroup at smc.vnet.net*Subject*: [mg111035] Re: Avoid the use of certain functions*From*: "David Park" <djmpark at comcast.net>*Date*: Sun, 18 Jul 2010 01:02:26 -0400 (EDT)

You could always do something like this: MakeBoxes[Csc[x_], form : (StandardForm | TraditionalForm)] := InterpretationBox[#1, #2] & @@ {MakeBoxes[HoldForm[1/Sin[x]]], Csc[x]} 1/Sin[x] % // FullForm Use MakeBoxes[Csc[x_], form : (StandardForm | TraditionalForm)] =. to clear the definition. Frankly, I wouldn't do that kind of formatting because it is too special and is hiding what Mathematica is actually working on and may not give the intended result with more complicated expressions. Clearly, you are trying to use Mathematica in a way that gives clearer results in a textbook form. This is a good idea. If you gave some specific examples you might obtain better answers. David Park djmpark at comcast.net http://home.comcast.net/~djmpark/ From: Sam Takoy [mailto:sam.takoy at yahoo.com] Hi, Is there a way to ask Mathematica to avoid expressing answers in terms of certain functions. For example, I can stand Sec, Csc, Sech, and Csch and would rather see Sec^-1, etc. Thanks!