## Forum archive 2000-2006

### Gregg Klein - absolute value

by Arnold Pizer -
Number of replies: 0
 absolute value topic started 10/28/2002; 1:52:24 PMlast post 10/29/2002; 12:59:48 AM
 Gregg Klein - absolute value  10/28/2002; 1:52:24 PM (reads: 4129, responses: 1) what is the code to display the absolute value symbol? <| Post or View Comments |>

 Arnold K. Pizer - Re: absolute value  10/29/2002; 12:59:48 AM (reads: 4508, responses: 0) Hi Greg, This is a LaTeX question. The short answer is "use the vertical bar key on your keyboard." For a longer answer, this is what a Google search for "absolute value latex" found:  LaTeX provides parenthesis-like symbols that will expand vertically so that they are tall enough to look well-matched to the height of the formula that they enclose. As an example, take the source code: $left| frac{A+B}3 right|$ It produces a displayed version of the formula |(A+B)/3| in which the absolute value delimiters are expanded somewhat in length. NOTE: The symbol | is located above the backslash on most keyboards. It works properly only in math environments. You can also use \vert to get the same result.   See Arnie <| Post or View Comments |>