Quote:
Originally Posted by phossler
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> / <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> </span></p>
or
Code:
<p>c = √<span class="overline">a² + b² </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