Difference between revisions of "Template:Mabs/doc"
Jump to navigation
Jump to search
imported>Dmcq (Describe use of mabs) |
imported>Dmcq m (left out end of bolding) |
||
| Line 2: | Line 2: | ||
<!-- Categories and interwikis go at the bottom of this page. --> | <!-- 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 '''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. | 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. | ||
Revision as of 14:39, 21 March 2011
| File:Edit-copy green.svg | This is a documentation subpage for Template:Mabs. It contains usage information, categories and other content that is not part of the original template 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 {{math}} template and avoids having to use two {{!}} marks and makes the meaning more clear.
Usage
Use this to wrap an open-closed interval. For example:
We know that {{math|1={{mabs|''a''}} ≥ 0}}.
produces:
We know that |a| ≥ 0.
See also
- {{math}} which formats its argument as mathematics