ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Paragraph itemizes
Date: Tue, 29 Apr 2014 14:44:33 +0200	[thread overview]
Message-ID: <26150AE5-F950-4334-8D74-DB3FBCE926C3@gmail.com> (raw)
In-Reply-To: <CAJ2CwZ29gV3VQ2WCLuUsggEvrWuyyKNRcd8+g2hFmZ6WaxM+_A@mail.gmail.com>


Am 29.04.2014 um 11:20 schrieb Maggyero <maggyero@gmail.com>:

> Hello,
> 
> 
> How do you setup your itemize environment to get a formatting in paragraph fashion, that is to say without margins at the second, third, etc. lines of each item, like this:
> 
> 1. one one one one one one one one one one
> one one one one one one one one one one
> 2. two two two two two two two two two two
> two two two two two two two two two two
> 3. three three three three three three three three three three
> three three three three three three three three three three
> 
> I get this instead (notice the margins represented with underscores):
> 
> 1. one one one one one one one one one one
> __one one one one one one one one one one
> 2. two two two two two two two two two two
> __two two two two two two two two two two
> 3. three three three three three three three three three three
> __three three three three three three three three three three
> 
> with:
> 
> \setupitemgroup[itemize][each][packed]
> \startitemize[n]
> \item \dorecurse{20}{one}
> \item \dorecurse{20}{two}
> \item \dorecurse{20}{three}
> \stopitemize

Use the “intext” keyword.

\usemodule[visual]

\starttext

\startitemize[n,intext,packed]
\item \fakewords{10}{20}
\item \fakewords{10}{20}
\item \fakewords{10}{20}
\stopitemize

\stoptext

BTW: When you make a minimal example it should also be working, i.e. on your case you should also add \starttext and \stoptext.

Wolfgang

___________________________________________________________________________________
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:[~2014-04-29 12:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-29  9:20 Maggyero
2014-04-29 11:53 ` Romain Diss
2014-04-29 12:44 ` Wolfgang Schuster [this message]
2014-04-29 23:13 Maggyero

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=26150AE5-F950-4334-8D74-DB3FBCE926C3@gmail.com \
    --to=schuster.wolfgang@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).