The LaTeX command for boxminus (⊟) is \boxminus.
\boxminusWriting a paper? The table generator and the BibTeX cleaner are one click away, no account.
Write \boxminus inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. This symbol needs the amssymb package, so add \usepackage{amssymb} to your preamble.
As a binary operator, \boxminus gets a medium space on each side; at the start of a formula LaTeX reads it as a sign and drops the space. With unicode-math under XeLaTeX or LuaLaTeX, typing ⊟ in a formula gives the same symbol.
$a \boxminus b$Open this example in the live preview: it renders as you type, with no compiler and no signup.
Binary operators in LaTeX: the full table or search all 350+ LaTeX symbols.
Use \boxminus in math mode after adding \usepackage{amssymb} to your preamble. For example, $a \boxminus b$.
It comes from the amssymb package: add \usepackage{amssymb} to your preamble.