Subscript/superscript in paragraph text?


#1

Hi, I need to write things with superscript and subscript (like x squared, with the ‘x’ and the ‘2’ lifted), but I don’t know to to do this. Could you help?

Thanks!


#2

Anyone? Norm?


#3

Have you tried to copy and paste from another source? I’ve had some success doing it that way. Bellow the link and a couple of place that I used a ™

http://waterninja.net/water-softeners.html

Casey


#4

Hello @redrinus
Make a new css file and put in this:

.super{
vertical-align: super;
}
.sub{
vertical-align: sub;
}

Than add that css file to the page settings.
Select the text you want to sub or super and Wrap in span.
Then select that span and just enter sub or super as class.
See the X2 and X3 in the last screenshot which is how it will look in the browser.

Cheers


#5

Hi Casey, I see that you have the tilted TM, but this is (I think) a standard character. Thanks anyway for your help!


#6

Thanks Jakerlund, this works!!!

Of course it would be great if this could be included in Blocs, but for the time being this is in fact a very good solution. Also for other styles that are currently not supported. See image with the “177” tilted :slight_smile:

Cheers! Martin