Titlesec causes "Missing number, treated as zero." with \section*
Closed this issue · 1 comments
PythonSchlumpf commented
I am using LaTeX in Overleaf. Suddenly I get in a new blank project "Missing number, treated as zero." when writing \section*.
MWE is:
`
\documentclass[a4paper,10pt]{scrartcl}
\usepackage[compact]{titlesec}
\titlespacing{\section}{0pt}{0pt}{0pt}
\titlespacing{\subsection}{0pt}{2pt}{2pt}
\begin{document}
\section*{Test}
Test
\subsection*{TestTest}
\end{document}
'
Could somebody help me to fix this, please? Thank you.
PythonSchlumpf commented
Can be closed, because I think what is going on, see #22