On Friday, November 12, 2021 8:17:24 AM IST kauśika 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

I was able to get some working examples using the second answer here:
https://tex.stackexchange.com/questions/42456/creating-non-math-mode-substitutes-for-overset-and-underset-not-dependent-on-t

But, I was just curious if there is a more elegant ConTeXt specific way to 
achieve this.

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
___________________________________________________________________________________

Reply via email to