o with underline in LaTeX (\underline{o})

o‾\underline{o}
LaTeX command
\underline{o}
Package
No package needed: built into LaTeX
Mode
Text and math mode

Where it is used

Underlines o; in math \underline marks vectors, lower bounds, or emphasized symbols.

\underline works in both text and math mode and draws a rule under its whole argument, so \underline{o} gives an underlined o. Some engineering and mechanics texts use \underline{u} for vectors instead of bold, and optimization papers write \underline{x} for a lower bound paired with \overline{x} for an upper bound. In transliterations a macron below is a separate text accent, \b{o}, which is shorter and centered under the letter. For emphasis in prose, prefer \emph over underlining, because underlines do not break across lines.

Minimal compilable example

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

x‾≤x≤x‾\underline{x} \le x \le \overline{x}
\documentclass{article}
\begin{document}
o with underline: $\underline{o}$

\[ \underline{x} \le x \le \overline{x} \]
\end{document}

Related symbols

All ラテン文字 →

Frequently asked questions

How do I write o with underline in LaTeX?
Type \underline{o} in math mode, for example $\underline{x} \le x \le \overline{x}$. It works in plain LaTeX without loading any package.
Which package do I need for \underline{o}?
None. \underline{o} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \underline{o} in text mode, or only in math mode?
Both. \underline{o} 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に変換
  • 論文の執筆とフォーマットに即座にサポートを取得