Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 23 down vote accepted

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}

enter image description here

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$}}}}
share|improve this answer
    
I'm having a problem with \mathbin in sub/superscripts. For example, $A_\btimes B^\ltimes$ won't work without extra {...} brackets. –  Māris Ozols Dec 4 '13 at 18:23
1  
@MārisOzols You have to use B^{\ltimes}; there's nothing to do about that. –  egreg Dec 4 '13 at 18:28
1  
@Andrew Adding the extra braces hides \mathbin, making it useless: if used between symbols it won't behave like a binary operation symbol. –  egreg Apr 22 at 22:05

according to

 texdoc symbols

table 50 the mnsymbol package has \utimes and \dtimes

table 51 the mathdesign package has \utimes and \dtimes

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.