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 Satuan & Pengukuran →

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 poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu peneliti dari 15+ universitas menulis makalah penelitian lebih cepat menggunakan AI

  • Hasilkan diagram TikZ yang indah menggunakan AI
  • Unggah gambar dan konversi ke LaTeX dengan mulus
  • Dapatkan bantuan instan untuk menulis dan memformat makalah penelitian