From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29203 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Left justify numbers on left margin edge Date: Sat, 8 Jul 2006 19:49:56 -0400 (EDT) Message-ID: References: <6faad9f00607081606x1fbc8519n6943019300b67e22@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1152402618 7662 80.91.229.2 (8 Jul 2006 23:50:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Jul 2006 23:50:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 09 01:50:16 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FzMYt-0006th-Dh for gctc-ntg-context-518@m.gmane.org; Sun, 09 Jul 2006 01:50:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5D2F01280F; Sun, 9 Jul 2006 01:50:11 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17422-01; Sun, 9 Jul 2006 01:50:05 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B5A6512800; Sun, 9 Jul 2006 01:50:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0645612800 for ; Sun, 9 Jul 2006 01:50:03 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15091-06 for ; Sun, 9 Jul 2006 01:50:01 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with SMTP id 3770D127F7 for ; Sun, 9 Jul 2006 01:50:00 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY skycaptain.mr.itd.umich.edu ID 44B044A5.D2FE6.25579 ; 8 Jul 2006 19:49:59 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f00607081606x1fbc8519n6943019300b67e22@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:29203 Archived-At: On Sun, 9 Jul 2006, Mojca Miklavec wrote: > On 7/7/06, David Arnold wrote: >> All, >> >> Why is it I cannot get my numbers to abut up against the left margin >> edge? They are always a few points indented. >> >> \setuplabeltext[question=] >> >> \defineenumeration >> [question] >> [text=\labeltext{question}] >> >> \setupenumerations >> [question] >> [location=left, >> width=broad, >> hang=1, >> headcolor=green, >> right=., >> way=bysection, >> sectionnumber=no] >> >> \starttext >> >> \startquestion >> An icon is a representation of an action or the name of a computer >> program. Icons are frequently used in operating systems on several >> computer platforms. >> \stopquestion >> >> \stoptext > > It seems that you're reading my mind. I guess that it must be > approximately the same reason as why I can't get > > Question Q1 > Question Q2 > > With > \defineenumeration > [question] > [text=Question Q] > \startquestion > Why are there so many spaces? > \stopquestion > I get Question Q 1 (but I can't find a way to get Q1 as is possible in > sections - the space seems to be there by default). > > I thought that > headcommand=\myquestioncommand > (command spotted when I took a look at texshow, it's not in the manual) and > \def\myquestioncommand#1{Question Q#1} > would solve that, but I don't see any evidence of \myquestioncommand > ever being called/executed. > > I would be very happy if this issue was solved as well. Perhas a > left=,right= > pair of keywords could solve the problem (left= and right= surrounding > the number; but then we would also have to surround the label with > something as well), where the default of left= would be a space. > \[whatever]commad= could also solve the problem. > left=Q works. The label is , so this works \defineenumeration [question] [text=Question, left=Q] \starttext \startquestion[abc] Why are there so many spaces in \in[abc]? \stopquestion \stoptext