ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: Left justify numbers on left margin edge
Date: Sat, 8 Jul 2006 19:59:31 -0400 (EDT)	[thread overview]
Message-ID: <Pine.WNT.4.63.0607081951470.788@nqvgln> (raw)
In-Reply-To: <CF714CD4-0441-4F94-8B5B-94AB7DF03F64@cox.net>

On Fri, 7 Jul 2006, 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.

I guess that this is because the text not empty.

> \setuplabeltext[question=]
>
> \defineenumeration
> [question]
> [text=\labeltext{question}]

This works,

  \defineenumeration
  [question]
  [text=]


Or

\defineeneumeration
  [question]
  [text=\labeltext{question},
   left=\unskip]

But both will behave incorrectly if you decide to set the label to 
something else in the future.

Aditya


>
> \setupenumerations
> 	[question]
> 	[location=left,
> 	width=broad,
>         hang=1,
> 	headcolor=green,
> 	right=.,
> 	way=bysection,
> 	sectionnumber=no]
>
> \starttext
>
> \noindent Now is the time for all good men to come to the aid of
> their county. Now is the time for all good men to come to the aid of
> their county. Now is the time for all good men to come to the aid of
> their county. Now is the time for all good men to come to the aid of
> their county. Now is the time for all good men to come to the aid of
> their county. Now is the time for all good men to come to the aid of
> their county.
>
> \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
>
> \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
>
> \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
>
> \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
>
> \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
>
> \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
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
>

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008

      parent reply	other threads:[~2006-07-08 23:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-07 19:27 David Arnold
2006-07-08 23:06 ` Mojca Miklavec
2006-07-08 23:49   ` Aditya Mahajan
2006-07-09  0:21     ` Mojca Miklavec
2006-07-09  1:00       ` Aditya Mahajan
2006-07-11  9:10         ` Hans Hagen
2006-07-08 23:59 ` Aditya Mahajan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.WNT.4.63.0607081951470.788@nqvgln \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).