In the .tex
file, I want to use the package titlesec
. But there is a error:
! Argument of \subparagraph has an extra }.
Is there some simple method to fix this?
The code is:
\documentclass{llncs}
\usepackage[compact]{titlesec}
errorssectioningtitlesec
In the .tex
file, I want to use the package titlesec
. But there is a error:
! Argument of \subparagraph has an extra }.
Is there some simple method to fix this?
The code is:
\documentclass{llncs}
\usepackage[compact]{titlesec}
Best Answer
The
titlesec
package assumes that the usual sectioning levels are defined with the standard method, basicallyHowever, the
llncs
class defines\subparagraph
to produce a warning text that the command should not be used.If you really want to change the appearance of section titles, ignoring the fact that you probably are using
llncs
for submissions to Springer, where the changes will quite surely be overridden, you can do in the following way:This will produce no error when loading
titlesec
.