|
Posted by Jukka K. Korpela on 08/07/07 20:53
Scripsit I V:
> On Tue, 07 Aug 2007 13:55:28 +1000, dorayme wrote:
>
>> I cannot seem to find quickly enough how to write a recurring
>> decimal in HTMl. Anyone please? I am using Unicode UTF-8 for most
>> of my html files but am happy to follow other advice where this
>> recurring decimal point is needed.
>
> U+0307 is the code point for "Combining dot above."
The notation referred to uses a "vinculum", a line over a digit. Thus, this
would be a job for combining macron or combining overline rather than
combining dot above.
> On my computer, though, it looks kind of ugly used with figures, as
> the dot in the font appears to be placed to go above small letters,
> and collides with the tops of (lining) figures or capital letters.
The results inevitably depend on the font and on the browser, when combining
diacritic marks are used.
The approach of using text-decoration: overline or border-bottom give more
consistent results.
But a notation like 0.333... is probably best. It's reasonably
self-explanatory and clear and requires no special techniques. You can use
the horizontal ellipsis character instead of "..." to get better typography,
but the result depends on the font.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|