6

How can I insert this symbol in math environment? \Thanks enter image description here

7

Currently, I have only set it up for \displaystyle. If you need smaller math styles, let me know.

One can change the square size with \sqdim.

\documentclass{amsart}
\usepackage{stackengine}
\def\sqdim{.4ex}
\newcommand\perpsq{\mathrel{\ensurestackMath{\stackengine{0pt}{\perp}
  {\kern\sqdim\rule[\sqdim]{\sqdim}{.4pt}\rule[.4pt]{.4pt}{\sqdim}}{O}{c}{F}{F}{L}}}}
\begin{document}
$A \perpsq B$
\end{document}

enter image description here

Here with \sqdim set to .3ex:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.