I am trying to use custom counters in the titles of several sections, but I am not talking about the numbering system Latex uses for sections, that's ok. I just want to use a counter in the title.
Better explained with an example:
2.1.2. Title 1
2.1.3. Title 2
2.1.4. Title 3
I just want those 1, 2 and 3 after Title to be a variable I can increment. I have tried using \newcounter and \stepcounter but I must have been using them wrong because they did nothing.
This is what I tried:
\newcounter{ntitle}
\subsection{Title \value{ntitle}}
\stepcounter{ntitle}
...

\thentitlenot\value{ntitle}– David Carlisle Oct 20 '16 at 16:39