This is what I expected
I have tried $succ#sub[W(succ#sub['])]$
but this is what I got
. I have to use
sub
because _
makes the notation incorrect. So what is the way to subscript text with symbols and texts included.
Thanks.
This is what I expected
I have tried $succ#sub[W(succ#sub['])]$
but this is what I got
. I have to use
sub
because _
makes the notation incorrect. So what is the way to subscript text with symbols and texts included.
Thanks.
Does this achieve what you are looking for?
$succ#sub[$W([succ'])$]$
The change was to surround everything within sub[]
with $$
so that it is interpreted as math. Calling #sub
switches from math mode to content mode so you need to switch back to math.
To get the W closer to the initial succ symbol, you can add a 0pt
horizontal distance:
$succ#h(0pt)#sub[$W([succ'])$]$
Oh nice. That’s what I’m looking for. Thank you!
Try this(for single use)
$ attach(succ, br: W([succ'])) $
If you’d like all your succ
operators to be like that, then you can redefine the text operator:
// It seems that the default succ definition has limits: true
#let succ = math.op(sym.succ, limits: false)
$ succ_(W([succ'])) $