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 am using the template sig-alternate.cls, but I find that the space between the author block and the paper text is too large, how can I reduce this space?

Edit: I want to reduce the space between the author block and the paper text.

\documentclass{sig-alternate}
\begin{document} 
\title{shrink space}
\author{XXX}
\maketitle
paper text here!
\end{document}
share|improve this question
    
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. –  Marco Daniel May 27 '12 at 10:28
    
Please provide a link to the file sig-alternate.cls. –  Marco Daniel May 27 '12 at 10:29
    
It's here acm.org/sigs/publications/sig-alternate.cls –  Bloodmoon May 27 '12 at 11:41

2 Answers 2

up vote 6 down vote accepted

Your document class defines the command \@maketitle with an extra vertical skip. Use the following definition to reduce the space:

\def\@maketitle{\newpage
 \null
 \setbox\@acmtitlebox\vbox{%
\baselineskip 20pt
\vskip 2em                   % Vertical space above title.
   \begin{center}
    {\ttlfnt \@title\par}       % Title set in 18pt Helvetica (Arial) bold size.
    \vskip 1.5em                % Vertical space after title.
%This should be the subtitle.
{\subttlfnt \the\subtitletext\par}\vskip 1.25em%\fi
    {\baselineskip 16pt\aufnt   % each author set in \12 pt Arial, in a
     \lineskip .5em             % tabular environment
     \begin{tabular}[t]{c}\@author
     \end{tabular}\par}
    \vskip 1.5em               % Vertical space after author.
   \end{center}}
 \dimen0=\ht\@acmtitlebox
% \advance\dimen0 by -12.75pc\relax % comment by Marco Daniel
 \unvbox\@acmtitlebox
 \ifdim\dimen0<0.0pt\relax\vskip-\dimen0\fi}

Without the modification: enter image description here

With the modification:

enter image description here

Here the complete MWE:

\documentclass{sig-alternate}
\usepackage{kantlipsum}
\makeatletter
\def\@maketitle{\newpage
 \null
 \setbox\@acmtitlebox\vbox{%
\baselineskip 20pt
\vskip 2em                   % Vertical space above title.
   \begin{center}
    {\ttlfnt \@title\par}       % Title set in 18pt Helvetica (Arial) bold size.
    \vskip 1.5em                % Vertical space after title.
%This should be the subtitle.
{\subttlfnt \the\subtitletext\par}\vskip 1.25em%\fi
    {\baselineskip 16pt\aufnt   % each author set in \12 pt Arial, in a
     \lineskip .5em             % tabular environment
     \begin{tabular}[t]{c}\@author
     \end{tabular}\par}
    \vskip 1.5em               % Vertical space after author.
   \end{center}}
 \dimen0=\ht\@acmtitlebox
% \advance\dimen0 by -12.75pc\relax % comment by Marco Daniel
 \unvbox\@acmtitlebox
 \ifdim\dimen0<0.0pt\relax\vskip-\dimen0\fi}
\makeatother

\begin{document} 
\title{shrink space}
\author{XXX}
\maketitle
\kant
\end{document}
share|improve this answer
    
Yes, it works! I directly commented the line in the sig-alternate.cls file. Thanks! –  Bloodmoon May 27 '12 at 12:26
    
Thanks again! I am now wanting to use a smaller font for the reference section, by what means can I implement that then? –  Bloodmoon May 27 '12 at 13:04
    
@Bloodmoon: You should ask a new follow up question. –  Marco Daniel May 27 '12 at 13:38

I think the following method is a more direct way: comment out this line in the sig-alternate.cls.

\advance\dimen0 by -12.75pc\relax % Increased space for title box -- KBT

This line is in the definition of \@maketitle, and is meant to increase the space between the author block and paper text.

share|improve this answer

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.