From: "kauśika via ntg-context" <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: kauśika <citturs@gmail.com>
Subject: Achieving the effect of \overset outside math mode
Date: Fri, 12 Nov 2021 08:17:24 +0530 [thread overview]
Message-ID: <5765414.lOV4Wx5bFT@sreeramtplt> (raw)
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
___________________________________________________________________________________
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 reply other threads:[~2021-11-12 2:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-12 2:47 kauśika via ntg-context [this message]
2021-11-12 2:49 ` kauśika via ntg-context
2021-11-12 3:02 ` Rik Kabel via ntg-context
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=5765414.lOV4Wx5bFT@sreeramtplt \
--to=ntg-context@ntg.nl \
--cc=citturs@gmail.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).