Oct-13-2016, 02:32 PM
Hiya!
I'm making a code from which the output I want to be able to copy into word. A few of the letters/numbers need to be super/sub scripted and I used unicode for that, e.g.
print(u'\u00B3')
which returns superscripted 3 as I want it to. However, when I copy it into Word, it looks superscripted but isn't actually so if you write the same text next to it in Word using the superscript there it looks different. As in the same document I will be writing things directly into Word and not copy from Python output I would like this to look the same. Does anyone have solutions to making super/sub script a different way so Word actually picks it up as that?
Cheers!
I'm making a code from which the output I want to be able to copy into word. A few of the letters/numbers need to be super/sub scripted and I used unicode for that, e.g.
print(u'\u00B3')
which returns superscripted 3 as I want it to. However, when I copy it into Word, it looks superscripted but isn't actually so if you write the same text next to it in Word using the superscript there it looks different. As in the same document I will be writing things directly into Word and not copy from Python output I would like this to look the same. Does anyone have solutions to making super/sub script a different way so Word actually picks it up as that?
Cheers!