Is it possible to resize the \blacksquare
command to the size of the \bullet
command?
Additionally, is it possible to resize \bullet
to \circ
?
Thank you.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communitywe create a variable for the width of \bullet
we use resizebox
\documentclass[border=3mm]{standalone}
\usepackage{amssymb}
\usepackage{mathtools}
\begin{document}
\newlength{\mylength}
\settowidth{\mylength}{$\blacksquare$}
\the\mylength : $\blacksquare$
\settowidth{\mylength}{$\bullet$}
\the\mylength : $\bullet$
\resizebox{\mylength}{!}{$\blacksquare$}
\end{document}
Several packages have these options. For example, MnSymbol
\documentclass{article}
\usepackage{MnSymbol}
\begin{document}
$a\circ b\bullet c\filledsquare d$
\end{document}
Slightly different is fdsymbol
:
\documentclass{article}
\usepackage{fdsymbol}
\begin{document}
$a\circ b\bullet c\smallblacksquare d$
\end{document}