Ah, excellent. Also thanks to Wolfgang for his earlier comment. I had looked at location=left before but was thrown off by the excessive distance between the heading and the text...until I discovered the meaning of width=fit. As you can see, I'm new to context. Has anybody looked into the bug (?) with numbered labels? Cheers, Norbert On 11-Jul-07, at 4:39 AM, Aditya Mahajan wrote:
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 ______________________________________________________________________ _____________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ______________________________________________________________________ _____________
-- NORBERT ZEH Faculty of Computer Science : Dalhousie University nzeh@cs.dal.ca : http://www.cs.dal.ca/~nzeh : 902.494.3154