1
$\begingroup$

How can one place the description/symbol "Alpha 40°" into the corner of a triangle drawn by Graphics/Triangle as it can be seen in the texts and drawings of Mathworld for example like one can see if he is looking for "Triangle"? Thanks a lot in advance.

$\endgroup$
2
  • $\begingroup$ Since you can input Unicode characters in Mathematica (e.g. FromCharacterCode[8736] for you case), your question is how to place text in a given position. You can look up the hep for Epilog. $\endgroup$
    – Hector
    Aug 21, 2016 at 19:41
  • 3
    $\begingroup$ Graphics[{Line[{{1, 0}, {0, 0}, {0, 1}, {1, 0}}], Text[Style[ FromCharacterCode[8736] <> "45" <> FromCharacterCode[176], FontColor -> Blue, FontSize -> 18], {.90, 0.03}]}] $\endgroup$
    – Hector
    Aug 21, 2016 at 19:45

1 Answer 1

1
$\begingroup$

For the sake of an answer (from the comment by Hector Aug 21 '16 at 19:45):

Graphics[{Line[{{1, 0}, {0, 0}, {0, 1}, {1, 0}}], 
  Text[Style[
    FromCharacterCode[8736] <> "45" <> FromCharacterCode[176], 
    FontColor -> Blue, FontSize -> 18], {.90, 0.03}]}]

enter image description here

$\endgroup$
1
  • $\begingroup$ BTW, it's CW and an upvote will take it off the unanswered list. $\endgroup$
    – Michael E2
    Jul 9, 2019 at 17:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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