Re: Paper heading: does not work?
- To: mathgroup at smc.vnet.net
- Subject: [mg103771] Re: Paper heading: does not work?
- From: Vince <blueschi at gmail.com>
- Date: Mon, 5 Oct 2009 13:16:23 -0400 (EDT)
- References: <haclp0$rt3$1@smc.vnet.net>
On Oct 5, 7:37 am, Alexei Boulbitch <Alexei.Boulbi... at iee.lu> wrote:
> ...
> nb = CreateDocument[{x + y},
> PageHeaders -> {{"a1", "a2", "a3"}, {"a4", "a5", "a6"}}];
>
> that found in the Help/PageHeaders. All of them created nothing except
> the notebook with x+y in the first cell. No headings either on the
> screen or upon printing.
Alexei,
I think the Front End's default disables headers (and footers) on the
first page. Add the following option to CreateDocument to enable them.
(Worked for me on your example above.)
PrintingOptions -> {"FirstPageHeader" -> True}
I.e.
nb = CreateDocument[{x + y},
PageHeaders -> {{"a1", "a2", "a3"}, {"a4", "a5", "a6"}},
PrintingOptions -> {"FirstPageHeader" -> True}]
Vince Virgilio