The LaTeX command for mathfrak g (๐ค) is \mathfrak{g} (fraktur g (Lie algebra)).
\mathfrak{g}Writing a paper? The table generator and the BibTeX cleaner are one click away, no account.
Write \mathfrak{g} inside math mode, that is between $โฆ$ for inline math or in a \[ โฆ \] or equation block for display math. This symbol needs the amssymb package, so add \usepackage{amssymb} to your preamble.
\mathfrak{g} is a math-mode symbol: in running text, wrap it in $...$. With unicode-math under XeLaTeX or LuaLaTeX, typing ๐ค in a formula gives the same symbol.
Open this example in the live preview: it renders as you type, with no compiler and no signup.
\mathcal{N}\mathcal{P}\mathcal{R}\mathcal{S}\mathcal{T}\mathcal{X}\mathscr{A}\mathfrak{h}\mathfrak{n}\dagger\ddagger^\circ\sharp\flatMore math symbols in LaTeX: the full table or search all 350+ LaTeX symbols.
Use \mathfrak{g} in math mode after adding \usepackage{amssymb} to your preamble. For example, $\mathfrak{g}$.
It comes from the amssymb package: add \usepackage{amssymb} to your preamble.