Does anyone know how to make the symbol in the red box? It's the exclusive or. I've tried using detexify and looking up the symbol, but I haven't found anything.
2 Answers
Here is a solution using the\stackinset
command from the stackengine
package:
\documentclass{article}
\usepackage{stackengine}
\newcommand{\xor}{\mathrel{\stackinset{c}{}{c}{-0.15ex}{$ \vee $}{$ \bigcirc $}}}
\begin{document}
\[ A \xor B\]%
\end{document}
You can roll your own:
\documentclass{article}
\usepackage{tikz}
\newcommand*\circledlor{\tikz[baseline=(char.base)]{\node[shape=circle,draw,inner sep=1pt] (char) {\lor};}}
\begin{document}
\(\circledlor\)
\end{document}
-
1
xor
symbol. Should be\oplus
.