[Tex/LaTex] How to put a circle around an operator

logicmath-operators

For example, I want to put a circle around \land, just like one can put a circle around + by writing \oplus. Is there a general method to do this?

Best Answer

Here's a version combining \land and \bigcirc:

\makeatletter
\newcommand\incircbin
{%
  \mathpalette\@incircbin
}
\newcommand\@incircbin[2]
{%
  \mathbin%
  {%
    \ooalign{\hidewidth$#1#2$\hidewidth\crcr$#1\bigcirc$}%
  }%
}
\newcommand{\oland}{\incircbin{\land}}
\makeatother

It will change size according to math style:

\[a\oland b\frac{a\oland b}{a\oland b^{a\oland b^{a\oland b}}}\] 

gives

oland example

Related Question