I want to squeeze the space for sections, subsections, and subsubsections on a llncs document. The following can only squeeze subsubsections. How could I squeeze sections and subsections?
\documentclass{llncs}% http://www.springer.com/computer/lncs?SGWID=0-164-6-793341-0
\begin{document}
\section{A section}
Some text
\subsection{A subsection}
Some text
\subsubsection{A subsubsection}
Some text
\subsubsection{Another subsubsection}
Some text
\bigskip
% Put the block below in your LaTeX preamble
\makeatletter
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
{-8\p@ \@plus -4\p@ \@minus -4\p@}% Formerly -18\p@ \@plus -4\p@ \@minus -4\p@
{-0.5em \@plus -0.22em \@minus -0.1em}%
{\normalfont\normalsize\bfseries\boldmath}}
\makeatother
\section{A section}
Some text
\subsection{A subsection}
Some text
\subsubsection{A subsubsection}
Some text
\subsubsection{Another subsubsection}
Some text
\end{document}
Best Answer
I have found an answer, just using the following code, can do it