0
$\begingroup$

I need to add a FrameLabel that is "Mass lost, M_l [10^-3 kg]". I would like to have "l" as a subscript to M and "-3" as a superscript to 10.

$\endgroup$
  • 1
    $\begingroup$ Look at Superscript and Subscript in the online help. $\endgroup$ – JimB Jan 27 '17 at 2:20
  • $\begingroup$ You can type this in directly as a string with keyboard shortcuts. See this answer which shows how to do this. Use Ctrl+- to enter subscript and Ctrl+Space to exit it. $\endgroup$ – Edmund Jan 27 '17 at 3:46
0
$\begingroup$
"Mass Lost, \!\(\*SubscriptBox[\(M\), \(I\)]\) \[\!\(\*SuperscriptBox[\(10\), \(-3\)]\)kg]"

or

Row[{"Mass Lost, ", Subscript["M", "I"], "[", Superscript["10", "-3"],"kg]"}]
$\endgroup$
  • $\begingroup$ Thank you - it worked beautifully (I only had to replace "backslash[" by "["). $\endgroup$ – Paul C Jan 27 '17 at 19:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.