Re: Abs Symbol
- To: mathgroup at smc.vnet.net
- Subject: [mg16486] Re: Abs Symbol
- From: paulh (P.J. Hinton)
- Date: Tue, 16 Mar 1999 03:59:41 -0500
- Organization: Wolfram Research, Inc.
- References: <7cd5ou$o43@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <7cd5ou$o43 at smc.vnet.net>, Lawrence Walker
<lwalker701 at earthlink.net> writes:
> Is there a traditional version, '| |', of the function
> Abs[]?
The special characters \[LeftBracketingBar] and \[RightBracketingBar]
will be interpreted as absolute value if they appear within a
TraditionalForm FormBox:
In[1]:= FormBox[RowBox[{"\[LeftBracketingBar]", RowBox[{"-", "3"}],
"\[RightBracketingBar]"}], TraditionalForm] // MakeExpression
Out[1]= HoldComplete[Abs[-3]]
The way to take advantage of this is to use the front end menu command
sequence
Cell -> Default Input Format Type -> TraditionalForm
and then use the keyboard shortcuts Esc l| Esc and Esc r| Esc to
enter the bracketing bars.
--
P.J. Hinton
Mathematica Programming Group paulh at wolfram.com
Wolfram Research, Inc. http://www.wolfram.com/~paulh/
Disclaimer: Opinions expressed herein are those of the author alone.