On Fri, Dec 03, 2004 at 11:18:09PM +0000, Michael Lapsley wrote:

Hmmm,  don't know what happened to the line breaks in my
last post.  Here is the attachment in-line

<--snip----------------->
\documentclass[english,reqno]{amsart}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}

\makeatletter

\newenvironment{question}{\sffamily\begin{enumerate}}{\end{enumerate}}

[EMAIL PROTECTED]

\newenvironment{answer}{\normalfont%
[EMAIL PROTECTED]
\setlength\parindent{0pt}%
[EMAIL PROTECTED]

[EMAIL PROTECTED]
[EMAIL PROTECTED]@ifnextchar\begin%]
        {beginT\let\itemlen=1}%\begin T
                [EMAIL PROTECTED]@ifnextchar\egroup{egroupT}{egroupF}}{bgroupF}
                        }% \beginF
                }% end def

%\def\item{%
%   [EMAIL PROTECTED]
%      [EMAIL PROTECTED] [EMAIL PROTECTED]@noitemargtrue
%      [EMAIL PROTECTED]@itemlabel]}}

\makeatother

\begin{document}
\begin{question}
%\item {} 
%\item {a grouped question} 
\item an ungrouped question
\begin{answer}
And Here is the answer\end{answer}
\end{question}

\end{document}

Reply via email to