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'm using LaTeX for my resume with the res class. It looks great, but one detail is bugging me. I'm using the res class' position environment but the space it puts between the title and the paragraph below it is too much. Can I reduce that space?

enter image description here

\employer{{\sl \textbf{St. Louis School of Mandaue}}}
\title{High School}
\dates{June 2002 --- March 2006}
\location{\underline{Mandaue City, Cebu}}

\begin{position}

I received ``blue cards" for three years. These were tokens of recognition for good academic records of the school.
\end{position}
share|improve this question
    
You should always add a minimal working example (MWE) that illustrates your problem, so that people can compile it for themselves and also test their solutions. –  Martin Scharrer May 2 '11 at 19:19
    
Wild guess (can't test it without a MWE): Remove the empty line after \begin{position}. It inserts a paragraph. If you have the above code after \begin{document} also remove the empty line before it. –  Martin Scharrer May 2 '11 at 19:21
    
@Martin Thanks for the info and corrections. Without the empty line then the space would become too "tight". I guess my question, phrased another way, would be how to increase the default space of position environment. –  john2x May 2 '11 at 20:17
    
I know it is off-topic, but I would rather write \dates{June 2002--March 2006}, since the proper dash for ranges is the n-dash. Also, underlining is one of the typographical sins. Of course those are personal positions, and I mean them just as suggestions. –  rberaldo May 2 '11 at 20:32
    
@rberaldo Thanks. Didn't know about the dates. I'll play around with the underlining. –  john2x May 3 '11 at 8:12
add comment

1 Answer

up vote 4 down vote accepted

Do not leave blank lines after \begin{position}. If you want to further reduce (or increase) the vertical spacing between the job information and the body of the job, then a simple redefinition of the position environment, as defined in res.cls, will do the job; the following code contains the necessary modification; change -0.3em to the value that suits your needs:

\documentclass{res}

\makeatletter
\renewenvironment{position}%
  {%
   \begingroup
     \par
       \the\tabular@head
%     \addpenalty{-\@secpenalty}% bad place for a page break
     \penalty -\@secpenalty % bad place for a page break
     \penalty 10000
     \ignorespaces%
     % change the space between the job info and the body
     \\[-0.3em]%change according to your needs
  }{%
       \the\tabular@tail
%     \addpenalty{\@secpenalty}% good place for a page break
     \penalty \@secpenalty % good place for a page break
    \endgroup
}
\makeatother

\begin{document}

\employer{\textsl{\textbf{St. Louis School of Mandaue}}}
\title{High School}
\dates{June 2002 --- March 2006}
\location{\underline{Mandaue City, Cebu}}

\begin{position}
I received ``blue cards" for three years. These were tokens of recognition for good academic records of the school.
\end{position}

\end{document}
share|improve this answer
    
Thanks. I'll try this later at home. –  john2x May 2 '11 at 20:17
    
That did the trick. Thanks! –  john2x May 3 '11 at 8:27
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.