On Tue, 10 Jul 2007, Norbert Zeh wrote:
E.g., in assignments I typeset, I often have either
\begin{question} ... \end{question}
which simply produces
-------------------- Question 1 ... --------------------
or
\begin{question}[20 marks] ... \end{question}
which produces
-------------------- Question 1 (20 marks) ... --------------------
This second option is easy to simulate if I can produce something that has no hanging indents. As it is, I can't.
\defineenueration[question][title=yes] \startquestion ... \stopquestion and \startquestion {20 marks} .... \stopquestion title is a relatively new feature and right now there is no documentation for it. Search in the dev mailing list for theorems for some examples. If you want some specific details, ask here. I will write a myway on theorems "soon". Aditya