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 tried to set two symbols on top of each other via:

\begin{align*}
  \Rightarrow\atop\nLeftarrow
\end{align*}

How can I reduce the space between the symbols? \overset etc. is what I normally use, but that reduces the size of one of the symbols and I would like them to be of the same size.

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

Use the \genfrac command from the amsmath package.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\genfrac{}{}{0pt}{0}{\Rightarrow}{\Leftarrow}
\]
\end{document}

Another possibility is to use an array environment. In this case an optional argument to the \\ macro allows you to manually adjust the vertical spacing.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\begin{array}{c}
\displaystyle\Rightarrow \\[-5pt]
\displaystyle\Leftarrow
\end{array}
\]
\end{document}
share|improve this answer
    
Thanks, Ian, the array solved it! –  Marius Hofert Jul 28 '12 at 14:02
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.