[NTG-context] Question on how to simple numbered sections or other headings

Thomas A. Schmitz thomas.schmitz at uni-bonn.de
Sun Oct 25 17:32:30 CET 2015


Is that what you're looking for?


\define[2]\MyChapterTitle%
{#2: #1}

\setuphead[chapter]
	  [command=\MyChapterTitle]

\starttext

\startchapter [title=Some Title]

Some text.

\stoptext

When you define a command, #1 is your chapter/section/whatever number, 
#2 is your title.

(For future reference: please make minimal examples when asking a question.)

Thomas


More information about the ntg-context mailing list