ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* custom itemize
@ 2006-08-04 14:14 Renaud AUBIN
  2006-08-04 14:55 ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Renaud AUBIN @ 2006-08-04 14:14 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-08-07 17:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-04 14:14 custom itemize Renaud AUBIN
2006-08-04 14:55 ` Taco Hoekwater
2006-08-04 15:48   ` Renaud AUBIN
2006-08-07 17:16     ` Aditya Mahajan

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).