Difference between revisions of "Template:Frac/doc"
Jump to navigation
Jump to search
(Added category.) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<samp style="display:block;text-align:center">− {{ {{BASEPAGENAME}}|<var>numerator</var>|{{expr|<var>denominator − {{expr|{{ {{BASEPAGENAME}}|<var>numerator</var>|<var>denominator</var>}}}}}}}}, − {{ {{BASEPAGENAME}}|{{expr|<var>numerator</var> + {{expr|{{ {{BASEPAGENAME}}|<var>numerator|<var>denominator</var>}}</var>|<var>denominator}}}}}}</samp> | <samp style="display:block;text-align:center">− {{ {{BASEPAGENAME}}|<var>numerator</var>|{{expr|<var>denominator − {{expr|{{ {{BASEPAGENAME}}|<var>numerator</var>|<var>denominator</var>}}}}}}}}, − {{ {{BASEPAGENAME}}|{{expr|<var>numerator</var> + {{expr|{{ {{BASEPAGENAME}}|<var>numerator|<var>denominator</var>}}</var>|<var>denominator}}}}}}</samp> | ||
− | + | <includeonly>[[Category:Math]]</includeonly> |
Latest revision as of 06:00, 17 September 2021
Creates simple inline fractions like this one: numeratordenominator. There is no awareness of where the line is, so if the top or the bottom of the fraction is too tall, vertical centering will be wrong: − numeratornumeratordenominator denominator − , − numeratordenominator numerator + denominator