Kelvin in LaTeX (\text{K})

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

Where it is used

Kelvin, the SI base unit of thermodynamic temperature, with zero at absolute zero.

Since 1967 the unit is written K with no degree sign: 300 K, not 300 °K. Absolute zero is 0 K, water's triple point 273.16 K, and T(\text{K}) = T(^{\circ}\text{C}) + 273.15. Unit symbols must be upright, which \text provides; an italic K is a variable, such as an equilibrium constant or a stiffness. Leave a thin space between number and unit, 4.2\,\text{K}. In italic theorem text \mathrm{K} is safer since \text would follow the italic font.

Minimal compilable example

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

T=273.15 K+25=298.15 KT = 273.15\,\text{K} + 25 = 298.15\,\text{K}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Kelvin: $\text{K}$

\[ T = 273.15\,\text{K} + 25 = 298.15\,\text{K} \]
\end{document}

Related symbols

All 단위 및 측정 →

Frequently asked questions

How do I write Kelvin in LaTeX?
Type \text{K} in math mode, for example $T = 273.15\,\text{K} + 25 = 298.15\,\text{K}$. Load amsmath first with \usepackage{amsmath}.
Which package do I need for \text{K}?
\text{K} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
Can I use \text{K} in text mode, or only in math mode?
Both. \text{K} 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로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기