সাঁচ:Sfrac nobar/doc

ৱিকিউৎসৰ পৰা
Jump to navigation Jump to search

Script error: No such module "Autotranslate". 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}}
A B/C (integer, numerator and denominator)
{{sfrac nobar|A|B}}
A/B (numerator and denominator)
{{sfrac nobar|A}}
1/A (denominator only)

Examples[সম্পাদনা কৰক]

1/2 1/3 2/3 4/2 6♭/2 16 2/4 celli/basses

Vertical align[সম্পাদনা কৰক]

Vertical alignment can be changed. Compare

{{sfrac nobar|16|2|4}} leading to 16 2/4

{{sfrac nobar|16|2|4|vertical-align=0.1}} leading to 16 2/4

See also[সম্পাদনা কৰক]

  • {{frac}}, displays common fractions using a fraction slash
  • {{mfrac}}, displays common fractions using a horizontal bar
  • {{sfrac}}, displays common fractions using a horizontal bar
  • {{dual line}}, displays two lines of text as an inline block