Difference between revisions of "Template:Abs"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
blackwiki>Frietjes
Line 1: Line 1:
<includeonly>&#124;{{#if: {{{1|}}} |&#x200A;{{{1}}}&#x200A|&nbsp;&middot;&nbsp;}}&#124;</includeonly><noinclude>
+
<includeonly>&#124;{{#if: {{{1|}}} |&#x200A;{{{1}}}&#x200A;|&nbsp;&middot;&nbsp;}}&#124;</includeonly><noinclude>
 
{{documentation|content =
 
{{documentation|content =
 
This template may be used to enclose text between two pipes, typically denoting the [[absolute value]].
 
This template may be used to enclose text between two pipes, typically denoting the [[absolute value]].
Line 17: Line 17:
 
This template is equivalent to enclosing the text between two {{tlx|pipe}} templates (and a hair space &amp;#x200A; around the argument; a hair space being a 1.5 mu space, i.e. a 1/12 em space)
 
This template is equivalent to enclosing the text between two {{tlx|pipe}} templates (and a hair space &amp;#x200A; around the argument; a hair space being a 1.5 mu space, i.e. a 1/12 em space)
 
<pre>
 
<pre>
When {{math|{{pipe}}&amp;#x200A;<!-- hair space -->''x''&amp;#x200A{{pipe}} < 7}}, the function is positive.
+
When {{math|{{pipe}}&amp;#x200A;<!-- hair space -->''x''&amp;#x200A;{{pipe}} < 7}}, the function is positive.
 
</pre>
 
</pre>
When {{math|{{pipe}}&#x200A;<!-- hair space -->''x''&#x200A{{pipe}} < 7}}, the function is positive.
+
When {{math|{{pipe}}&#x200A;<!-- hair space -->''x''&#x200A;{{pipe}} < 7}}, the function is positive.
  
 
== See also ==
 
== See also ==

Revision as of 23:04, 29 March 2016

Template documentation

This template may be used to enclose text between two pipes, typically denoting the absolute value.

Usage

When {{math|{{abs|''x''}} < 7}}, the function is positive.

When | x | < 7, the function is positive.

The notation {{math|{{abs}}}} means '''absolute value'''.

The notation | · | means absolute value.

Alternatives

This template is equivalent to enclosing the text between two {{pipe}} templates (and a hair space &#x200A; around the argument; a hair space being a 1.5 mu space, i.e. a 1/12 em space)

When {{math|{{pipe}}&#x200A;<!-- hair space -->''x''&#x200A;{{pipe}} < 7}}, the function is positive.

When | x | < 7, the function is positive.

See also