Circle Dot in LaTeX (\odot)
- LaTeX command
\odot- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
- Copy the Unicode character
- ⊙
U+2299
Where it is used
Circled dot, commonly used for the elementwise (Hadamard) product of vectors or matrices.
Deep learning papers write h_t = o_t \odot \tanh(c_t) for elementwise products in LSTMs and attention masks, and numerical linear algebra uses A \odot B for the Hadamard product, often alongside \circ for the same meaning. Physics diagrams use a circled dot for a vector pointing out of the page, though there it is a symbol, not an operator. It is a binary operator with medium spacing; the big form \bigodot also exists. State in your notation section whether \odot means Hadamard product, since some authors use it for XNOR or other operations.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Circle Dot: $\odot$
\[ c_t = f_t \odot c_{t-1} + i_t \odot \tilde{c}_t \]
\end{document}Related symbols
All 高度な演算子 →Frequently asked questions
- How do I write Circle Dot in LaTeX?
- Type \odot in math mode, for example $c_t = f_t \odot c_{t-1} + i_t \odot \tilde{c}_t$. It works in plain LaTeX without loading any package.
- Which package do I need for \odot?
- None. \odot is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \odot in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\odot$ in running text. If you only need the glyph in text, paste the Unicode character ⊙ instead (with XeLaTeX or LuaLaTeX and a font that has it).