I'd like to use a rotated version of $\ltimes$ where the vertical line is at the top, and another where the vertical line is at the bottom. I tried using \rotatebox with graphicx, but it puts the symbol either too high or too low. Any thoughts?
Asked
Active
Viewed 1.3k times
33
Stephen
- 14,890
goblin GONE
- 1,262
2 Answers
45
You can rotate with respect to the center of the glyph:
\documentclass{article}
\usepackage{amssymb}
\usepackage{graphicx}
\newcommand{\btimes}{\mathbin{\rotatebox[origin=c]{90}{$\ltimes$}}}
\newcommand{\utimes}{\mathbin{\rotatebox[origin=c]{-90}{$\ltimes$}}}
\begin{document}
$A\btimes B\ltimes C\utimes D$
\end{document}

If you need the symbols also in subscripts or superscripts, then load also amsmath and do
\newcommand{\btimes}{\mathbin{\text{\rotatebox[origin=c]{90}{$\ltimes$}}}}
\newcommand{\utimes}{\mathbin{\text{\rotatebox[origin=c]{-90}{$\ltimes$}}}}
egreg
- 1,121,712
4
according to
texdoc symbols
table 50 the mnsymbol package has \utimes and \dtimes
table 51 the mathdesign package has \utimes and \dtimes
David Carlisle
- 757,742
\mathbinin sub/superscripts. For example,$A_\btimes B^\ltimes$won't work without extra{...}brackets. – Māris Ozols Dec 04 '13 at 18:23B^{\ltimes}; there's nothing to do about that. – egreg Dec 04 '13 at 18:28