Text in graphics
- To: mathgroup at yoda.physics.unc.edu
- Subject: Text in graphics
- From: Steven Wilkinson <WILKINSON at nkuvax.bitnet>
- Date: 23 Sep 1992 14:26:56 -0400 (EDT)
In Mma one can have text in graphics using the Graphics primitive "Text". Show[Graphics[Text["This is text.",{0,0}]]] Moreover, one can specify the font attributes of the text using the command "FontForm". Show[Graphics[Text[FontForm["This is text.",{Times-Roman,12}],{0,0}]]] Is it possible to use multiple fonts in some texts in graphics? For example one might wish to label a curve in a graph with y = f(x). When typeset, the y,f,x are usually italicized, whereas the equals sign and the parenthesis are in a roman font. Certainly, one could use 6 different Text primitives. However, there are problems with spacing, especially if the graphics are resized. Has anyone dealt with this problem before? Steven Wilkinson Northern Kentucky University WILKINSON at NKUVAX