Template:Sfrac: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
--><span style="display: block; line-height: 1em; margin: 0.0em 0.125em; border-bottom: 1px solid;">{{#if: {{{3|}}}|{{{2}}}|{{#if: {{{2|}}}|{{{1}}}|1}}}}</span><!-- | --><span style="display: block; line-height: 1em; margin: 0.0em 0.125em; border-bottom: 1px solid;">{{#if: {{{3|}}}|{{{2}}}|{{#if: {{{2|}}}|{{{1}}}|1}}}}</span><!-- | ||
--><span style="border: 0; clip: rect(0, 0, 0, 0); clip-path: polygon(0px 0px, 0px 0px, 0px 0px); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;>/</span><!-- | --><span style="border: 0; clip: rect(0, 0, 0, 0); clip-path: polygon(0px 0px, 0px 0px, 0px 0px); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;>/</span><!-- | ||
--><span style="display: block; line-height: 1em; margin: 0. | --><span style="display: block; line-height: 1em; margin: 0.1em 0.1em;">{{{3|{{{2|{{{1|1}}}}}}}}}</span><!-- | ||
--></span><!-- | --></span><!-- | ||
--></span></includeonly><noinclude> | --></span></includeonly><noinclude> |
Revision as of 16:37, 10 January 2025
This template is the same as Wikipedia's vertical fraction template, except all of the CSS is done inline instead of in a separate sheet. The vertical form is the standard form for writing fractions used in mathematical, engineering, and scientific texts.
![]() |
This template should not be substituted. |
![]() |
This template uses TemplateStyles: |
See also
- Template:Fraction – for typesetting oblique fractions.