# Re: [NTG-context] creating a new head

Arun Swarup wrote:

Hi,

I would like to design a new head for \chapter{...}, but I am new to
TeX/ConTeXt and am having trouble.

I would like my head to be something like this:
http://www.geocities.com/arunswarup/images/title.png

I know this a more a TeX-related rather than a ConTeXt-related problem


[chapter]
[command=\MyChapter,
style=\ss\bfd,
after={\blank[3*big]}]

[chapter=Chapter]

\def\MyChapter#1#2%
{\vbox \bgroup
\framed

\vskip2mm
\framed

{#2}
\egroup}

\starttext

\chapter{HOW TO INSTALL AND TEST SAMBA}

\input tufte

\stoptext

-----------------------------------------------------------------
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------

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