开发者

Making Mathematica's Global Options stick

I asked this question on Superuser, it has gotten no views in 24 hours. So despite not being a strict programming question, I'm asking it here where all the cool Mathematica kids hang:

I'm trying to set the default for the "Footer on first page" setting in File -> Print Settings -> Headers and Footers... Since that setting is set on a per notebook basis, I'm trying to set the Global Preference (For开发者_运维问答mat -> Options Inspector...) under Notebook Options -> Printing Options -> Printing Options -> FirstPageFooter.

When I set this global preference it stays set, but new notebooks I open still have the "Footer on first page" setting set as well as having their own Preference setting Notebook Options -> etc etc -> FirstPageFooter set to True.

I would have thought that new notebooks inherit global options. Is there a way to do this?

EDIT: The reason I want to do this is that I want to get rid of the "Printed by Mathematica for Students" footer/advertisement, so any other way to get rid of it consistently (like altering the resource from where that text gets pulled) will be acceptable.


It is a kind of "restriction/protection" posed by the Student Version and is not intended to be removed from inside Mathematica.

I found a few posts in the web:


Mathematica for Students has a "Printed by Mathematica for Students" footnote that prints at the bottom of every document page.


There is no way within the Student Versions. If you have access to a professional version (perhaps in a school lab) you could transfer the notebook and print using that version. Or you could use the tried and true White-Out smear. Tom Zeller Forum Moderator


However I think you can remove it from the generated output. Just print through a nice driver to a file (a PostScript one, for example), identify the footer (I don't have the Student Version available to help you more on this) and post-process the file replacing the generated text or image for blanks.

I generated (with Mma Std ver) the same .ps file with and without footers and noted that the file is unchanged except for an easily identified block just before the [%%PageTrailer] PostScript directive that can be removed without damage the file integrity.

HTH!

Edit

Modifying Stylesheets\Default.nb worked for me. Just changed the "FirstPageHeader"->True line.

WARNING Make a backup copy before modifying !! HTH!


This worked for 7.0.1 Home Edition, which has a header rather than a footer. YMMV.

SetOptions[$FrontEnd,DockedCells->{}]

Reference: http://qwan.org/2009/02/07/mathematica-home-editions-banner-ad-revisited/


Buy Home Edition....

http://www.wolfram.com/mathematica-home-edition/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜