¿Existe un símbolo de Latex que combine \top y \bot?

¿Existe un símbolo de Latex que combine \top y \bot?

Me gustaría tener un símbolo que se superponga exactamente entre \topy \botpara que se parezca al número romano "Ⅰ". He buscado un símbolo en particular, pero no encontré nada. Y las técnicas superpuestas en este y otros foros son un poco confusas.

¿Alguien me puede ayudar?

Respuesta1

El siguiente código implementa \bottopque combina \boty \toprespeta el estilo matemático actual:

\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}

Resultado

Respuesta2

Dehttp://tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdfaquí hay una posible implementación:

\documentclass{article}

\def\topbotatom#1{\hbox{\hbox to 0pt{$#1\bot$\hss}$#1\top$}}
\newcommand*{\topbot}{\mathrel{\mathchoice{\topbotatom\displaystyle}
        {\topbotatom\textstyle}
        {\topbotatom\scriptstyle}
        {\topbotatom\scriptscriptstyle}}}
\begin{document}
$\topbot$
\end{document}

información relacionada