[Tuglist] Please help with \ref

Radhakrishnan CV tuglist@tug.org.in
24 May 2002 13:23:53 +0530


>>>>> "Dinesh" == Dinesh Karia <dineshjk@earth.planet.net.in> writes:

    Dinesh> Dear all and in particular Manoj, Thanks for your
    Dinesh> reply. But you are making another question and it does not
    Dinesh> solve my problem. Well, I need to change the numbering
    Dinesh> scheme in my document. I prefer (a) (b) .... at some
    Dinesh> places and (1) (2) ..... at other.  So, I have to change
    Dinesh> this environment. But my question still stands. When in
    Dinesh> dvi file an item is listed as (i) (ii).. etc how is it
    Dinesh> that its reference appears as (1) (2) etc....? This is
    Dinesh> what is happening in my sample listed in my mail. I am not
    Dinesh> curtailing this mail so that ppl can refer to my sample.

    Dinesh> Please reply.

[...]    
     
    Dinesh> \begin{defn}
    Dinesh> Some text here.
    Dinesh> \renewcommand{\labelenumi}{{(\roman{enumi})}}
 
You need to provide the following command:
\renewcommand\theenumi{\roman{enumi}} and this will solve the problem.

    Dinesh> \begin{enumerate}
    Dinesh> \item \label{P:first}({\em positive definiteness})
    Dinesh> descriptio here.
    Dinesh> \item \label{P:second}({\em subadditivity})descriptio
    Dinesh> here.
    Dinesh> \item \label{P:third}({\em homogeneity}) descriptio here.
    Dinesh> \end{enumerate}
    Dinesh> Then some text here.
 
-- 
Radhakrishnan