From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29202 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Left justify numbers on left margin edge Date: Sun, 9 Jul 2006 01:06:24 +0200 Message-ID: <6faad9f00607081606x1fbc8519n6943019300b67e22@mail.gmail.com> References: 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 1152400007 2490 80.91.229.2 (8 Jul 2006 23:06:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Jul 2006 23:06:47 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 09 01:06:44 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 1FzLsp-0003Aj-B6 for gctc-ntg-context-518@m.gmane.org; Sun, 09 Jul 2006 01:06:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CA9F11280D; Sun, 9 Jul 2006 01:06:42 +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 14964-04; Sun, 9 Jul 2006 01:06:36 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7C42812800; Sun, 9 Jul 2006 01:06:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D551612800 for ; Sun, 9 Jul 2006 01:06:32 +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-01 for ; Sun, 9 Jul 2006 01:06:27 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by ronja.ntg.nl (Postfix) with SMTP id 97771127E9 for ; Sun, 9 Jul 2006 01:06:26 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id n28so487295nfc for ; Sat, 08 Jul 2006 16:06:24 -0700 (PDT) Original-Received: by 10.78.151.3 with SMTP id y3mr1213092hud; Sat, 08 Jul 2006 16:06:24 -0700 (PDT) Original-Received: by 10.78.72.12 with HTTP; Sat, 8 Jul 2006 16:06:24 -0700 (PDT) Original-To: "mailing list for ConTeXt users" In-Reply-To: Content-Disposition: inline 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:29202 Archived-At: 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. Mojca