[Tex/LaTex] set counter chapter with float

chaptersfloats

I am trying to set a counter chapter with float like this :

\setcounter{chapter}{2.3}

I am getting this error alc Error: `.' invalid at this point.

Best Answer

Counters only accept integers values, so try this:

\setcounter{chapter}{2}
\setcounter{section}{3}

\section{Your Headline} % This is section 2.4

Or

\setcounter{chapter}{2}
\setcounter{section}{2}

\section{Your Headline} % This is section 2.3
Related Question