[Tex/LaTex] Latex symbol that combines \top and \bot

math-modesymbols

I'd like to have a symbol that is the exact overlap between \top and \bot so that it looks like the roman number "Ⅰ". I have searched a particular symbol, but I found nothing. And overlapping techniques in this and other forums are a little confusing.

Can someone help me?

Best Answer

The following code implements \bottop that combines \bot and \top with respecting the current math style:

\documentclass{article}

\makeatletter
\newcommand*{\bottop}{%
  \mathpalette\@bottop{}%
}
\newcommand*{\@bottop}[2]{%
  % #1: math style
  % #2: unused
  \rlap{$#1\bot\m@th$}% put \bot to the right without moving the current point
  \top
}
\makeatother

\begin{document}
\[ \bottop \scriptstyle \bottop \scriptscriptstyle \bottop \]
\end{document}

Result