Hertz in LaTeX (\text{Hz})
- LaTeX command
\text{Hz}- Package
- Add to your preamble:
\usepackage{amsmath} - Mode
- Text and math mode
Where it is used
Hertz, the SI unit of frequency: one cycle per second, dimensionally equal to inverse seconds.
Signal processing and acoustics quote frequencies like 440\,\text{Hz} for concert A and sampling rates like 44.1\,\text{kHz}; processors run in GHz. Angular frequency \omega = 2\pi f is customarily given in \text{rad}/\text{s}, not hertz, to avoid a factor-of-2\pi confusion. Keep the capital H and lowercase z. Prefixes attach directly, \text{MHz}, and the number takes a thin space before the unit. For radioactive activity the same dimension is named the becquerel instead. The period is the reciprocal, T = 1/f.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Hertz: $\text{Hz}$
\[ \omega = 2\pi f = 2\pi \times 50\,\text{Hz} \approx 314\,\text{rad/s} \]
\end{document}Related symbols
All 단위 및 측정 →Frequently asked questions
- How do I write Hertz in LaTeX?
- Type \text{Hz} in math mode, for example $\omega = 2\pi f = 2\pi \times 50\,\text{Hz} \approx 314\,\text{rad/s}$. Load amsmath first with \usepackage{amsmath}.
- Which package do I need for \text{Hz}?
- \text{Hz} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
- Can I use \text{Hz} in text mode, or only in math mode?
- Both. \text{Hz} 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로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기