The symbol is like this

enter image description here

I checked the "The Great, Big List of LATEX Symbols" document, but didn't find any similar symbols.


3 Answers 3


This is ▣ (U+25A3} in Unicode, and you can use it in fontspec.


\setmathfont{STIX Two Math}

\( \blackinwhitesquare \)

The XITS Math and STIX Two Math fonts have this symbol. You can import only this symbol while using another math font.

\setmathfont{Latin Modern Math} % Or your font of choice.
\setmathfont{STIX Two Math}[range=\blackinwhitesquare,

You can also get this symbol in text mode with fontspec:


\newfontface\symbolfont{STIX Two Math}[Scale=MatchUppercase]

\newunicodechar{^^^^25A3}{\blackinwhitesquare} % ▣
  • 5
    Can you add an example of usage?
    – AndréC
    Jul 16, 2020 at 19:53
  • @And Copy and paste the character from here, use a font that has a glyph for it.
    – Caleb
    Jul 17, 2020 at 18:09
  • 1
    @AndréC Added some examples. Untested; caveat emptor.
    – Davislor
    Jul 17, 2020 at 18:36

Same size as \square. Works across math styles. The .5 scale of the inner box can be adjusted to suit.

$\square\blacksquare \dsquare$

$\scriptstyle\square\blacksquare \dsquare$

$\scriptscriptstyle\square\blacksquare \dsquare$

enter image description here


It is included in the STIX font. It can be imported without importing the whole font as in the following example.

\( \blackinwhitesquare \)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .