Joule in LaTeX (\text{J})

J\text{J}
LaTeX command
\text{J}
Package
Add to your preamble:\usepackage{amsmath}
Mode
Text and math mode

Where it is used

Joule, the SI unit of energy, work and heat, equal to one newton-metre or kg·m²/s².

Kinetic energy \frac{1}{2}mv^2 comes out in joules when SI units are used, and molar quantities use \text{kJ}/\text{mol}. Torque is also N m dimensionally, but by convention it is written \text{N}\,\text{m} rather than J to signal it is not energy. Upright formatting keeps the unit distinct from italic J, which might be current density, a moment of inertia, or a Jacobian. Write the multiplication of units with a thin space or \cdot, such as \text{kg}\cdot\text{m}^2\,\text{s}^{-2}. Food energy in kilocalories converts at 1\,\text{kcal} = 4184\,\text{J}.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

Ek=12mv2=12(2 kg)(3 m/s)2E_k = \tfrac{1}{2} m v^2 = \tfrac{1}{2}(2\,\text{kg})(3\,\text{m/s})^2
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Joule: $\text{J}$

\[ E_k = \tfrac{1}{2} m v^2 = \tfrac{1}{2}(2\,\text{kg})(3\,\text{m/s})^2 \]
\end{document}

Related symbols

All Unit & Pengukuran →

Frequently asked questions

How do I write Joule in LaTeX?
Type \text{J} in math mode, for example $E_k = \tfrac{1}{2} m v^2 = \tfrac{1}{2}(2\,\text{kg})(3\,\text{m/s})^2$. Load amsmath first with \usepackage{amsmath}.
Which package do I need for \text{J}?
\text{J} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
Can I use \text{J} in text mode, or only in math mode?
Both. \text{J} compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Math poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI

  • Jana diagram TikZ yang cantik menggunakan AI
  • Muat naik imej dan tukar ke LaTeX dengan lancar
  • Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan