On  9 May 2006, Hans Hagen wrote:

Na Li wrote: >
> > Is there a way of defining an itemize style without having to specify
> > the same set of options to \startitemize every time?  Something like:
> > 
> > \defineitemize[myitemize][s,packed][width=5em,stopper=:,style=bold]
> > 
> \defineitemgroup

That does the trick.  Thanks.

This is not in the manual.  I only found one example through Google.  So
I'll repeat it here

\defineitemgroup[mylist]
\setupitemgroup[mylist][each][s,packed]
\setupitemgroup[mylist][each][width=5em,stopper=:,style=bold]

Another question, if I do

\startitemize[n]
\item
  \startmylist
  \item
  \stopmylist
\stopitemize

The numbers, '1', '2', etc, from the outer list does not line up with 
the first line of the inner list.  How can that be fixed?  Also how to
prevent a page break between the number/bullet from the outer list and
the nested list?

Michael

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

Reply via email to