ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Nested itemize
Date: Fri, 6 Apr 2012 18:13:41 +0200	[thread overview]
Message-ID: <53EB472A-73A0-4B67-8848-8069F29BBB51@googlemail.com> (raw)
In-Reply-To: <op.wccoikymtpjj8f@lpr>


Am 06.04.2012 um 17:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

> Hello,
> 
> is there an option for \startitemize or \setupitemize or \setupitemgroup:
> 
> ----
> \startitemize
>  \item A
>    \startitemize
>      \item B
>    \stopitemize
> \stopitemize
> ----
> 
> to get:
> 
> 1. A
>  1.1 B (= nested item has its parent numbers, too)
> 
> or rather
> 
> 1. A
> 1.1 B (= nested item has its parent numbers, too; no indenting of nested items)
> 
> instead of
> 
> 1. A
>  1. B (= normal result)
> ?


The “repeat” is needed to show the number on the next level, the “intext” prevents the items from being indented.

\starttext

\startitemize[n,repeat,intext]
  \item A
  \startitemize[A,broad]
    \item B
  \stopitemize
\stopitemize

\stoptext

BTW: A minimal example should contain \starttext/\stoptext and in your case also the options for itemize.

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
___________________________________________________________________________________

  reply	other threads:[~2012-04-06 16:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-06 15:40 Procházka Lukáš Ing. - Pontex s. r. o.
2012-04-06 16:13 ` Wolfgang Schuster [this message]
2012-04-07 15:08   ` Procházka Lukáš
2014-11-28 18:01 nested itemize Mikael P. Sundqvist
2014-11-29  9:48 ` Otared Kavian
2014-11-29 10:04 ` Hans Hagen
2014-11-29 10:43   ` Mikael P. Sundqvist
2014-11-29 10:49     ` Hans Hagen
2014-11-30 20:48     ` Otared Kavian
2014-11-30 20:58     ` Otared Kavian
2014-12-01  7:01       ` Mikael P. Sundqvist
2022-09-02  9:08 Nested itemize Alexandre Christe via ntg-context
2022-09-02  9:22 ` fv leung via ntg-context

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=53EB472A-73A0-4B67-8848-8069F29BBB51@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).