ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Header bottomframe on first page of document
@ 2011-12-22  6:07 Peter Park Nelson
  2011-12-22  9:59 ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Park Nelson @ 2011-12-22  6:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

If I have a bottom frame under my page headers, is it possible to have
NO bottom frame under the header on ONLY the first page of a document?

I am using:
\setupbackgrounds[header][text][bottomframe=on]
to put a border line underneath all my page headers. I want to have a
header on the first page of my document but no line under it (the
first page header will be unique). I want to keep the vertical space
for the header, so \setupheader[text][state=high] is not what I need.

The reason for this is to have the option of placing a "banner" over
the document title using the header. Some documents will need this,
and some will not. So, if the extra banner is needed, I will put it in
the first page header, and if not I will leave that header blank. The
unique header will be set using:

\definetext[firsthead][header][First Page Header Banner Text] % or
leave it blank...
\setuphead[title][header=firsthead,...]

Thanks,
PPN

-- 
Peter Park Nelson
peter.park.nelson@gmail.com
___________________________________________________________________________________
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

* Re: Header bottomframe on first page of document
  2011-12-22  6:07 Header bottomframe on first page of document Peter Park Nelson
@ 2011-12-22  9:59 ` Henning Hraban Ramm
  2011-12-22 15:45   ` Peter Park Nelson
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2011-12-22  9:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 2011-12-22 um 07:07 schrieb Peter Park Nelson:

> Hello,
>
> If I have a bottom frame under my page headers, is it possible to have
> NO bottom frame under the header on ONLY the first page of a document?
>
> I am using:
> \setupbackgrounds[header][text][bottomframe=on]
> to put a border line underneath all my page headers. I want to have a
> header on the first page of my document but no line under it (the
> first page header will be unique). I want to keep the vertical space
> for the header, so \setupheader[text][state=high] is not what I need.

So why don’t you simply set the rulecolor to something invisible on  
the first occurrence?
Maybe you want to use the "frontmatter" section for your title page  
setup.


Season’s Greetlings!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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

* Re: Header bottomframe on first page of document
  2011-12-22  9:59 ` Henning Hraban Ramm
@ 2011-12-22 15:45   ` Peter Park Nelson
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Park Nelson @ 2011-12-22 15:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hraban,

> So why don’t you simply set the rulecolor to something invisible on the
> first occurrence?
That sounds good, but I don't know how to do it. I'm new to ConTeXt
and figuring this stuff out as I go.

> Maybe you want to use the "frontmatter" section for your title page setup.
The title is not on a separate title page; the body of the document
follows after the title.

On Thu, Dec 22, 2011 at 3:59 AM, Henning Hraban Ramm <hraban@fiee.net> wrote:
>
> Am 2011-12-22 um 07:07 schrieb Peter Park Nelson:
>
>
>> Hello,
>>
>> If I have a bottom frame under my page headers, is it possible to have
>> NO bottom frame under the header on ONLY the first page of a document?
>>
>> I am using:
>> \setupbackgrounds[header][text][bottomframe=on]
>> to put a border line underneath all my page headers. I want to have a
>> header on the first page of my document but no line under it (the
>> first page header will be unique). I want to keep the vertical space
>> for the header, so \setupheader[text][state=high] is not what I need.
>
>
> So why don’t you simply set the rulecolor to something invisible on the
> first occurrence?
> Maybe you want to use the "frontmatter" section for your title page setup.
>
>
> Season’s Greetlings!
> Hraban
> ---
> http://www.fiee.net/texnique/
> http://wiki.contextgarden.net
> https://www.cacert.org (I'm an assurer)
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________



-- 
Peter Park Nelson
peter.park.nelson@gmail.com
___________________________________________________________________________________
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-12-22 15:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-22  6:07 Header bottomframe on first page of document Peter Park Nelson
2011-12-22  9:59 ` Henning Hraban Ramm
2011-12-22 15:45   ` Peter Park Nelson

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