1

I am using the LNCS-Style, documentsclass llncs and there is no possibilty to use chapters. Actually when adding a section it looks some kind of this:

enter image description here

What i want to do is to change just the style of this main sections and leave any other nested sections below alone (subsections, subsubsections, paragraphs ...). It should look some kind of this:

enter image description here

What i tried was renewing the section command by doing this:

\renewcommand{\thesection}{Chapter \arabic{section}}

That was the only thing that came in my mind but this actually not what i need, as it only adds a text before the section number and affects even the subsections and every section below.

2

llncs.cls is downloadable at ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip

With titlesec:

\documentclass{llncs}

\let\subparagraph\relax

\usepackage{titlesec}

\titleformat{\section}[display]
{\normalfont\huge\bfseries}{\chaptertitlename\ \thesection}{20pt}{\Huge}

\begin{document}
\section{a section}
Some text
\subsection{a subsection}
Some text again
\end{document}

enter image description here

Note the line

\let\subparagraph\relax

needed otherwise titlesec can't be loaded.

  • @Caffeine You're welcome, happy to help. – karlkoeller Mar 23 '14 at 16:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy