# Template:Sfrac

**Page Template:Screen reader-only/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").**1/1

This template builds an alternative form of common fractions, using a vinculum (horizontal line), for scientific and mathematical text. 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}}`

**Page Template:Screen reader-only/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").**A+B/C (integer, numerator and denominator)`{{sfrac|A|B}}`

**Page Template:Screen reader-only/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").**A/B (numerator and denominator)`{{sfrac|A}}`

## Examples[edit]

*a*²*b*

**Inside the {{math}} template (for inline math):**

*a*²*b*

**Inside the {{bigmath}} template (for standalone math):**

*a*²*b*

## See also[edit]

- Wikipedia:Rendering math
- {{frac}}, displays common fractions using a fraction slash
- {{su}} (
^{superscript}_{subscript}text) – to align both b=subscript & p=superscript - {{sub}} (
_{subscript}text) – to show a subscript - {{sup}} (
^{superscript}text) – to show a superscript - {{sup sub}} (text
^{sup}_{sub}) – for both 1=superscript & 2=subscript - Help:Displaying a formula#Fractions, matrices, multilines
- Help:Convert#Fractions
- Number Forms, a Unicode block consisting primarily of vulgar fractions
- OpenType fonts feature
*afrc*, CSS`font-variant-numeric:stacked-fractions`

with little support as of 2020