How can I write in "curly" form of g enter image description here in an equation?

Just "g" gives me this enter image description here

  • 3
    You need a different math font, for example, \usepackage{mathptmx} Feb 9, 2016 at 19:07
  • 12
    Well, it's up to you, but please don't try to differentiate between closed ("curly" g) and open g. If you just like the look of the closed g more then it's your document, but do please bear in mind that it has no difference in meaning, and whether the change in font I think you'll need is worth it for a different g symbol is something you should carefully consider. Remember that maths uses italics and the point of the italic shape is to resemble a slanted style of handwriting (italic). very few people use a closed g in handwriting although many italic fonts do feature a closed g
    – Au101
    Feb 9, 2016 at 19:10
  • Possible duplicate: Importing a single symbol from a different font
    – Werner
    Feb 9, 2016 at 20:28
  • @Au101 can't agree more with you --- there are documents (some electronic application note, for example) that differentiate symbols just with the shape of the gliph... practically impossible to read "aloud in your head".
    – Rmano
    Feb 9, 2016 at 22:08
  • the computer modern slanted font has a closed "g", with the same slope as the italic, so with a bit of effort, that might be substituted. but as already advised, don't use both in the same document with different meanings. Feb 9, 2016 at 22:09

2 Answers 2


As noted in the comments the standard slanted font has a g of this form. You can use it as \textsl{g}:

Sample output




\( g_{\alpha,\beta,\gamma} \) vs. \( \textsl{g}_{\alpha,\beta,\gamma} \)


The package amstext is automatically loaded if you use amsmath or mathtools. In the above example the package is not needed, but without it you will not get good results if you use the symbol as a superscript or subscript.

Another caveat is that in the above code the symbol \textsl{g} will change with the surrounding text, for example \textbf{A bold sentence containing $\textsl{g}$ will have the symbol bold. That may or may not be what you want. If you need the symbol to be exactly the same regardless define a macro


and use \cg instead.


The question is old but I like to add my answer. Looking the image I think that with the combination of newtxtext and newtxmath it is possible to have the similar output that it is request of the user.


enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .