[NTG-context] numbered subitems

Aditya Mahajan adityam at umich.edu
Sun Sep 30 18:28:10 CEST 2007


On Sun, 30 Sep 2007, Alan Bowen wrote:

> I need to produce an lengthy itemization of the form:
> 1.AAAA
> 	1.1 aaaa
> 	1.2 bbbb
> 2.BBBB
> 	2.1 cccc
>
> I can get:
> 1.AAAA
> 	1 aaaa
> 	2 bbbb
> 2.BBBB
> 	1 cccc
> easily enough, but how can I get the main division number to repeat in the 
> subitem numeration?


>From core-itm.tex

% \startbuffer
% \item
%   \startitemize[n]
%   \item item 1.1
%   \item item 1.2
%   \startitemize[n] \item item 1.2.1 \item item 1.2.2 \stopitemize
%   \item item 1.3
%   \stopitemize
% \item
%   \startitemize[n] \item item 2.1 \item item 2.2 \stopitemize
% \item item 3
%   \startitemize[n] \item item 3.1 \item item 3.2 \stopitemize
% \item
%   \startitemize[n] \item item 4.1 \item item 4.2 \stopitemize
% \stopbuffer
%
% \startitemize[n,repeat,6*broad,packed] \getbuffer \stopitemize 
\blank[3*big]
% \startitemize[n,repeat,packed]         \getbuffer \stopitemize 
\blank[3*big]
% \setupitemize[each][atmargin][width=3em]
% \startitemize[n,repeat,packed]         \getbuffer \stopitemize

Aditya


More information about the ntg-context mailing list