সাঁচ:Mfrac
অৱয়ব
This template builds an alternative form of common fractions. It takes one, two or three parameters: the optional integer (may be signed), the optional numerator and the required denominator; in this order.
{{mfrac|x|y|z}} | → | |
{{mfrac||y|z}} | → | |
{{mfrac|x|y}} | → | |
{{mfrac|x||z}} | → | |
{{mfrac|x||}} | → | |
{{mfrac||y|}} | → | |
{{mfrac|||z}} | → | |
{{mfrac||w}} | → | |
{{mfrac|k}} | → | |
{{mfrac}} | → |
{{mfrac|A|B|C}}
- (integer, numerator and denominator)
{{mfrac|A|B}}
- (numerator and denominator)
{{mfrac|A}}
- (special case: interpolated reciprocal (sfrac compatibility))
{{mfrac||B}}
- (denominator only)
Examples
[সম্পাদনা কৰক]A leading 1 to allow for the relative positions compared to a standard character:
- 1
See also
[সম্পাদনা কৰক]- {{frac}}, displays common fractions using a fraction slash
- {{sfrac}}, displays common fractions using a horizontal solidus
- {{sfrac nobar}}, displays common fractions without a horizontal solidus
The above documentation is transcluded from সাঁচ:Mfrac/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |