Star in LaTeX (\star)

⋆\star
LaTeX command
\star
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
⋆U+22C6

Where it is used

Five-pointed star binary operator, used for convolution, Hodge duality and custom products.

Signal processing sometimes writes cross-correlation as f \star g, differential geometry uses \star for the Hodge star operator, and algebraists use it for generic binary operations or the Moyal star product. Optimal values in optimization are written x^\star, as an alternative to x^*. \star is a binary operator, distinct from \ast (the asterisk) and from the text symbol produced by \bigstar. Because its spacing is that of a binary operator, using it as a prefix operator such as the Hodge star may need braces: {\star}\omega.

Also listed under: التوبولوجيا والرياضيات المجردة, علوم الحاسوب, الهندسة التفاضلية

Minimal compilable example

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

x⋆=arg⁡min⁡xf(x)x^{\star} = \arg\min_{x} f(x)
\documentclass{article}
\begin{document}
Star: $\star$

\[ x^{\star} = \arg\min_{x} f(x) \]
\end{document}

Related symbols

All المؤثرات المتقدمة →

Frequently asked questions

How do I write Star in LaTeX?
Type \star in math mode, for example $x^{\star} = \arg\min_{x} f(x)$. It works in plain LaTeX without loading any package.
Which package do I need for \star?
None. \star is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \star in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\star$ 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).
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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