Added missing underscore in Latex sum example

master
ilv 2016-02-12 05:14:03 +00:00
parent 82f8b6605f
commit 9dc03e6c46
2 changed files with 3 additions and 3 deletions

View File

@ -30,8 +30,8 @@ my %texCommands = (
">" => ['Logical Greater Than', '>' , '$A > B$', 'https://en.wikibooks.org/wiki/LaTeX/Mathematics#Symbols'],
#math functions
"sum" => ['Summation', '\sum_{lower}^{upper}', '$\sum{i=0}^{10} x^{2}$', 'https://en.wikibooks.org/wiki/LaTeX/Mathematics#Sums_and_integrals'],
"summation" => ['Summation', '\sum_{lower}^{upper}', '$\sum{i=0}^{10} x^{2}$', 'https://en.wikibooks.org/wiki/LaTeX/Mathematics#Sums_and_integrals'],
"sum" => ['Summation', '\sum_{lower}^{upper}', '$\sum_{i=0}^{10} x^{2}$', 'https://en.wikibooks.org/wiki/LaTeX/Mathematics#Sums_and_integrals'],
"summation" => ['Summation', '\sum_{lower}^{upper}', '$\sum_{i=0}^{10} x^{2}$', 'https://en.wikibooks.org/wiki/LaTeX/Mathematics#Sums_and_integrals'],
"fraction" => ['Fraction', '\frac{numerator}{denominator}', '$\frac{A}{B}$', 'https://en.wikibooks.org/wiki/LaTeX/Mathematics#Fractions_and_Binomials'],
"limit" => ['Limit', '\lim{bound}', '$\lim{x \to +\infty} 2x^{2}$', 'https://en.wikibooks.org/wiki/LaTeX/Mathematics#Operators'],
"integral" => ['Integral', '\int_lowerbound^upperbound', '$\int_a^b f(x)dx$', 'https://en.wikibooks.org/wiki/LaTeX/Mathematics#Sums_and_integrals'],

View File

@ -22,7 +22,7 @@ Example: $\int_a^b f(x)dx$',
html => qr/\\int_lowerbound\^upperbound/,
heading => 'Integral (LaTeX)'),
'latex summation' => test_zci('LaTeX command: \sum_{lower}^{upper}
Example: $\sum{i=0}^{10} x^{2}$',
Example: $\sum_{i=0}^{10} x^{2}$',
html => qr/\\sum_\{lower\}\^\{upper\}/,
heading => 'Summation (LaTeX)'),
);