60
$\begingroup$

The Mathematica Home Edition shows a banner at the top of every notebook:

notebook with Home Edition banner

Is there a way to (permanently) get rid of it, without violating the EULA?


Edit

Yesterday, I sent this message to WRI support:

On mathematica.stackexchange.com we have a discussion about the legitimacy of removing the banner from notebooks in the Home Edition. I think the real issue is that we don't really know what the banner is for. Is it OK if I remove it? It gives me a bit more screen real-estate, and I don't need the links it provides.

Today I got a reply from Dan Ruggiero, saying* that it's OK when done within the options of Mathematica.

Users who want to discuss this further with WRI, the ticket number is #2730074.

* - This is the gist of his brief reply. I've asked his permission to quote his answer, and I'm waiting for his reply. Hopefully this will defuse the debate.




edit 2012-10-21
When I first posted this question + answers I got a lot of downvotes, more in 2 days time than in a year on EE.SE. I thought everything has been cleared now, but today this got another 2 downvotes, and I'm getting tired of it.

For the umpteenth time: changing the look of your notebooks so that the banner doesn't show IS PERFECTLY LEGAL!! Mathematica lets any user change this in the Option Inpector, and no, it's not a way to crack it and make it a Professional version. Read my other edit: WRI confirmed that it's OK!

$\endgroup$
1
  • 1
    $\begingroup$ +1 This is also very useful when creating a presentation. No one wants this distracting, precious space-stealing, ad-like banner. I paid for a Mathematica license and certainly would not use it for a presentation when I would have this banner. I absolutely agree that this a legitimate wish of a customer. Everyone is so concerned about violating the EULA that I have the impression that they feel suppressed by Wolfram. BTW usually it is obvious which presentation tool has been used: everyone has seen the default themes of Apple Keynote, MS PowerPoint, LaTeX Beamer or Reveal.js. $\endgroup$
    – Hotschke
    Commented Sep 17, 2018 at 14:59

5 Answers 5

40
$\begingroup$

The process for Mathematica 9 is different. Home Edition 9 appears to lock out certain options in the Option Inspector, including the ones required to make this change. It will appear to permit the previous change, but will immediately revert.

To make the change for 9, you need to open up the MiscExpressions.tr file (on Mac it's in the Mathematica.app bundle, under /Applications/Mathematica.app/Contents/SystemFiles/FrontEnd/TextResources/MiscExpressions.tr.)

Then find the definition for HomeEditionBar, the first line looks like this:

"HomeEditionBar" -> Cell[BoxData[GridBox[{

Change that line to these two:

"HomeEditionBar" -> Cell[],
"HomeEditionBarOriginal" -> Cell[BoxData[GridBox[{

And now you have the full height of your screen to work with.

Caveat: This is likely prohibited by the EULA, which does not permit modification of any part of the software.

$\endgroup$
10
  • 2
    $\begingroup$ @Szabolcs, it should work but it doesn't work in 9. I suspect it's deliberate - a strings command in terminal shows that the HomeEditionBar call is hardcoded into the MMA app itself. $\endgroup$ Commented Nov 29, 2012 at 18:00
  • 2
    $\begingroup$ @WarrenP Not all that keen to find out, to be honest. $\endgroup$ Commented Dec 1, 2012 at 13:30
  • 2
    $\begingroup$ This method does not work for me (although I have MMA 9.0.1.0 Student Edition). EDIT: for the student edition, replace "HomeEdition" with "Student" in these instructions. $\endgroup$
    – shrx
    Commented Jun 15, 2013 at 12:18
  • 4
    $\begingroup$ This works for me in Mma10! Frustrating that it's made purposefully difficult. $\endgroup$
    – dreeves
    Commented Sep 30, 2014 at 2:43
  • 2
    $\begingroup$ Copying $InsallationDirectory/SystemFiles/FrontEnd/TextResources/MiscExpressions.tr to $UserBaseDirectory/SystemFiles/FrontEnd/TextResources/MiscExpressions.tr and modifying the latter works too and does not require modification of files in $InsallationDirectory. If this changes any of the possible EULA issues is unclear to me. Another useful modification of MiscExpressions.tr is related to the CellInsertionMenu and is outlined here mathematica.stackexchange.com/a/80897/42436. $\endgroup$
    – N0va
    Commented Aug 22, 2020 at 0:10
29
$\begingroup$

OK, something better, without editing files manually. No EULA violation whatsoever.

Select Option Inspector in the Format menu:

enter image description here

and change WindowFrame in Window Properties to Generic. Restart Mathematica and the banner has gone. (Actually, all the options for WindowFrame except Normal will remove the banner, but they will also change other aspects of the window's look.)

$\endgroup$
8
  • $\begingroup$ Interesting; I thought you would accept the other one. $\endgroup$
    – Mr.Wizard
    Commented Oct 21, 2012 at 11:04
  • 6
    $\begingroup$ Where inheritance is concerned, all things may be permissible, but not all things are advisable. At WTC 2012, a user reported broken behavior in the v9 beta to me. I spent 25 minutes banging on his system until I found WindowFrame->"Generic" set on $FrontEnd. I thought "why would anyone ever do that?". And considered that it was one of those unfortunate accidents which can have bad consequences (setting Editable->False globally could be bad, too). And then I read this. So, for v9, all things aren't permissible anymore. This setting will not work (and neither will Editable, et. al.). $\endgroup$
    – John Fultz
    Commented Oct 25, 2012 at 6:48
  • 2
    $\begingroup$ @John - Fair enough. I thought that if the option is available it would also have been tested, though I understand that the kernel is much more important than some appearance setting. But I still don't know what the purpose of the banner is. Do you know if it is for the links to learning center and demonstrations? $\endgroup$
    – stevenvh
    Commented Oct 25, 2012 at 8:12
  • 2
    $\begingroup$ @stevenvh +2, one for the question and one for the answer. As Mr.Wizard already said, don't be too upset about the downvotes. $\endgroup$
    – halirutan
    Commented Nov 29, 2012 at 17:23
  • 13
    $\begingroup$ fyi, the above method does not work in V10. Not able to change it in option inspector. Will not let me change it. $\endgroup$
    – Nasser
    Commented Jul 10, 2014 at 21:24
17
$\begingroup$

Edit
I first suggested an edit of a particular init file here, a method I found here. Both my question and this answer caused quite a fuss about the legitimacy of it. In hindsight I don't think editing init files should be the appropriate way (which does not mean it would be illegal), especially since Mathematica allows you to make the same changes Rob makes. Clear the user option field DockedCells in the Option Inspector:

enter image description here

$\endgroup$
0
12
$\begingroup$

I generally prefer doing things via stylesheets instead of messing with files in $InstallationDirectory. Here's a simple way — in your custom stylesheet (or create a new one), add the following lines:

Cell[StyleData[All, "Working"], DockedCells->{}]

That's it! You're all set now. If you don't know how to add a new style to the stylesheet, see point 1 in this answer.

You can save this new stylesheet and set it to be the default for all notebooks. This can be done by pointing the global option "DefaultStyleDefinitions" in the options inspector to this new stylesheet.

$\endgroup$
0
10
$\begingroup$

You could switch to one of the Creative stylesheets, such as PastelColor or PrimaryColor, which set the banner to something about two thirds of the height of the default banner, saving you a bit of room. You could then replace the graphic image with some text or image of your own:

SetOptions[InputNotebook[], 
 "DockedCells" -> Cell["Hi, Cormullion!", "Text"]]

It would also be possible perhaps to add something like a digital clock, or a read-out of some system parameter of interest...

docked cells

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.