Watt in LaTeX (\text{W})
- LaTeX command
\text{W}- Package
- Add to your preamble:
\usepackage{amsmath} - Mode
- Text and math mode
Where it is used
Watt, the SI unit of power: one joule transferred per second.
Power appears in P = VI, P = I^2 R, and radiative flux in \text{W}/\text{m}^2, as in the solar constant of about 1361\,\text{W}\,\text{m}^{-2}. The italic letter W usually means work, so the upright unit and the italic quantity can sit side by side: W = 10\,\text{J} over 2\,\text{s} gives 5\,\text{W}. Energy bills use kilowatt-hours, written \text{kW}\,\text{h} or \text{kWh}. Do not write W/s for energy; a watt is already a rate. Large plants are rated in megawatts, \text{MW}, and transmission losses are computed as I^2 R.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Watt: $\text{W}$
\[ P = \frac{W}{t} = \frac{600\,\text{J}}{120\,\text{s}} = 5\,\text{W} \]
\end{document}Related symbols
All 단위 및 측정 →Frequently asked questions
- How do I write Watt in LaTeX?
- Type \text{W} in math mode, for example $P = \frac{W}{t} = \frac{600\,\text{J}}{120\,\text{s}} = 5\,\text{W}$. Load amsmath first with \usepackage{amsmath}.
- Which package do I need for \text{W}?
- \text{W} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
- Can I use \text{W} in text mode, or only in math mode?
- Both. \text{W} 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로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기