[texhax] List question

E. Krishnan ekmath at asianetindia.com
Sat Jun 2 15:32:20 CEST 2007


On Sat, 2 Jun 2007, Zachary Leung wrote:

> I would like to write something like the following.
>
> <example>
> We want a partition to exhibit the following two properties:
> (P1) blah blah
> (P2) blah blah
>
> The two properties (P1) and (P2) mentioned above are important because...
> </example>
>
> Is there any environment or list I can use, so that I can use a \label
> command to generate (P1) and (P2)?




\begin{enumerate}
\renewcommand{\theenumi}{(P\arabic{enumi})}
\renewcommand{\labelenumi}{\theenumi}
\item blah blah\label{bl}
\item blah blah\label{ah}
\end{enumerate}

The two properties \ref{bl} and \ref{ah} .................


-- 
Krishnan


More information about the texhax mailing list