View Single Post
Old 06-16-2013, 08:44 AM   #12
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,539
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by phossler View Post
Actually, I tried that also, but a lot of the text seemed to overlay

Paul
Hi Paul;

It seems that you didn't watch my epub Superscripts and underscripts are not problems any more in ADE with the following styles:

Code:
sup, sub {
  font-size: 50%;
  line-height: 0.5em;
}
Also, instead of using <sup>anything</sup> or <sub>anything</sub> you can also use directly the following characters:

º ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ª ⁿ ----> for superscripts
₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ ----> for underscripts

Of the same way, you can construct fractions by:

Code:
<sup>any numbers</sup>&nbsp;/&nbsp;<sub>any numbers</sub>
Or by employing:

º ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ª ⁿ / ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉

You can construct square roots by using the following style:

Code:
.overline {
  display: inline-table;
  text-indent: 0;
  border-top: 1px solid black;
  text-align: left !important;
  padding-left: 0.5em;
}
and writting in the .html file -for example:

Code:
<p>c = √<span class="overline">a<sup>2</sup> + b<sup>2</sup>&nbsp;</span></p>
or

Code:
<p>c = √<span class="overline">a² + b²&nbsp;</span></p>
Finally, as I told you before, you can control the spaces between letters by:

Code:
.ls {
  letter-spacing: 0.2em; /* of course, instead of 0.2em you'll use the value of your convenience, even negative values*/
}
All of that works in ADE.

Regards

Last edited by RbnJrg; 06-16-2013 at 09:13 AM.
RbnJrg is offline   Reply With Quote