[Tex/LaTex] how to draw this ? Square blank BlackSquare in unicode

unicode

I would like to draw this : ■■■□□

But it's not easy i would like the square to have the same size.

And it's difficult to search about it with google.

regards

Best Answer

Left side: unicodes. Right side: unicode-math commands. Below: other possibilities (QED just yields a real square in Latin Modern Math, Cambria Math, Asana Math and TeX Gyre Pagella Math).

% arara: lualatex

\documentclass{article}
\usepackage{fontspec}
\usepackage{unicode-math}

\begin{document}    
\setmathfont{xits-math.otf}
\[\symbol{"025AA} \smblksquare\]
\[\symbol{"025AB} \smwhtsquare\]
\[\symbol{"025A0} \mdlgblksquare\]
\[\symbol{"025A1} \mdlgwhtsquare\]
\[\symbol{"025FB} \mdwhtsquare\]
\[\symbol{"025FC} \mdblksquare\]
\[\symbol{"025FD} \mdsmwhtsquare\]
\[\symbol{"025FE} \mdsmblksquare\]
\[\symbol{"02B1B} \lgblksquare\]
\[\symbol{"02B1C} \lgwhtsquare\]

\[\QED \vee \blockfull\]
\end{document}

enter image description here