Graphics[Text[Style["Sqrt[a^2-b^2]", FontSize->25], {0,0}]] 


enter image description here

but I want the nicer looking $\sqrt{a^2-b^2}$ instead of the ugly "Sqrt[a^2-b^2]". How?

  • $\begingroup$ Just leave out the quotes... Graphics[Text[Style[Sqrt[a^2 - b^2], FontSize -> 25], {0, 0}]] Use HoldForm if you don't want the quantities to evaluate. $\endgroup$ – rm -rf Feb 25 '14 at 16:02
  • $\begingroup$ Boy, do I feel stupid. Please make that an answer and I'll upvote/approve it. $\endgroup$ – user1722 Feb 25 '14 at 16:04
  • $\begingroup$ no worries. This was just a simple mistake, so feel free to just delete the question :) We've all been there (you don't want to see my first mma notebook :D) $\endgroup$ – rm -rf Feb 25 '14 at 16:07
  • $\begingroup$ @rm-rf ooooh, do show that one, will you? $\endgroup$ – Yves Klett Feb 25 '14 at 21:24
  • $\begingroup$ As tempted as I am to "rm -rf" my answer, there's an offchance that it will help someone even stupider, so I'll keep it. @rm-rf please turn your comment into answer so I can upvote/approve, thanks. $\endgroup$ – user1722 Feb 25 '14 at 22:43