ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: margin option in itemize
Date: Sat, 12 Dec 2009 07:37:53 +0100	[thread overview]
Message-ID: <fe8d59da0912112237j52b54994y31c405c7f6b9d87c@mail.gmail.com> (raw)
In-Reply-To: <3b4b12310912080711y41f48bf6q983bce45c73e3a64@mail.gmail.com>

On Tue, Dec 8, 2009 at 4:11 PM, Curiouslearn <curiouslearn@gmail.com> wrote:
> Can someone please explain why the margin command does not work in
> this example? What can I do to obtain the margin.
>
> Thanks.
>
> \setuppapersize[letter][letter]
> \starttext
>
> \input tufte
>
> \startitemize
>        \item This is the first item of outer list.
>                \startitemize[a][stopper=)]
>                        \item Context is great. The more I use it the more I love it.
>                        \item Hope it continues to develop further.
>                \stopitemize
>        \item This is the second item of outer list. Margin command does not
> work below.
>                \startitemize[a][stopper=),margin=2in]
>                        \item Context is great. The more I use it the more I love it.
>                        \item Hope it continues to develop further.
>                \stopitemize
> \stopitemize
>
> \input tufte
>
> \stoptext
> ___________________________________________________________________________________
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>

As wolfgang already wrote

\setuppapersize[letter][letter]
\setupitemize[2][stopper={:},left={\kern2.10em},width=\dimexpr 2.10em+1em\relax]
\starttext
\input tufte
\startitemize
       \item This is the first item of outer list.
               \startitemize[a]
                       \item Context is great. The more I use it the more it
                       \item Hope it continues to develop further.
               \stopitemize
       \item This is the second item of outer list. Margin command does not
work below.
               \startitemize[a]
                       \item Context is great. The more I use it the
more I love it.
                       \item Hope it continues to develop further.
               \stopitemize
\stopitemize
\input tufte
\stoptext


-- 
luigi
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2009-12-12  6:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-08 15:11 Curiouslearn
2009-12-10 19:15 ` Curiouslearn
2009-12-11 13:32   ` Taco Hoekwater
2009-12-12  1:22     ` Curiouslearn
2009-12-12  6:22       ` Wolfgang Schuster
2009-12-12  6:37 ` luigi scarso [this message]
2009-12-12 16:36   ` Curiouslearn

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=fe8d59da0912112237j52b54994y31c405c7f6b9d87c@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --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).