[NTG-context] chapter-like headings with separate numbering

Aditya Mahajan adityam at umich.edu
Fri Dec 5 23:48:01 CET 2008

On Mon, 24 Nov 2008, Sanjoy Mahajan wrote:

> I'm experimenting with making a heading that is like a chapter in format
> but has its own numbering (or lettering).  The purpose to have an
> interlude, or extended example, every few chapters.  The following
> almost-minimal example almost does so.  However, the second interlude is
> numbered with 'A' instead of 'B'.  Is there a missing key=value pair, or
> is the approach completely wrong?

An enumeration passes the duck test [1] for headings, so ...

[1] http://en.wikipedia.org/wiki/Duck_test

          text={Interlude }]

          text=, listtext=,
          title=yes, titleleft=, titleright=]



\chapter{Chap 1}

\interlude{Interlude 1}

\interludeA{{Interlude 1}}

\chapter{Chap 2}

\interlude{Interlude 2}

\interludeA{{Interlude 2}}



More information about the ntg-context mailing list