View Single Post
Old 05-18-2021, 07:49 PM   #11
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by JSWolf View Post
You don't need a line-height of 1. You can take that out. In fact, you can take out the entire class. You don't need it. You also don't need <sup> for a footnote. You are best off with [##] (bolding it works well). You want the footnote to be large enough to be seen and pressed on.
I should have explained first my use case (which is generalized at least for French users). I use the sup tag for ordinals (like for XXe siècle, Ve armée) square or cubic roots (m3, km2), mathematical or chemical formulas, some titles and so on.

The sup tag can make use of its user agent (what I named a "naked" tag). However it's most frequent value for vertical-align is super which may create gaps between lines with text using a tight line-height. You can check this using the inspector of the Calibre editor.


I do not use sup tags for notes. For note anchors, I use a a tag with a class. By the way, if this anchor class uses the value text-top, you'll be advised to escort it with
Code:
line-height:1;
as for the sup tag above.

Before October 2019, I also took care to insert brackets for note anchors. After this date, for my personal use, Koreader put an end to my suffering and allowed me to use inline notes (ePub3) or pop-up notes as an option which do not require such a step. Of course, if you publish or convert a book, you may have to insert brackets, bold, color, emoticons, whatever suits better...

Since this post has been interpreted as a post dealing with notes (it's not, it's about superscript), I'll share with you an aside-unrelated-note.
[aside]

In chess, the so-called mildly ironical "French school of suffering" expression has been coined after Maxime Vachier-Lagrave's play. Though he is one of the best current chess players, he was used to start unwillingly many of its games with a defective opening and, most of the time, managed later to set up quite a resilient but long and painful defence, hence the above name. Of course, these tremendous efforts could have been avoided if he had efficiently prepared these openings to begin with...

[/aside]

Last edited by roger64; 05-19-2021 at 12:07 AM.
roger64 is offline   Reply With Quote