We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

upper index in table of contents [closed]

asked 2012-02-25 18:08:56 +0200

anonymous user


updated 2020-07-27 19:58:54 +0200

Alex Kemp gravatar image

Lets say I have a Heading title 2^3=8 in it. Normally, you write it without ^ sign and with 3 in upper index level: 23=8

It works, but in the table of contents I can see 23=8 - all the letters are normal size. Any suggestions?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-15 05:07:33.977857

2 Answers

Sort by » oldest newest most voted

answered 2012-02-25 21:50:18 +0200

peterR gravatar image

Rather than use superscript to raise the character use a superscript character in the font. Arial and Times New Roman both contain 1 2 3 as superscript characters. 3 for example is U+00B3. Some fonts, like DejaVu Sans contain more superscripted numbers. As these are inserted, unmodified, they show up the same in both the heading and the TOC

edit flag offensive delete link more


That is why I mentioned "Some fonts, like DejaVu Sans contain more superscripted numbers." in case you need more than 1 2 3. U+2070 to U+2079 is 0-9 as superscript (U+2080 to U+2089 subscripted numbers). Also + - ( ) in both sub and superscript

peterR gravatar imagepeterR ( 2012-02-27 21:15:49 +0200 )edit

answered 2012-02-27 09:00:59 +0200

d gravatar image

Thanks peterR but I need more characters than the dedicated 1,2 and 3.

edit flag offensive delete link more

Question Tools


Asked: 2012-02-25 18:08:56 +0200

Seen: 908 times

Last updated: Feb 27 '12