ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Renaud AUBIN <aubin@nibua-r.org>
Subject: custom itemize
Date: Fri, 04 Aug 2006 16:14:45 +0200	[thread overview]
Message-ID: <44D35655.5030808@nibua-r.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 807 bytes --]


Hi all,

Some times ago, Taco helps me to define a custom itemize:
\setbox0=\hbox{--~}
\def\indenteddash#1{\hskip\parindent--~}
\definesymbol[indentdash][\indenteddash]
\setupitemize[each][indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr
\parindent + \wd0 \relax]

The result of, for example:
\startitemize
\item first paragraph ... with a lot of text (multiline),
\item second paragraph ... with a lot of text (multiline).
\stopitemize

is:
     -- first paragraph ..
.... with a lot of text (multiline),
     -- second paragraph ..
.... with a lot of text (multiline).

Now, I would a new custom itemize with numbered items:

     1. first paragraph ..
.... with a lot of text (multiline),
     2. second paragraph ..
.... with a lot of text (multiline).

How to do that ?

TIA


Renaud


[-- Attachment #1.2: Type: text/html, Size: 1562 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

             reply	other threads:[~2006-08-04 14:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-04 14:14 Renaud AUBIN [this message]
2006-08-04 14:55 ` Taco Hoekwater
2006-08-04 15:48   ` Renaud AUBIN
2006-08-07 17:16     ` Aditya Mahajan

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=44D35655.5030808@nibua-r.org \
    --to=aubin@nibua-r.org \
    --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).