Template:Frac

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (typo)
m (Category:Format_templates)
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>

Revision as of 01:43, 14 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.
Personal tools