\top と \bot を組み合わせた LaTeX シンボルはありますか?

\top と \bot を組み合わせた LaTeX シンボルはありますか?

\topと が正確に重なり合ってローマ数字の「Ⅰ」のように見える記号が欲しいです\bot。特定の記号を検索しましたが、何も見つかりません。また、このフォーラムや他のフォーラムでの重なりのテクニックは少しわかりにくいです。

誰か助けてくれませんか?

答え1

次のコードは、現在の数式スタイルを尊重しながらと を\bottop組み合わせることを実装します。\bot\top

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

結果

答え2

からhttp://tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf可能な実装は次のとおりです。

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

関連情報