MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Paper heading: does not work?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103778] Re: Paper heading: does not work?
  • From: Albert Retey <awnl at gmx-topmail.de>
  • Date: Mon, 5 Oct 2009 13:17:40 -0400 (EDT)
  • References: <haclp0$rt3$1@smc.vnet.net>

Alexei Boulbitch wrote:
> Dear Vince,
> 
> thank you for this message. I tried PageHeadings in a number of variants 
> starting from that I need:
> nb = CreateDocument[{x+y},
>   PageHeaders -> {GraphicsRow[{Graphics[
>        Text[Style[" - Confidential -     ", 36, Bold, "Arial", Gray]],
>         ImageSize -> {280, 60}],
>       Show[myImage, ImageSize -> {150, 70}]}, Alignment -> Left]}]
> 
> where myImage is the name of a jpg file
> 
> and ending by a direct executing of the command
> 
> 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.

It think the default is that the first page does not get page headers,
and with only one page it always happens to be the first. Use this to
change the default:

PrintingOptions -> {"FirstPageHeader" -> True}

to change that...

hth,

albert


  • Prev by Date: Which is better, foo[n_Integer] or foo[n_?IntegerQ] ?
  • Next by Date: Re: Re: confused about == vs === in this equality
  • Previous by thread: Re: Paper heading: does not work?
  • Next by thread: How to find which variable caused the trigger in Manipulate[] ?