From: Rik Kabel via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Rik Kabel <ConTeXt@rik.users.panix.com>
Subject: Re: Achieving the effect of \overset outside math mode
Date: Thu, 11 Nov 2021 22:02:17 -0500 [thread overview]
Message-ID: <484e05d7-9d3f-55b4-8ef4-ab287b52e64f@rik.users.panix.com> (raw)
In-Reply-To: <5765414.lOV4Wx5bFT@sreeramtplt>
On 2021-11-11 21:47, kauśika via ntg-context wrote:
> Dear list,
>
> I don't have a MWE per se, but as the title suggests, I want to be able to
> achieve the effect of \overset outside math mode. As I understand, \overset
> itself is implemented using \mathop and \limits.
>
> Currently to achieve this I have defined some macros using \offset thus :
> \define[1]\pabv{\dontleavehmode\offset[width=0em,y=-16pt,x=3pt]{#1}}
> Unfortunately, I have to hard code the x values. So I have define several such
> macros with different offsets. Not an elegant solution, but it is what I could
> muster.
>
> So, my objective is to place a smaller piece of text above another larger
> piece of text so that the text above is centered w.r.t the text below.
>
> Please advise.
>
> Thanks,
> kauśika
Search for defineruby on the mailing list archives.
--
Rik
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-11-12 3:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-12 2:47 kauśika via ntg-context
2021-11-12 2:49 ` kauśika via ntg-context
2021-11-12 3:02 ` Rik Kabel via ntg-context [this message]
2021-11-12 3:20 ` kauśika via ntg-context
2021-11-12 4:45 ` Aditya Mahajan via ntg-context
2021-11-12 5:34 ` Wolfgang Schuster via ntg-context
2021-11-12 6:25 ` kauśika via ntg-context
2021-11-12 6:26 ` kauśika via ntg-context
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=484e05d7-9d3f-55b4-8ef4-ab287b52e64f@rik.users.panix.com \
--to=ntg-context@ntg.nl \
--cc=ConTeXt@rik.users.panix.com \
/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).