Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Diagonal double arrow

1,151 views
Skip to first unread message

Yannis Krontiris

unread,
Apr 1, 2003, 5:25:56 AM4/1/03
to
Hi!

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


Herbert Voss

unread,
Apr 1, 2003, 9:08:21 AM4/1/03
to
Yannis Krontiris schrieb:

\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

Olaf Dietrich

unread,
Apr 1, 2003, 9:17:43 AM4/1/03
to
Yannis Krontiris <ik...@hlk.forthnet.gr>:

>
> 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?

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>

Scott Pakin

unread,
Apr 1, 2003, 12:28:33 PM4/1/03
to

The Comprehensive LaTeX Symbol List shows how to overlap \nearrow and
\swarrow in the "Where can I find the symbol for...?" section.

-- Scott

0 new messages