Template:Frac
From Avisynth wiki
(Difference between revisions)
Raffriff42 (Talk | contribs) m (typo) |
Raffriff42 (Talk | contribs) m (tweak) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | <span style="font-size: | + | <span style="font-size:67%;vertical-align:top">{{{1}}}</span>/<span style="font-size:67%;vertical-align:sub">{{{2}}}</span><noinclude> |
;Usage: | ;Usage: | ||
:'''<nowiki>{{</nowiki>Frac|''numerator''|''denominator''}}''' | :'''<nowiki>{{</nowiki>Frac|''numerator''|''denominator''}}''' | ||
;Sample Output: | ;Sample Output: | ||
− | :Resize to <span style="font-size: | + | :Resize to <span style="font-size:67%;vertical-align:top">1</span>/<span style="font-size:67%;vertical-align:sub">2</span> original size. |
;Why is it worth using? | ;Why is it worth using? | ||
Line 11: | Line 11: | ||
:Resize to 1/2 original size. | :Resize to 1/2 original size. | ||
* The alternative fraction - using HTML <nowiki><</nowiki>sup>/<nowiki><</nowiki>sub> | * The alternative fraction - using HTML <nowiki><</nowiki>sup>/<nowiki><</nowiki>sub> | ||
− | :Resize to <sup>1</sup>/<sub>2</sub> original size.</noinclude> | + | :Resize to <sup>1</sup>/<sub>2</sub> original size. |
+ | [[Category:Format_templates]] | ||
+ | </noinclude> |
Latest revision as of 21:51, 20 December 2015
{{{1}}}/{{{2}}}
- Usage
- {{Frac|numerator|denominator}}
- Sample Output
- Resize to 1/2 original size.
- Why is it worth using?
Because it looks a little better.
- The usual fraction - no special formatting:
- Resize to 1/2 original size.
- The alternative fraction - using HTML <sup>/<sub>
- Resize to 1/2 original size.