Template:Sfrac nobar

1{{{1}}}

Template documentation[view]  [history] [purge]

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

• {{mfrac}}, displays common fractions using LaTeX markup, e.g. ${\displaystyle \scriptstyle {\frac {1}{60}}}$