Meter in LaTeX (\text{m})

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

Where it is used

Metre, the SI base unit of length, defined via the speed of light in vacuum.

An upright m is the unit, while italic m usually means mass, so \text{m} or \mathrm{m} is essential: compare m = 2\,\text{kg} with h = 2\,\text{m}. SI style puts a space between value and unit and never pluralizes the symbol. Derived units combine with powers, \text{m}^2 and \text{m}^3, and prefixes attach directly, \text{km}, \text{mm}. Velocity is written \text{m/s} or \text{m}\,\text{s}^{-1}; journals vary, so check the house style. Do not confuse the symbol with the prefix milli, which also uses m.

Minimal compilable example

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

v=3.0×108 m s−1v = 3.0 \times 10^{8}\,\text{m}\,\text{s}^{-1}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Meter: $\text{m}$

\[ v = 3.0 \times 10^{8}\,\text{m}\,\text{s}^{-1} \]
\end{document}

Related symbols

All 단위 및 측정 →

Frequently asked questions

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