Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to use sub script and super script
How to use sub script and super script in Vanilla 2.1
x 2
x 2
x [sub]2[/sub]
x [sup]2[/sup]
Tagged:
0
Best Answers
-
vrijvlinder MVP
`<sub>subscript</sub>` `<sup>superscript</sup>`
<p>This text contains <sup>superscript</sup> text.</p>
needs to be wrapped in html
http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_sup
5 -
peregrine MVP
see
http://vanillaforums.org/addon/mathjaxcdn-plugin
for inputting info like
[Math y = \frac{1}{x^2-1} \hbox{ when $x \ne \pm 1$.} ]
with [Math ...... ]
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
6
Answers
<p>This text contains <sup>superscript</sup> text.</p>
needs to be wrapped in html
http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_sup
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
subscript
superscript
This text contains superscript text.
@vrijvlinder It's not working..
It may not be allowed here. What formatter are you using what editor ?
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
vertical-align: baseline;
How to remove this CSS style..@vrijvlinder I'm using ButtonBar..
It is very strange because using cleditor it shows up in the editor but when posting it the html tags get stripped.
I had the same problem using
<video>
or<audio>
tagsIt shows in the editor but gets stripped when posting it. I could not guess why. This works on github and other places but not here or in my forums.
Maybe @Linc has a clue? I do have those elements allowed in the config.php.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
use the mathjax plugin.
http://vanillaforums.org/discussion/comment/199690/#Comment_199690
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@peregrine How to use mathjax on vanilla 2.1
Take a look at these resources
http://www.mathjax.org
http://docs.mathjax.org/en/latest/community.html
http://www.mathjax.org/community/mathjax-in-use/mathjax-in-use-instructions-and-how-tos/
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
@vrijvlinder I can't enable Latex plugin.
why are you trying to enable Latex . you don't need it.
follow the instructions in the following thread and it will work
http://vanillaforums.org/discussion/comment/199690/#Comment_199690
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
see
http://vanillaforums.org/addon/mathjaxcdn-plugin
for inputting info like
[Math y = \frac{1}{x^2-1} \hbox{ when $x \ne \pm 1$.} ]
with [Math ...... ]
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.