Clique in LaTeX (\omega(G))

ω(G)\omega(G)
LaTeX command
\omega(G)
Package
No package needed: built into LaTeX
Mode
Math mode only

Try Clique in a real LaTeX document

Open a ready-to-compile document that already uses \omega(G), with the right packages loaded. Edit it and see the PDF, no install needed.

Where it is used

Clique number of G: the size of the largest complete subgraph contained in the graph.

The clique number is a lower bound on the chromatic number, \omega(G) \leq \chi(G), and graphs where equality holds for every induced subgraph are called perfect. It complements the independence number: \omega(G) = \alpha(\overline{G}), with \overline{G} the complement. Finding it is NP-hard. Use lowercase Greek \omega, not w. The symbol is overloaded elsewhere: little-omega asymptotic notation and \omega(n), the number of distinct prime factors, so a short definition helps in mixed contexts. Turan's theorem bounds the edges of a graph with \omega(G) \leq r.

Minimal compilable example

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

ω(G)=α(G‾)≤χ(G)\omega(G) = \alpha(\overline{G}) \leq \chi(G)
\documentclass{article}
\begin{document}
Clique: $\omega(G)$

\[ \omega(G) = \alpha(\overline{G}) \leq \chi(G) \]
\end{document}

Related symbols

All نظرية البيان →

Frequently asked questions

How do I write Clique in LaTeX?
Type \omega(G) in math mode, for example $\omega(G) = \alpha(\overline{G}) \leq \chi(G)$. It works in plain LaTeX without loading any package.
Which package do I need for \omega(G)?
None. \omega(G) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \omega(G) in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\omega(G)$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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