Per (slash in units) in LaTeX (/)
- LaTeX command
/- Package
- No package needed: built into LaTeX
- Mode
- Text and math mode
Where it is used
Solidus used to mean 'per' in compound units like m/s, dividing one unit by another.
In math mode / is an ordinary symbol with no extra spacing, which gives the tight \text{m}/\text{s} look units need. SI rules allow only one solidus in a unit, so acceleration is \text{m}/\text{s}^2 and never m/s/s; for complicated units, negative exponents such as \text{J}\,\text{kg}^{-1}\,\text{K}^{-1} are clearer. Use parentheses when the denominator has several factors: \text{W}/(\text{m}^2\,\text{K}). For general fractions in displayed equations, \frac is usually better than a slash, but inline the slash avoids cramped stacked numbers.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Per (slash in units): $/$
\[ c = 4186\,\text{J}/(\text{kg}\,\text{K}) \]
\end{document}Related symbols
All 단위 및 측정 →Frequently asked questions
- How do I write Per (slash in units) in LaTeX?
- Type / in math mode, for example $c = 4186\,\text{J}/(\text{kg}\,\text{K})$. 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.
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기