ਫਰਮਾ:Sfrac nobar
ਦਿੱਖ
1{{{1}}}
This template is based on {{sfrac}}, but omits the horizontal line. 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.
It can be used to represent time signatures and figured bass as in-line text, but can also be used for centered text in the form of a fraction without the bar.
{{sfrac nobar|A|B|C}}
- ABC (integer, numerator and denominator)
{{sfrac nobar|A|B}}
- AB (numerator and denominator)
{{sfrac nobar|A}}
- 1A (denominator only)
Examples
[ਸੋਧੋ]12 13 23 42 6♭2 1624 cellibasses
Vertical align
[ਸੋਧੋ]Vertical alignment can be changed. Compare
{{sfrac nobar|16|2|4}} leading to 1624
{{sfrac nobar|16|2|4|vertical-align=0.1}} leading to 1624
See also
[ਸੋਧੋ]- {{frac}}, displays common fractions using a fraction slash, e.g. ਫਰਮਾ:Frac
- {{mfrac}}, displays common fractions using LaTeX markup, e.g. ਫਰਮਾ:Mfrac
- {{sfrac}} for horizontal fraction line, e.g. 160
- {{sfrac nobar}}, displays common fractions without a fraction line, e.g. 160
- {{dual line}}, displays two lines of text as an inline block
- {{unifrac}}, displays the Unicode character for a fraction if it exists and otherwise delegates to {{frac}}, e.g. ਫਰਮਾ:Unifrac but ਫਰਮਾ:Unifrac
- {{frac13}}, displays ਫਰਮਾ:Frac13
- {{frac23}}, displays ਫਰਮਾ:Frac23