
Eu gostaria de ter um símbolo que fosse a sobreposição exata entre \top
e \bot
para que se parecesse com o número romano "Ⅰ". Procurei um símbolo específico, mas não encontrei nada. E as técnicas sobrepostas neste e em outros fóruns são um pouco confusas.
Alguém pode me ajudar?
Responder1
O código a seguir implementa \bottop
que combina \bot
e \top
respeita o estilo matemático atual:
\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}
Responder2
Dehttp://tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdfaqui está uma possível implementação:
\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}