I want to remove the section numbering and then number subsections independently, resetting every chapter.
Pictorially,
1 Chapter
First section
1.1 subsection
1.2 subsection
Second section
1.3 subsection
2 Chapter
First section
2.1 subsection
...
If I do
\section*{Sectionname}
\addcontentsline{toc}{section}{Sectionname}
then I almost get what I want. However, the section name no longer appears as a fancyheader.
I am using the following code to create the headers:
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyfoot{}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\fancyhead[RE]{\itshape \nouppercase{\leftmark}}
\fancyhead[LO]{\itshape \nouppercase{\rightmark}}
Could someone help?
titlesec
and format sections so they're considered as ‘normal’?sections, but no number is displayed?