I want to put some Tex code in my FrameLabels so they are consistent with my equations. So far, I managed to do it using things like:

ToExpression["\\Delta\\nu_{m} (MHz)", TeXForm] 

Now I want to display calligraphy letters like this: $\mathcal{F}_{t}$. If I just write:

ToExpression["\\mathcal{F}_{t}", TeXForm]

I get a simple $F_{t}$. How can I do that?

  • $\begingroup$ How about \[ScriptCapitalF]? $\endgroup$ – corey979 May 2 '19 at 16:43
  • $\begingroup$ That would generate a different cursive font. I could use that and change my TeX code to match that output... $\endgroup$ – Rodrigo May 2 '19 at 17:48
  • $\begingroup$ Have you already tried MaTeX? $\endgroup$ – Szabolcs May 2 '19 at 17:59
  • $\begingroup$ Heard about it, but I don't think it would work on Mathematica online. $\endgroup$ – Rodrigo May 2 '19 at 21:45

Give MaTeX a try.

<< MateX`

Graphics[{}, Frame -> True, 
 FrameLabel -> MaTeX /@ {"\\text{$\\Delta\\nu_{m}$ (MHz)}", "\\mathcal{F}_{t}"}]

enter image description here

| improve this answer | |
  • $\begingroup$ I heard about it, but I can't use it on Mathematica online. $\endgroup$ – Rodrigo May 2 '19 at 21:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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