how to write superscript in pdf?

15,145

I don't know which tool you use for creating PDF files, but since you are asking about PDF in general and not a specific tool, I checked with the PDF spec (I have a copy of the ISO standard), and found two points superscripts are mentioned:

PDF has a "Text raise" command (Ts), which can be used to make a superscript, but it doesn't change font size, so that should be done manually.

There is also a BaselineShift property for texts that can be used for the same effect.

So, in any tool you are using, you could increase baseline shift and reduce font size to make superscript.

Share:
15,145
Mr.T.K
Author by

Mr.T.K

I am web designer. Having good experience in CSS, Html, Photoshop and jquery Note: I'm ready to do freelance job. My contact Email: [email protected]

Updated on June 15, 2022

Comments

  • Mr.T.K
    Mr.T.K almost 2 years

    I have to edit 1st in pdf but i don't know how to do can anyone please help me out

    For example;

    Like this

    1st

    Is there any shortcut for the superscript in pdf. please help me out.

    Thanks

  • Cam
    Cam over 12 years
    Can you give a link to this PDF spec? I can't find documentation anywhere. Thanks
  • Mostafa
    Mostafa over 12 years
    The actual ISO standard (like other ISO standard documentations) is available for purchase from ISO. Fortunately, Adobe are providing this PDF for free. It's not the PDF standard, but has the same technical content.