Template:Frac
From Avisynth wiki
(Difference between revisions)
Raffriff42 (Talk | contribs) m (Category:Format_templates) |
Raffriff42 (Talk | contribs) m (tweak) |
||
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? |
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.