ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Style of header text
@ 2011-03-09 20:24 Milton Galo Patricio Inostroza Aguilera
  2011-03-09 20:31 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Milton Galo Patricio Inostroza Aguilera @ 2011-03-09 20:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I'm trying to setup the style of the header text in this way:

\setupcolors[state=start,system=rgb]
\definecolor[Darkred][r=0.5,g=0.0,b=0.0]

\definehead[MyChapter][chapter]

\setuphead[MyChapter][
 after=\blank,
 number=no,
 continue=no,
 textcolor=Darkred,
 style=\ss\tfc
]

\starttext

\MyChapter{Introduccion}

\MyChapter{Final}

\stoptext

It work's fine.  I want that when exist a pagebreak, the system shows
the name of the chapter in the new page.  For that, I define a custom
pagebreak like this:

\definepagebreak
  [mychapterpagebreak]
  [yes,header]

and set in MyChapter's header the attribute page=mychapterpagebreak.
The system shows the name of the chapter, but I want to setup its
style (color, fontstyle, size, etc)...is it possible?.

Regards,



-- 
Milton
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2011-03-09 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-09 20:24 Style of header text Milton Galo Patricio Inostroza Aguilera
2011-03-09 20:31 ` Wolfgang Schuster
2011-03-09 20:41   ` Milton Galo Patricio Inostroza Aguilera

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