সাঁচ:Sfrac
অৱয়ব
1{{{1}}}
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. Please do not substitute it.
{{sfrac|A|B|C}}
- ABC (integer, numerator and denominator)
{{sfrac|A|B}}
- AB (numerator and denominator)
{{sfrac|A}}
- 1A (denominator only)
- vertical-align=-0.#en — default is -0.5em the larger the -ve fraction number the closer to the top
- font-size=#% — default is 85% the larger the percentage the larger the numbers
Examples
[সম্পাদনা কৰক]No adjustment but with a leading 1 (to judge alignment): 112 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516
vertical-align=-0.1em with a leading 1 (to judge alignment): 112 23 1516
font-size=60% with a leading 1 (to judge alignment): 112 23 1516
vertical-align=-0.1em with font-size=60% and a leading 1 (to judge alignment): 112 23 1516
See also
[সম্পাদনা কৰক]- {{frac}}, displays common fractions using a fraction slash
- {{mfrac}}, displays common fractions using LaTeX markup
- {{sfrac nobar}}, displays common fractions without a solidus
The above documentation is transcluded from সাঁচ:Sfrac/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. |