4

Recently, I encounter this square symbol. Although I search carefully on the Internet, I could not figure out its syntax.

enter image description here

Please help me find its syntax!

3
  • 1
    \documentclass{article} \usepackage{pifont} \begin{document} \ding{114} \end{document}
    – user121799
    Jul 30, 2019 at 10:38
  • 1
    \SquareShadowB using ifsym package
    – MadyYuvi
    Jul 30, 2019 at 10:40
  • You can make it as macro for reusing in LaTex documentation \begin{tikzpicture}[line join=round,thick,blue] \def\a{1} \filldraw (0,0)--(\a,0)--(\a,\a) --++(-45:.2*\a)--++(-90:\a)--++(180:\a)--cycle; \draw (0,0) rectangle (\a,\a); \end{tikzpicture}
    – Black Mild
    Jul 30, 2019 at 11:06

1 Answer 1

7

You can use Zapf Dingbats through the pifont package features.

\documentclass{article}
\usepackage{pifont}

\newcommand{\unnamedsymbol}{\ding{113}}

\begin{document}

\unnamedsymbol

\end{document}

enter image description here

There is a similar one at slot 111

enter image description here

If you want to use it as a math symbol, here analogous to the Alembertian,

\documentclass{article}
\usepackage{pifont}

\newcommand{\unnamedsymbol}{\mathop{{}\mathding{113}}\nolimits}
\makeatletter
\newcommand{\mathding}[1]{\mathpalette\math@ding{#1}}
\newcommand{\math@ding}[2]{%
  \begingroup
  \mbox{\normalfont\fontsize{%
    \ifx#1\displaystyle\f@size\else
    \ifx#1\textstyle\f@size\else
    \ifx#1\scriptstyle\sf@size\else
    \ssf@size\fi\fi\fi}{0}\selectfont
    \ding{#2}%
  }%
  \endgroup
}
\makeatother

\begin{document}

$\unnamedsymbol F_{\unnamedsymbol F}$

\end{document}

enter image description here

You must log in to answer this question.

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