No one answered the question, but I found the answer by looking to the definition of enumerate in the latex definition file. In fact, the correct form of the code should be
\newenvironment{exercise}%
{%
\section*{Problems}\markright{Problems}
\def\problem{\item}%
\setcounter{exnum}{1 ...
Search found 2 matches
- Sat Nov 14, 2009 12:31 am
- Forum: Text Formatting
- Topic: Problem with referencing items in a list environment
- Replies: 1
- Views: 1493
- Mon Nov 09, 2009 5:33 pm
- Forum: Text Formatting
- Topic: Problem with referencing items in a list environment
- Replies: 1
- Views: 1493
Problem with referencing items in a list environment
I'm new to this forum, so please excuse me if I'm asking a question which has already been answered.
I wrote a small environment to show examples in a list fashion. The code is:
\newcounter{Example}[chapter]%
\newenvironment{example}%
{%
\def\example{\item}%
\setcounter{Example}{1 ...
I wrote a small environment to show examples in a list fashion. The code is:
\newcounter{Example}[chapter]%
\newenvironment{example}%
{%
\def\example{\item}%
\setcounter{Example}{1 ...