Re: Headers and Footers
- To: mathgroup at smc.vnet.net
- Subject: [mg14800] Re: Headers and Footers
- From: paulh (P.J. Hinton)
- Date: Wed, 18 Nov 1998 01:29:00 -0500
- Organization: Wolfram Research, Inc.
- References: <72jfca$3hf@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <72jfca$3hf at smc.vnet.net>, Jason Gill <jgill at vbimail.champlain.edu> writes: |> I am running Mathematica 3.0 on Win 95, am having a losing battle with |> headers and footers. Mathematica always prints the name of the |> notebook and the page number as the header. If I try making the |> changes using the Print Settings, the headers will be supressed for the |> duration of my session, but will return. I tried updating the options |> inspector. It shows that I have None listed in all the appropriate |> places yet, the headers still print. I also visited my init.m file, |> it is as expected |> |> PageFooters->{{None,None,None},{None,None,None}} |> |> so what am I missing? Is there a fourth place where I need to tell |> Mathematica to turn off the headers? PageFooters is a tricky option to begginning Mathematica users since it can be set in three different places: 1) In the front end init.m file. This is a global level specification and has the lowest level of precedence. This setting will be overridden if this option is set explicitly at a lower level. 2) In the notebook's style sheet. Keep in mind that the appeances of a notebook are determined largely by the style sheet associated with it. This setting is determined by whatever the option of StyleDefinitions is set in the actual notebook expression. In each style sheet, you will see a prototype for Notebook. This prototype serves to specify notebook-level options, like headers and footers. The settings specified herein will be overridden if you specify explicit footer option settings at the notebook level 3) The notebook itself will have options associated with it. This is _the_ level you want to set things at if you want your changes to apply to your notebook, but not to other notebooks that would use the same shared style sheet. If you are going to use the Option Inspector dialog to effect binding changes in the appearance, it is important that you set the scope indicator at the top of the dialog to read "notebook". If you set this to "global" (as it seems you did, given that you're finding your option settings stored in the front end init.m), then the changes wont be heeded when the notebook is printed because the style sheet settings will be calling the shots. Hope that helps. If you continue to run into troubles, please let me know. -- P.J. Hinton Mathematica Programming Group paulh at wolfram.com Wolfram Research, Inc. http://www.wolfram.com/~paulh/ Disclaimer: Opinions expressed herein are those of the author alone.