Second in LaTeX (\text{s})

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

Where it is used

Second, the SI base unit of time, defined by the caesium-133 hyperfine transition frequency.

An upright s is the unit; italic s often stands for displacement or arc length, so the formatting carries meaning in s = 5\,\text{m} versus t = 5\,\text{s}. Avoid abbreviations like sec in technical writing. Inverse seconds, \text{s}^{-1}, measure rates and are the same as hertz when describing frequency. Prefixed forms include \text{ms}, \mu\text{s} and \text{ns}; for the micro prefix, an upright mu is preferred by SI style, which plain \mu does not provide in the default fonts.

Minimal compilable example

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

g=9.81 m s−2,t=2.0 sg = 9.81\,\text{m}\,\text{s}^{-2}, \quad t = 2.0\,\text{s}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Second: $\text{s}$

\[ g = 9.81\,\text{m}\,\text{s}^{-2}, \quad t = 2.0\,\text{s} \]
\end{document}

Related symbols

All 単位・測定 →

Frequently asked questions

How do I write Second in LaTeX?
Type \text{s} in math mode, for example $g = 9.81\,\text{m}\,\text{s}^{-2}, \quad t = 2.0\,\text{s}$. Load amsmath first with \usepackage{amsmath}.
Which package do I need for \text{s}?
\text{s} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
Can I use \text{s} in text mode, or only in math mode?
Both. \text{s} 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に変換
  • 論文の執筆とフォーマットに即座にサポートを取得