ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: How to put a circle on top of a character
Date: Tue, 29 Aug 2017 19:23:05 +0200	[thread overview]
Message-ID: <a53697b6-0cf2-59b0-1a19-0f94d49c6755@wxs.nl> (raw)
In-Reply-To: <E900890D-804D-4817-8B8C-2512C1B6018C@gmail.com>

On 8/29/2017 4:24 PM, Otared Kavian wrote:
> Thanks Aditya,
> 
> Indeed the solution is already there in luatex-math.tex…
> one can just use $\mathring{A}$ out of the box!
> 
> I see why I love ConTeXt :-)
I checked one of the stacker sub-mechanisms and fixed / extended something:

\starttext

\definemathstackers[symbol][voffset=-.30\mathexheight,hoffset=\zeropoint,color=red]

\definemathover[symbol][interiorset]["2217]

\startformula
     \mathover  [symbol]{"2217}       {A}
     \mathover  [symbol]{"2218}       {A}
     \mathover  [symbol]{"2219}       {A}
     \mathunder [symbol]       {"2217}{A}
     \mathunder [symbol]       {"2218}{A}
     \mathunder [symbol]       {"2219}{A}

     \mathdouble[symbol]{"2217}{"2217}{A}
     \mathdouble[symbol]{"2218}{"2218}{A}
     \mathdouble[symbol]{"2219}{"2219}{A}

     \mathring{A}
     \interiorset{A}^{\interiorset{A}^{\interiorset{A}}}
\stopformula

\stoptext

Maybe it comes in handy for weird cases.

(not yet uploaded)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2017-08-29 17:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29 12:54 Otared Kavian
2017-08-29 13:34 ` Aditya Mahajan
2017-08-29 14:24   ` Otared Kavian
2017-08-29 17:23     ` Hans Hagen [this message]
2017-08-29 19:56       ` Otared Kavian
2017-08-29 21:28         ` Hans Hagen
2017-08-30 11:45           ` Otared Kavian
2017-08-30 13:39           ` Otared Kavian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a53697b6-0cf2-59b0-1a19-0f94d49c6755@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).