both: x1k

long subscript w/ both: Z x+y+z j

long superscript w/ both: Z x k+j

long w/ both: Z x+y+z k+j

Wrapped in mrow: x1k

parts with various heights: xnfg +xfgn +fgnx