Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Superscript, ID 5.5, ID to epub, superscript

Return to Member Forum

  • Author
    Posts
    • #69749
      Mark Blondin
      Member

      Hello,

      When I export our book from Indesign to epub, the superscript rides above the text line which creates a wider line space above which looks silly. Any suggestions to fix?

      Worst case, I thought about increasing the line spacing. It seems as though there is an adjustment of the superscript (footnotes) that might lower them?

      Help will be much appreciated.

      Mark

    • #69810
      Aaron Troia
      Participant

      Yeah, that does happen (you see it a lot on the Kindle), and I agree that it doesn’t look the best. Well apart from unzipping the ePub and playing with the CSS, have you tried using a Character Style for your Superscript and playing with the baseline shift? I’m not sure playing with the leading in the InDesign file will do much as the superscript is more or less pushing your leading down so increasing your leading will just push it down further, I think this is because everything is on the same layer in the CSS. Another option that I have seen used on the Kindle is using brackets to denote footnotes[1] links in the text, though not as pretty, it’s another idea.

    • #70219

      You’ll need to modify the CSS for the superscript span style (it will have the same name as your superscript character style in InDesign) and/or the HTML <sup> tag, whichever is being used in your ePub’s HTML. The following works for me:

      .superscript {
      font-size: 75%;
      line-height: 0;
      vertical-align: super;
      }

      sup {
      line-height: 0;
      }

      The period in front of “superscript” makes it a CSS definition that can be used as a span—the ePub equivalent of an InDesign character style. The “pub” definition does not have a period because it is a standard HTML tag.

Viewing 2 reply threads
  • The forum ‘EPUB and eBook’ is closed to new topics and replies.
Forum Ads