I'm trying to make this happen in Mathematica:



I tried

ToExpression["\\mathscr{G}_{\\text{\\textbullet}}", TeXForm, HoldForm],

but I had to abort.

It might be worth mentioning that I had this inside a Styled Text graphic like this: Style[Text[ToExpression["\\mathscr... I'm pretty sure that's an important thing as to why this isn't working, but I'm not sure what to do to get the desired result. I need it to have a position, and the position is dynamically changing based on user input.


closed as off-topic by 2012rcampion, bbgodfrey, gpap, dr.blochwave, Bob Hanlon May 18 '15 at 14:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – 2012rcampion, bbgodfrey, gpap, dr.blochwave, Bob Hanlon
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ Why did you have to abort that evaluation? It quickly evaluates to G for me. However, I suspect that is not what you want. What would you like as the output? $\endgroup$ – MarcoB May 17 '15 at 22:38
  • $\begingroup$ Also, you can edit your own questions as many times as you'd like. Please put all information in the question, rather than in a stream of comments. Under the question, there is an "edit" link. $\endgroup$ – MarcoB May 17 '15 at 22:38
  • $\begingroup$ \[ScriptCapitalG] might be better option here... $\endgroup$ – Sam May 17 '15 at 22:55
  • $\begingroup$ reference.wolfram.com/language/guide/SpecialCharacters.html is really helpful. $\endgroup$ – Sam May 17 '15 at 23:02
  • 1
    $\begingroup$ Try Subscript[\[ScriptCapitalG], \[FilledSmallCircle]], which you can enter as esc scG esc ctrl + _ esc fsci esc. For the empty circle, you can use esci instead of fsci. $\endgroup$ – 2012rcampion May 18 '15 at 1:37

Browse other questions tagged or ask your own question.