\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{BoxDot}[2020/06/27 BoxDot]

%
% BoxDot.sty
%
% Olivier Pirson
% olivier.pirson.opi@gmail.com
% http://www.opimedia.be/DS/DSTeX/
%

\usepackage{wasysym}



% \Box with bullet
\DeclareRobustCommand{\BoxBullet}{%
  \mathord{%
    \setbox0=\hbox{$\Box$}%
    \hbox to\wd0{\hfill$\bullet$\hfill}%
    \kern-\wd0
    \box0}}

% \Box with circle
\DeclareRobustCommand{\BoxCirc}{%
  \mathord{%
    \setbox0=\hbox{$\Box$}%
    \hbox to\wd0{\hfill$\circ$\hfill}%
    \kern-\wd0
    \box0}}

% \Box with circle and dot
\DeclareRobustCommand{\BoxCircDot}{%
  \mathord{%
    \setbox0=\hbox{$\Box$}%
    \hbox to\wd0{\hfill$\cdot$\hfill}%
    \kern-\wd0
    \hbox to\wd0{\hfill$\circ$\hfill}%
    \kern-\wd0
    \box0}}

% \Box with dot
\DeclareRobustCommand{\BoxDot}{%
  \mathord{%
    \setbox0=\hbox{$\Box$}%
    \hbox to\wd0{\hfill$\cdot$\hfill}%
    \kern-\wd0
    \box0}}



% \Diamond with bullet
\DeclareRobustCommand{\DiamondBullet}{%
  \mathord{%
    \setbox0=\hbox{$\Diamond$}%
    \vbadness=10000
    \vcenter to\ht0{\hbox to\wd0{\hfill$\bullet$\hfill}}%
    \kern-\wd0
    \box0}}

% \Diamond with circle
\DeclareRobustCommand{\DiamondCirc}{%
  \mathord{%
    \setbox0=\hbox{$\Diamond$}%
    \vbadness=10000
    \vcenter to\ht0{\hbox to\wd0{\hfill$\circ$\hfill}}%
    \kern-\wd0
    \box0}}

% \Diamond with circle and dot
\DeclareRobustCommand{\DiamondCircDot}{%
  \mathord{%
    \setbox0=\hbox{$\Diamond$}%
    \vbadness=10000
    \vcenter to\ht0{\hbox to\wd0{\hfill$\cdot$\hfill}}%
    \kern-\wd0
    \vcenter to\ht0{\hbox to\wd0{\hfill$\circ$\hfill}}%
    \kern-\wd0
    \box0}}

% \Diamond with dot
\DeclareRobustCommand{\DiamondDot}{%
  \mathord{%
    \setbox0=\hbox{$\Diamond$}%
    \vbadness=10000
    \vcenter to\ht0{\hbox to\wd0{\hfill$\cdot$\hfill}}%
    \kern-\wd0
    \box0}}
