ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Supress chapter number in sections
@ 2005-05-03 15:36 Randall Skelton
  0 siblings, 0 replies; 5+ messages in thread
From: Randall Skelton @ 2005-05-03 15:36 UTC (permalink / raw)


I've fiddled with almost every parameter in sethead but cannot seem to
find the correct one.  I'd like to suppress the chapter numbers in a
relatively large document such that numbering of sections, tables,
figures and equations begins at 1 instead of 1.1.  Is there a simple
way to do this?

Here are how my chapters and sections are currently defined:

\def\MyChapterText#1{\leftaligned{#1}}

\setuphead[Topic,chapter]
  [textcommand=\MyChapterText,
   textstyle={\switchtobodyfont[Titling,20pt]\sc},
   color=black,
   number=no,
   page=right,
   continue=no,
   header=empty,
   distance=0pt,
   before=\vbox to 3cm\bgroup,
   after=\vss\egroup]

\def\MySectionText#1{\switchtobodyfont[12pt]\sc\lowercase{#1}}

\setuphead[Subject, section]
  [textcommand=\MySectionText,
   style={\sc},
   color=black,
   before={\blank[2*big]},
   after={\blank[2*big]}]

Many thanks,
Randall

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <20050504091212.BC3A31280E@ronja.ntg.nl>]
[parent not found: <20050527100003.436E0127D0@ronja.ntg.nl>]

end of thread, other threads:[~2005-05-27 15:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-03 15:36 Supress chapter number in sections Randall Skelton
     [not found] <20050504091212.BC3A31280E@ronja.ntg.nl>
2005-05-04 11:54 ` Duncan Hothersall
2005-05-05 14:41   ` Randall Skelton
2005-05-27  3:13     ` Randall Skelton
     [not found] <20050527100003.436E0127D0@ronja.ntg.nl>
2005-05-27 15:25 ` Duncan Hothersall

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