Rectangle
$\square$
\square
$\Box$
\Box
It is important to note that "Box" is spelled with an uppercase "B".
$\boxplus$
\boxplus
A "+" sign (plus) is placed inside the box.
$\boxminus$
\boxminus
A "-" sign (minus) is placed inside the box.
$\boxtimes$
\boxtimes
A "times" (multiplication symbol) is placed inside the box.
$\boxdot$
\boxdot
A dot is placed inside the box.
$\blacksquare$
\blacksquare
A square shape that is filled in black.
$\diamond$
\diamond
$\Diamond$
\Diamond
When the "d" in "diamond" is capitalized, it represents a larger-sized diamond shape.
$\lozenge$
\lozenge
The "lozenge" is a term used to refer to a diamond.
$\blacklozenge$
\blacklozenge
A lozenge shape that is filled in black.
$\boxed{ abc }$
\boxed{ abc }
The "\boxed" is used to enclose an equation within a box.
$\fbox{ abc }$
\fbox{ abc }
The "\fbox" is used to enclose text within a frame.
$\bbox[yellow, 5pt, border: 2px dotted red]{abc}$
\bbox[yellow, 5pt, border: 2px dotted red]{abc}
The "\bbox" is not a native command in $\TeX$, but it can be used in MathJax to finely customize the appearance of a framed box around text or equation. It allows you to specify various settings such as background color, margin, and style by separating them with commas within the brackets, while the equation is written within braces. The "\bbox" is derived from "bounding box".