[texhax] inserting text in an enumeration list

E. Krishnan ekmath at asianetindia.com
Fri May 27 06:09:59 CEST 2005


On Thu, 26 May 2005, Zbigniew Nitecki wrote:

> I am thinking in terms  
> of a subgrouping the exercises at the end of each section of a long  
> book into (in my case) Practical Exercises, Theoretical Exercises,  
> and Challenge Problems.  

Please see whether the example below meets your needs:

  \documentclass[a4paper]{article}
  \usepackage[defblank]{paralist}



  \newenvironment{problist}{%
     \renewcommand{\theenumii}{\arabic{enumii}}
     \begin{asparablank}}%
     {\end{asparablank}}


   \begin{document}

   We give below some exercises to test your understanding of the
   concepts discussed.
   \begin{problist}
   \item \noindent\textbf{Practical Exercises}\\[2pt]
     These problems suggest various applications of the concepts 
     \begin{enumerate}
     \item The first problem
     \item The second problem
     \end{enumerate}
  \item \noindent\textbf{Theoretical Exercises}\\[2pt]
    These problems indicate theoretical extensions of the concepts 
    \begin{enumerate}
    \item The first problem
    \item The second problem
    \end{enumerate}
  \end{problist}



-- 
Krishnan



More information about the texhax mailing list