I'm trying to do subsections like:
2.1 V1 - xxx
xxxxxxxx
2.2 V2 - yyy
xxxxxxxxx
2.3 V3 - zzz
xxxxxxxxxx
for the number y from Vy, I used a counter :
Code: Select all
\newcounter{mycounter}
...
\subsubsection{V\arabic{mycounter} - xxx}
\label{xxx}
\refstepcounter{mycounter}
xxxxxxxxxxxx
\subsubsection{V\arabic{mycounter} - yyy}
\label{yyy}
\refstepcounter{mycounter}
xxxxxxxxxxxx
\subsubsection{V\arabic{mycounter} - zzz}
\label{zzz}
\refstepcounter{mycounter}
xxxxxxxxxxxx
As you will see in V2 - yyy, ......
So I use nameref, but the counter doesn't seem to work in the nameref and I get :
As you will see in V0 - yyy, ....
But the subsection titles are fine.
Can somebody help me please ?
Thank you