ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mathring circle above a letter
@ 2019-09-14  9:36 Otared Kavian
  2019-09-14 11:03 ` Atsuhito Kohda
  0 siblings, 1 reply; 6+ messages in thread
From: Otared Kavian @ 2019-09-14  9:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1501 bytes --]

Hi all,

The \mathring command puts a small circle above a letter, but in some fonts (namely Lucida OT) that circle is too small. So thanks to a hint by Hans and Wolfgang some years ago I use the following definition which works fine when used alone. But in maths, one needs sometimes to use it with the command \overline (or \overbar) and the result is not nice.

Can someone tell me please whether it is possible to modify the \mathring command so that th ecircle is a little bit larger, or the one I define below as \interior in order to have a correct result (more clearly said: I would like the small circle to be put above the bar which is itself above the A in $\interior{\overline{A}}$).

Thanks for any help: OK

%%% begin mathring-interior.tex
\setuppapersize[A5][A5]
\definemathstackers[MySymbol]
	[voffset=-1.2\mathexheight,
	hoffset=\zeropoint,
	mathclass=ord,
	topoffset=.3\mathemwidth, % poor man's italic correction
	middlecommand=\mathematics]
%\define[1]\interior{\mathover[MySymbol]{"2218}{#1}} %2218 U+00B0
\define[1]\interior{\mathover[MySymbol]{176}{#1}} %2218 U+00B0

\starttext
The interior of a set $A$ is denoted by $\interior{A}$.

The interior of a set $A$ is denoted by $\mathring{A}$.

The closure of the interior is $\overline{\interior{A}}$.

Beware $\overline{\interior{A}} \neq \interior{\overline{A}}$. (This is not nice\dots).

Beware $\overline{\mathring{A}} \neq \mathring{\overline{A}}$
\stoptext

%%% end mathring-interior.tex


[-- Attachment #2: mathring-interior.pdf --]
[-- Type: application/pdf, Size: 8797 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-09-14 13:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-14  9:36 mathring circle above a letter Otared Kavian
2019-09-14 11:03 ` Atsuhito Kohda
2019-09-14 11:50   ` Otared Kavian
2019-09-14 12:08     ` Atsuhito Kohda
2019-09-14 12:52       ` Otared Kavian
2019-09-14 13:07       ` Otared Kavian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).