Dear All,<br>I am facing a problem with the use of list command. I need to generate lists with specific numbering systems and then cross-reference them in different parts. <br>By using the list command I am able to create lists with the correct system of numbering. However when I use the \ref command to refer back to them it only prints the Arabic numeral equivalent of the entry instead of the numbering system I have used. Is there any way I could resolve this so that I could get the correct cross-reference inserted. <br>
<br>To illustrate my problem I have written a short code for this which states my problem too. <br><br>---------------------------------------------<br><br>\documentclass[12pts,a4paper]{report}<br>\usepackage{graphicx}<br>
\usepackage{hyperref}<br>\usepackage{color}<br><br>\newcounter{sections}<br>\newcounter{sub-section}<br>\newcounter{clause}<br>\newcounter{sub-clause}<br>%this is the counter command<br><br><br><br><br>\title{Problem with cross-referencing using list command} <br>
<br>\author{Shubho Roy}<br><br>\begin{document}<br>\maketitle<br><br><br>\begin{list}{(\arabic{sub-section})}{\usecounter{sub-section}}<br>\item This is some text in sub-section which is using Arabic<br> numerals. \label{sub-sec:arabic_numerals}<br>
\begin{list}{(\alph{clause})}{\usecounter{clause}}<br>\item This is a clause which is using alphabetical numbering<br>\label{clause:alphabetical}<br>\begin{list}{(\roman{sub-clause})}{\usecounter{sub-clause}}<br>\item This is a sub-clause using roman numbering. \label{sub-clause:roman_numerals} <br>
\end{list} <br><br>\end{list} <br><br>\end{list} <br><br>The problem arising when I use label to reference to different parts<br>of the document. <br><br>\begin{itemize} <br>\item If I refer to the sub-section using the ref command I get a correct<br>
reference like this: \ref{sub-sec:arabic_numerals}<br><br>\item However when I refer to the clause list which is a nested list and<br>uses alphabetical numbering I still get Arabic numbering as reference:<br>\ref{clause:alphabetical}. I would like this to be (a)<br>
<br>\item The same problem is available in the case of sub-clause list where I<br>should get roman numerals but I still get the Arabic numeral:<br>\ref{sub-clause:roman_numerals}. I would like this to be (i) <br><br>\end{itemize} <br>
<br>The hyperref command sends it to the correct link but the numbering<br>printed is always in Arabic while I have used other numbering systems<br>for this. <br>Any help!!<br><br>\end{document}<br><br>