Superscript Charge in LaTeX (\text{Na}^{+})
- LaTeX command
\text{Na}^{+}- Package
- Add to your preamble:
\usepackage{amsmath} - Mode
- Math mode only
Where it is used
Ion notation with the charge as a superscript, here the sodium cation carrying a single positive charge.
Write multi-charge ions with the number before the sign, \text{Ca}^{2+} and \text{SO}_4^{2-}, following IUPAC order. Braces matter: ^{2+} keeps both characters in the superscript. A trailing minus in a superscript is treated as unary, so ^{-} renders cleanly. Use \mathrm{Na} instead of \text{Na} if the formula might appear inside an italic theorem or caption, since \text copies the surrounding font while \mathrm is always upright. When subscripts and charges coincide, the charge sits above the count, as in sulfate.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Superscript Charge: $\text{Na}^{+}$
\[ \text{NaCl} \to \text{Na}^{+} + \text{Cl}^{-} \]
\end{document}Related symbols
- Subscript Count
\text{H}_2\text{O} - Isotope
{}^{14}_{6}\text{C} - Delta (Upper)
\Delta - Down Arrow
\downarrow - Degree symbol
^{\circ} - Up Arrow
\uparrow
Frequently asked questions
- How do I write Superscript Charge in LaTeX?
- Type \text{Na}^{+} in math mode, for example $\text{NaCl} \to \text{Na}^{+} + \text{Cl}^{-}$. Load amsmath first with \usepackage{amsmath}.
- Which package do I need for \text{Na}^{+}?
- \text{Na}^{+} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
- Can I use \text{Na}^{+} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\text{Na}^{+}$ in running text.
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기