[Tuglist] Please help with \ref

Dr. Dinesh Karia tuglist@tug.org.in
Tue, 21 May 2002 17:56:13 +0530


This is a multi-part message in MIME format.

------=_NextPart_000_0017_01C200F0.CC47BE00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello everybody,
    I am in trouble with \ref command. Let me describe briefly my =
problem.

My document goes like:=20

\begin{defn}
Some text here.=20
\renewcommand{\labelenumi}{{(\roman{enumi})}}
\begin{enumerate}
\item \label{P:first}({\em positive definiteness}) descriptio here.
\item \label{P:second}({\em subadditivity})descriptio here.
\item \label{P:third}({\em homogeneity}) descriptio here.
\end{enumerate}
Then some text here.=20

\begin{rems}\label{R:first} $ $ \\
\begin{enumerate} \vspace{-15pt}
\item description for the item here the properties
(\ref{P:second}) and (\ref{P:third}) tells us...........=20

Now the point is that the number appearing in Defn items are roman (i) =
(ii) etc and at the place of (\ref{P:second}) and (\ref{P:third}) it =
gives (2) and (3).

Please help.

Thanks in advance.

Sincerely yours

Dinesh Karia



------=_NextPart_000_0017_01C200F0.CC47BE00
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#0000ff>Hello everybody,</FONT></DIV>
<DIV><FONT color=3D#0000ff>&nbsp;&nbsp;&nbsp; I am in trouble with \ref =
command.=20
Let me describe briefly my problem.</FONT></DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff>My document goes like: </FONT></DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff>\begin{defn}<BR>Some text here.=20
<BR>\renewcommand{\labelenumi}{{(\roman{enumi})}}<BR>\begin{enumerate}<BR=
>\item=20
\label{P:first}({\em positive definiteness}) descriptio here.<BR>\item=20
\label{P:second}({\em subadditivity})descriptio here.<BR>\item=20
\label{P:third}({\em homogeneity}) descriptio =
here.<BR>\end{enumerate}<BR>Then=20
some text here. </FONT></DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff>\begin{rems}\label{R:first} $ $ =
\\<BR>\begin{enumerate}=20
\vspace{-15pt}<BR>\item description for the item here the=20
properties<BR>(\ref{P:second}) and (\ref{P:third}) tells us...........=20
</FONT></DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff>Now the point is that the number appearing in =
Defn=20
items are roman (i) (ii) etc and at the place of (\ref{P:second}) and=20
(\ref{P:third}) it gives (2) and (3).</FONT></DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff>Please help.</FONT></DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff>Thanks in advance.</FONT></DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff>Sincerely yours</FONT></DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff>Dinesh Karia</DIV>
<DIV><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_0017_01C200F0.CC47BE00--