Prime (feet/minutes) in LaTeX (')

′'
LaTeX command
'
Package
No package needed: built into LaTeX
Mode
Text and math mode
Copy the Unicode character
′U+2032

Where it is used

A single prime, marking feet, arcminutes or minutes of time after a number.

In math mode an apostrophe turns into a superscript prime, so 5'\,9'' reads five feet nine inches, and 12^{\circ}\,30' gives twelve degrees thirty arcminutes. Outside math mode, the apostrophe is a plain closing quotation mark and does not look like a prime, so put measurements in math mode. The same character produces derivative primes, f'(x), and marks transformed points or variables, A' and x'. For geographic coordinates like 40^{\circ}\,26'\,46'', insert thin spaces between the components so they do not run together.

Also listed under: الوحدات والقياسات

Minimal compilable example

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

40∘ 26′ 46′′40^{\circ}\, 26' \, 46''
\documentclass{article}
\begin{document}
Prime (feet/minutes): $'$

\[ 40^{\circ}\, 26' \, 46'' \]
\end{document}

Related symbols

All الهندسة →

Frequently asked questions

How do I write Prime (feet/minutes) in LaTeX?
Type ' in math mode, for example $40^{\circ}\, 26' \, 46''$. It works in plain LaTeX without loading any package.
Which package do I need for '?
None. ' is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use ' in text mode, or only in math mode?
Both. ' compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث