omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Force nonsuperscript character after a superscript character

    Editorial
    2
    3
    2235
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MDB
      MDB last edited by

      Hoping someone has a suggestion. I am writing a document which contains instances of a word ending with a superscript character. Looks like this -- time^2

      In preview mode or printing, the '2' correctly appears as a raised superscript character.

      Sometimes that word is followed by a comma or a period. When that happens, the comma or period also appears as superscript. This is not good. The only solution I've found so far is to use a space between the word and the punctuation. Also not good.

      Does anyone have any idea how to force the character immediately following a superscript character to appear normally, without putting a space between them?

      1 Reply Last reply Reply Quote 1
      • omz
        omz last edited by

        The only thing I can think of right now would be to use <sup> HTML tags.

        1 Reply Last reply Reply Quote 0
        • MDB
          MDB last edited by

          Don't know why I didn't think of that! Works perfectly. Thanks!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors