1
$\begingroup$

So I know how to create variable names with subscripts/superscripts at the end (using ctrl+_ etc), however, how would I use them in the middle of a variable name?

$\endgroup$
1
  • 1
    $\begingroup$ Use an indexed variable and then format it for display anyway that you want. Format[x[m_, n_]] := Row[{"start", Subsuperscript["x", m, n], "end"}]; x[1, 2] $\endgroup$
    – Bob Hanlon
    Dec 17 '20 at 14:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.