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.

This question already has an answer here:

When I use \vdots within the align environment, its size is bigger than of the rest of characters. I want to get rid of the gap (purple colour on the picture below) or somehow move \vdots upward (\vspace{-Xmm} didn't work at all).

My code is

\documentclass[12pt]{article}
\usepackage{amsfonts, amsmath}

\begin{document}
\begin{align}
    A &= B \nonumber\\
      &=  C \nonumber \\
      &=  \vdots \nonumber \\
      &=  Z \nonumber
\end{align}

\end{document}

which gives you

enter image description here

Cheers!

share|improve this question

marked as duplicate by Werner, Peter Jansson, Guido, Jesse, Heiko Oberdiek Apr 5 at 8:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

Taken from the hack here:

\documentclass{article}
\usepackage{amsmath}
\makeatletter
\DeclareRobustCommand{\rvdots}{%
  \vbox{
    \baselineskip4\p@\lineskiplimit\z@
    \kern-\p@
    \hbox{.}\hbox{.}\hbox{.}
  }}
\makeatother

\begin{document}
\begin{align}
    A &= B \nonumber\\
      &=  C \nonumber \\
      &=  \rvdots \nonumber \\
      &=  Z \nonumber
\end{align}
\end{document}

enter image description here

share|improve this answer
    
Works fine. I'll wait for accepting the answer just in case that someone comes up with simpler solution. –  Vochmelka Apr 5 at 5:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.