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 단위 및 측정 →

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 poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기