is there a way to reference the subsection part only? Example:
\documentclass{article}
\begin{document}
\section{This is my section}
For further information see subsection \ref{subsecthree} within this section.
\subsection{One}
\subsection{Two}
\subsection{Three}\label{subsecthree}
\end{document}
Usually gives (without the stars):
1 This is my section
For further information see subsection **1.3** within this section.
But I want:
1 This is my section
For further information see subsection **3** within this section.
Is that possible?
[Edit] To make it more clear: I am looking for a command that works like \ref, but prints (the arabic number of) the value of the subsection counter at the position of the \label.
=======================
== Solution in LaTeX ==
There is another solution below. This is a different solution I came up with
(I cannot post an answer to my own question, so I put it here):
\documentclass{article}
\newcommand{\labelsubseccounter}[1]{
\renewcommand\thesubsection{\arabic{subsection}}
\addtocounter{subsection}{-1}
\refstepcounter{subsection}
\label{#1}
\renewcommand\thesubsection{\thesection.\arabic{subsection}}
}
\begin{document}
\section{This is my section}
For further information see subsection \ref{subsecthree} within this section,
which is called \ref{onepointthree}, not \ref{onepointfour}.
\subsection{One}
\subsection{Two}
\subsection{Three}\label{onepointthree}\labelsubseccounter{subsecthree}
\subsection{Four}\label{onepointfour}
\end{document}
(I would like to insert the compiled code, but don't know how, sorry)

\documentclass{...}and ending with\end{document}. – Marco Daniel Feb 08 '14 at 13:00hyperrefor any other related package which influences references? – Marco Daniel Feb 08 '14 at 13:14