I'm trying to annotate a plot with points of the form $\left(\frac{1}{2},\frac{1}{2}\right)$; my problem is that the parentheses don't stretch to cover the fraction. I think that what I want to do is to use a StyleBox
inside the Graphics
primitive to allow me to format the string using SpanMaxSize
, but StyleBox
is not a text string. I cannot figure out how to make this work. Is there an easier way?
So for example, if I use
Graphics[Text[Style["(1/2,sqrt(3)/2)", Black, 12], {-1.1, .8}]]
MaTeX["\\left(\\frac{1}{2}\\right)"]
$\endgroup$