Difference between revisions of "Template:Mabs/doc"

From blackwiki
Jump to navigation Jump to search
imported>Gadget850
m (null edit)
imported>Primefac
(match parent)
 
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:Abs/doc]]
<!-- Categories and interwikis go at the bottom of this page. -->
 
 
 
The '''mabs''' template wraps its argument in two pipe marks. These are used to delimit an [[absolute value]] or modulus function in mathematics.
 
 
 
The template if designed for use in the {{tl|math}} template and avoids having to use two <nowiki>{{!}}</nowiki> marks and makes the meaning more clear.
 
 
 
==Usage==
 
Use this to wrap an expression. For example:
 
 
 
<pre>
 
We know that {{math|1={{mabs|''a''}} ≥ 0}}.
 
</pre>
 
 
 
produces:
 
 
 
We know that {{math|1={{mabs|''a''}} ≥ 0}}.
 
 
 
==See also==
 
* {{tl|math}} which formats its argument as mathematics
 
* {{tl|!}} which generates a single | character
 
 
 
<includeonly>
 
<!-- Categories and interwikis go here: -->
 
[[Category:Mathematical formatting templates|{{PAGENAME}}]]
 
</includeonly>
 

Latest revision as of 21:40, 19 November 2019

Redirect to: