I want to use a diagonal double arrow (like \nearrow but double direction)
in my latex document, but AMS symbols don't seem to have that. Are there any
suggestions? I thought I should overlap \nearrow and \swarrow, but I don't
know how to do that. I hope there is an easier way!...
Thanks
Yannis
\documentclass[10pt]{article}
\usepackage{rotating}
\usepackage{amssymb}
\newcommand{\longneswarrow}{%
\begin{turn}{45}
\raisebox{-1ex}{$\longleftrightarrow$}
\end{turn}
}
\newcommand{\neswarrow}{%
\begin{turn}{45}
\raisebox{-1ex}{$\leftrightarrow$}
\end{turn}
}
\begin{document}
$\nearrow$ and $\swarrow$ and $\neswarrow$ and $\longneswarrow$
\end{document}
Herbert
Have you checked the Symbol List (see sig)? If there is no
double NE arrow listed you could rotate one of the other arrows
\usepackage{graphicx}
\rotatebox[origin=c]{45}{$\leftrightarrow$}
> I thought I should overlap \nearrow and \swarrow, but I don't
> know how to do that. I hope there is an easier way!...
Perhaps
\makebox[0pt][l]{$\nearrow$}$\swarrow$
(I seem to remember that there is a simpler macro to set height
and width of a symbol/character/box to zero - anyone?).
Olaf
--
Before posting to comp.text.tex, please consult:
- LaTeX Introduction <URL:http://www.ctan.org/tex-archive/info/lshort/english/>
- Symbol List <URL:http://www.ctan.org/tex-archive/info/symbols/comprehensive/>
- UK TeX FAQ <URL:http://www.tex.ac.uk/faq>
The Comprehensive LaTeX Symbol List shows how to overlap \nearrow and
\swarrow in the "Where can I find the symbol for...?" section.
-- Scott