Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4442

setting header options in another nb with code

From Phil Hammond <phil@hammondo.org>
Newsgroups comp.soft-sys.math.mathematica
Subject setting header options in another nb with code
Date 2011-08-17 09:57 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j2g39s$1fe$1@smc.vnet.net> (permalink)

Show all headers | View raw


In a Notebook I have:

nb = CreateDocument[]

and then:

SetOptions[nb, FirstPageHeader -> True, FirstPageFooter -> True,
 PageHeaders -> {{Cell[quizDate, 14], Cell[teacher, 14],
    Cell[hdrName, 14]}, {Cell[hdrName, 14], Cell[teacher, 14],
    Cell[quizDate, 14]}}]

where quizDate, teacher, and hdrName are Strings to be placed left,
center, right in the header.

The target nb gets the Strings in the right places in the header, but
their font size is not 14. Also, the first page header is unset.

Help please?? Thanks-

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

setting header options in another nb with code Phil Hammond <phil@hammondo.org> - 2011-08-17 09:57 +0000
  Re: setting header options in another nb with code Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-08-18 07:25 +0000

csiph-web