\top과 \bot을 결합한 라텍스 기호가 있나요?

\top과 \bot을 결합한 라텍스 기호가 있나요?

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

관련 정보