From 9d33bd19e24f980a84bea98df75dfebe80093776 Mon Sep 17 00:00:00 2001 From: NSoiffer Date: Thu, 13 Nov 2025 00:09:54 -0800 Subject: [PATCH 1/2] add table of suggested chars for accents/lines --- src/character-set.html | 96 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/src/character-set.html b/src/character-set.html index 18a15367..f58dcc95 100644 --- a/src/character-set.html +++ b/src/character-set.html @@ -526,6 +526,102 @@

Combining Characters

+
+

Accent Characters

+ +

There are a large number of look-alike characters that might be used to for + accents or diacritical marks above or below a base element. + However, fonts have limitations as to which of these can stretch and which have + proper positioning when used as accents. This section has recommendations + for which characters to use as accents in MathML. It is important to note that + only a limited number of fonts support proper mathematical layout. + Browsers and likely other software currently require the use of fonts with an OpenType MATH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Unicode code pointUnicode nameExample
U+0302Hat (stretches)xyẑ
U+02D8Checkx˘
U+02D8Brevex˘
U+007ETilde (stretches)xyz~
U+00B4Acutex´
U+0060Gravex`
U+002E (.)Dotx.
U+00A8Double dotx¨
U+2192 or U+27F6Vec (stretches) xyz + + xyz +
U+005F (not well supported)Bar over (stretches) xyz_
U+005F (not well supported)Bar under (stretches) xyz_
+

+ + + From 2caf80790f871dfe8a1c6a85d3e484db83cd86cb Mon Sep 17 00:00:00 2001 From: NSoiffer Date: Sun, 16 Nov 2025 13:05:58 -0800 Subject: [PATCH 2/2] redid table of accent chars --- src/character-set.html | 292 +++++++++++++++++++++++++++++------------ 1 file changed, 208 insertions(+), 84 deletions(-) diff --git a/src/character-set.html b/src/character-set.html index f58dcc95..42b3e15a 100644 --- a/src/character-set.html +++ b/src/character-set.html @@ -535,90 +535,214 @@

Accent Characters

proper positioning when used as accents. This section has recommendations for which characters to use as accents in MathML. It is important to note that only a limited number of fonts support proper mathematical layout. - Browsers and likely other software currently require the use of fonts with an OpenType MATH -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Unicode code pointUnicode nameExample
U+0302Hat (stretches)xyẑ
U+02D8Checkx˘
U+02D8Brevex˘
U+007ETilde (stretches)xyz~
U+00B4Acutex´
U+0060Gravex`
U+002E (.)Dotx.
U+00A8Double dotx¨
U+2192 or U+27F6Vec (stretches) xyz - - xyz -
U+005F (not well supported)Bar over (stretches) xyz_
U+005F (not well supported)Bar under (stretches) xyz_
-

+ Browsers and likely other software currently require the use of fonts with an OpenType MATH table. + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
UnicodeDescriptionGlyphExampleStretchyComments
U+0060grave`x`U+0300 looks poor in Chrome
U+00B4acute´x´U+0301 looks poor in Chrome
U+0302hat◌̂x̂x+ŷU+005E doesn't stretch in Chrome
U+007Etilde~x~x+y~U+0303 doesn't stretch; U+007E doesn't stretch in Chrome
U+005Flowline (mover)_x_x+y_U+00AF (overline) doesn't stretch in Chrome and displays poorly in Safari. U+0304 and U+0305 don't stretch anywhere
U+005Flowline (munder)_x_x+y_U+005F is a little better than U+0332, but Chrome doesn't stretch either for a few fonts and Safari doesn't stretch either for many fonts
U+02D8breve◌̆x˘U+02D8 is a little better horizontally positioned than U+0306
U+02D9dot above˙x˙U+002E is similar; U+0307 displays poorly in Chrome and Safari
U+00A8double dot◌̈x¨U+0308 displays poorly in Chrome
U+20DBtriple dotsxdisplays poorly in Chrome
U+20DCquadruple dotsxdisplays poorly in Chrome
U+0309hook above◌̉x̉displays poorly in Chrome
U+02DAring˚x˚U+030A displays poorly in Chrome
U+02C7caronˇxˇU+030C displays poorly in Chrome
U+21BCleft harpoonxx+yU+20D0 is poorly positioned in Chrome and doesn't stretch in most fonts in Safari. It is better in Firefox and Safari for single characters because U+21BC is a little long.
U+21C0right harpoonxx+yU+20D1 is poorly positioned in Chrome and doesn't stretch in most fonts in Safari. U+20D1 is better in Firefox and Safari for single characters because U+21C0 is a little long.
U+2192right arrowxx+yU+20D7 is poorly positioned in Chrome and doesn't stretch in most fonts in Safari. U+20D7 is better in Firefox and Safari for single characters because U+2192 is a little long. U+27F6 doesn't stretch in Chrome and Safari, and is too long for single characters.
U+23B4top square bracketxx+y
U+23B5bottom square bracketxx+y
U+23DCtop parenthesisxx+y
U+23DDbottom parenthesisxx+y
U+23DEtop curly bracketxx+y
U+23DFbottom curly bracketxx+y
+ +