ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* creating a new head
@ 2005-06-29 14:16 Arun Swarup
  2005-06-29 14:57 ` Henning Hraban Ramm
  2005-06-29 17:31 ` Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: Arun Swarup @ 2005-06-29 14:16 UTC (permalink / raw)


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

thx

-arun

P.S. I have {\em just} started reading the TeXBook ... not enough to do
it myself


		
__________________________________ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.html 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: creating a new head
  2005-06-29 14:16 creating a new head Arun Swarup
@ 2005-06-29 14:57 ` Henning Hraban Ramm
  2005-06-29 17:31 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2005-06-29 14:57 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 522 bytes --]

Am 2005-06-29 um 16:16 schrieb Arun Swarup:
> 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

Did you have a look at http://contextgarden.net/Titles ?
There's a similar sample.

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

Why?


Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net


[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2312 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: creating a new head
  2005-06-29 14:16 creating a new head Arun Swarup
  2005-06-29 14:57 ` Henning Hraban Ramm
@ 2005-06-29 17:31 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2005-06-29 17:31 UTC (permalink / raw)


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

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

\setupheadtext
   [chapter=Chapter]

\def\MyChapter#1#2%
   {\vbox \bgroup
      \framed
 
[frame=off,bottomframe=on,offset=none,height=1cm,width=broad,align=flushleft]
        {\headtext{chapter} #1}
      \vskip2mm
      \framed
 
[frame=off,topframe=on,offset=none,height=4cm,width=broad,align={flushleft,low}]
        {#2}
     \egroup}


\starttext

\chapter{HOW TO INSTALL AND TEST SAMBA}

\input tufte


\stoptext


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-29 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-29 14:16 creating a new head Arun Swarup
2005-06-29 14:57 ` Henning Hraban Ramm
2005-06-29 17:31 ` Hans Hagen

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