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.

Whats the command for this symbol: ⇅

I've found ⇈ \upuparrows but I can't find the other one.

share|improve this question
3  
Possible duplicate of How to look up a symbol?. Try to search for \updownarrows –  Ipsen Dec 9 '12 at 13:29
add comment

1 Answer

The package mathabx provides all arrows of this kind. The one you're looking for is \updownarrows.

\documentclass{article}

\usepackage{mathabx}

\begin{document}

$\upuparrows$ -  $\downdownarrows$ - $\updownarrows$ - $\downuparrows$

\end{document}

enter image description here

For such questions, a good place to look at is the comprehensive LaTeX symbols list.

Note that mathabx redefines many symbols. An alternative is the following code, which produces updownarrows in a pure-latex fashion, but as you can see, the result is still not fully identical to amssymb's \upuparrows.

\documentclass{article}

\usepackage{amsmath,amssymb}

\newcommand{\updownarrows}{\mathbin\uparrow\hspace{-.5em}\downarrow}
\newcommand{\downuparrows}{\mathbin\downarrow\hspace{-.5em}\uparrow}

\begin{document}

$\upuparrows$ -  $\downdownarrows$ - $\updownarrows$ - $\downuparrows$


\end{document}

enter image description here

A possible solution would be to redefine \upuparrows and \downdownarrows as well :

\documentclass{article}

\usepackage{amsmath,amssymb}

\newcommand{\updownarrows}{\mathbin\uparrow\hspace{-.3em}\downarrow}
\newcommand{\downuparrows}{\mathbin\downarrow\hspace{-.3em}\uparrow}
\renewcommand{\upuparrows}{\mathbin\uparrow\hspace{-.3em}\uparrow}
\renewcommand{\downdownarrows}{\mathbin\downarrow\hspace{-.3em}\downarrow}


\begin{document}

$\upuparrows$ -  $\downdownarrows$ - $\updownarrows$ - $\downuparrows$

\end{document}

enter image description here

In comments, egreg proposed the following answer, for the same result (well, not technically the same), but with a cleaner code. It will probably give better spacing results if used within longer formulas :

\documentclass{article}

\usepackage{amsmath,amssymb}

\newcommand{\updownarrows}{\uparrow\mathrel{\mspace{-1mu}}\downarrow}
\newcommand{\downuparrows}{\downarrow\mathrel{\mspace{-1mu}}\uparrow}
\renewcommand{\upuparrows}{\uparrowuparrow}
\renewcommand{\downdownarrows}{\downarrow\downarrow}

\begin{document}

$\upuparrows$ -  $\downdownarrows$ - $\updownarrows$ - $\downuparrows$

\end{document}

enter image description here

share|improve this answer
1  
Usual caveat: mathabx changes many symbols with its owns. –  egreg Dec 9 '12 at 14:00
1  
@egreg : Indeed, and even those arrows don't have the same heads as the usual arrows. I will edit with a pure-latex solution, but the result isn't exactly similar to amssymb's double arrows either. –  T. Verron Dec 9 '12 at 14:17
    
Why those \mathbin tokens in the last solution? They act only on the following token and affect the global spacing. –  egreg Dec 9 '12 at 14:50
    
@egreg : If I don't add them, the arrows will be stuck to the dash, unlike the regular \upuparrows. About the command affecting only the first token, that's what I thought as well, but since the result seems quite symmetrically spaced, I did not change it further. –  T. Verron Dec 9 '12 at 14:56
    
I'd simply go for \uparrow\uparrow and \uparrow\mathrel{\mspace{-1mu}}\downarrow, using the fact that those arrows are defined as relation symbols. –  egreg Dec 9 '12 at 16:04
add comment

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.