TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have alternating lines and texts. Example may be a sign-in sheet where there is a line on which a person sign and his name is written immediately below this line. The following code generate the desired output except the last entry. There is relatively more space between the line and the name. Is there a way to reduce that space between the last line and Dr. EEEEE.

  Dr. AAAAA\\
  Dr. BBBBB\\
  Dr. CCCCC  \\
  Dr. DDDD \\


share|improve this question
Related Questions: dynamic signature/date line‌​, How to create a signature, date page?. – Peter Grill Jun 6 '12 at 4:45
Please, add code that can be compiled; what I get from that snippet, with a standard preamble, is that the first entry is printed differently from the others. – egreg Jun 6 '12 at 6:48
up vote 4 down vote accepted

you can use a tabular:


\begin{tabular}{@{} >{\Centering}b{300pt}}\hline
\HS  Dr. AAAAA\\\hline
\HS  Dr. BBBBB\\\hline
\HS  Dr. CCCCC\\\hline
\HS  Dr. DDDD \\\hline
     Dr. EEEEE

share|improve this answer
A slight modification to your answer might be more in line with what your OP wants. See my deleted answer. – Werner Jun 6 '12 at 6:12
Thanks Herbert, but I needed the names to appear after each line and aligned in the center. I am not able to do this as modifying the above code results in the 'noalign' error. – learner Jun 6 '12 at 23:01
@learner: see edited answer – Herbert Jun 7 '12 at 6:45
@Herbert, Thanks. Workes exactly as desired. – learner Jun 7 '12 at 15:45

You can adjust vertical spacing using vspace with negative argument as suggested here. Example:


share|improve this answer

Your Answer


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.