This site is supported by donations to The OEIS Foundation.
User:Daniel Forgues/Sandbox
From OeisWiki
(Put code for testcases in /Testcases.)
Tests: Exponents and subscripts
The code{{math|''x''<sup>''n''</sup>, ''x''<sub>''n''</sub>|&}}
yields the text style HTML+CSS: xn, xn |
The code {{math|''x''<sup>''n''</sup>, ''x''<sub>''n''</sub>|&&}}
yields the display style HTML+CSS
xn, xn
{{math|''x''{{^|''n''}}, ''x''{{sub|''n''}}|&}}
yields the text style HTML+CSS: x n, xn |
The code {{math|''x''{{^|''n''}}, ''x''{{sub|''n''}}|&&}}
yields the display style HTML+CSS
x n, xn
The code {{math|''x''{{^|''n''|HTM}}, ''x''{{sub|''n''|HTM}}|&&}}
yields the display style HTML+CSS
x n, xn
{{math|''x''<sup>2</sup>, ''x''<sub>2</sub>|&}}
yields the text style HTML+CSS: x2, x2 |
The code {{math|''x''<sup>2</sup>, ''x''<sub>2</sub>|&&}}
yields the display style HTML+CSS
x2, x2
{{math|''x''{{^|2}}, ''x''{{sub|2}}|&}}
yields the text style HTML+CSS: x 2, x2 |
The code {{math|''x''{{^|2}}, ''x''{{sub|2}}|&&}}
yields the display style HTML+CSS
x 2, x2
The code {{math|''x''{{^|2|HTM}}, ''x''{{sub|2|HTM}}|&&}}
yields the display style HTML+CSS
x 2, x2