I'm trying to get an arrow that has an arrow head pointing north east and south west, so like \updownarrow but rotated. I can't seem to find this in LaTeX at all. It has to go inside an equation environment.
Any ideas?
I'm trying to get an arrow that has an arrow head pointing north east and south west, so like \updownarrow but rotated. I can't seem to find this in LaTeX at all. It has to go inside an equation environment.
Any ideas?
The powerful \ooalign wins; TeX is able to figure out the widths itself.
\documentclass{article}
\usepackage{amsmath}
\DeclareRobustCommand{\neswarrow}{%
\mathrel{\text{\ooalign{$\swarrow$\cr$\nearrow$}}}%
}
\begin{document}
$a\neswarrow b_{\neswarrow}$
\end{document}

See \subseteq + \circ as a single symbol ("open subset") for more information about \ooalign.
stix and xits fonts, but that isn't documented very well yet, certainly not in the comprehensive symbols list or in detexify. and the shapes of those arrowheads are most likely not sufficiently similar to most other arrowheads that this arrow from one of those fonts wouldn't look out of place.
– barbara beeton
Nov 14 '13 at 22:28
It is not a perfect solution, but maybe it is enough:
\documentclass{article}
\usepackage{amsmath,amsfonts}
\begin{document}
\newlength\nesw
\settowidth{\nesw}{$\nearrow$}
\def\neswarrow{\nearrow\hspace{-\nesw}\swarrow}
\[
\neswarrow
\]
\end{document}

This is ⤢ (U+2922) in Unicode and \neswarrow in stix and stix2. To use it in unicode-math, load the symbol from either XITS Math or STIX Two Math, e.g.:
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{Latin Modern Math}
\setmathfont[range=\neswarrow, Scale=MatchUppercase]{STIX Two Math}
\pagestyle{empty}
\begin{document}
\[ \neswarrow \]
\end{document}
\neswarrowis in theMnSymbolpackage, and can be found in the Comprehensive Symbol list this is a duplicate of http://tex.stackexchange.com/questions/14/how-to-look-up-a-symbol-or-identify-a-math-alphabet – masu Nov 14 '13 at 16:04