Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I was creating some custom notations using the Notation package and it works fine. I put it in my default personal package, and it loads fine on Mathematica's startup. To make it complete I need just one more thing. How can I suppress the Notation palette from appearing every time I launch Mathematica? Is there some command that I can put into my package?

share|improve this question
add comment

2 Answers 2

up vote 6 down vote accepted

The answer is to set

Notation`AutoLoadNotationPalette = False

prior to loading Notation`, e.g.

Notation`AutoLoadNotationPalette = False
(* .... *)
Needs["Notation`"]

or

Notation`AutoLoadNotationPalette = False
(* .... *)
BeginPackage["MyPackage`", {"Notation`"}]
share|improve this answer
    
Exact what I need! Tks! –  Murta Oct 7 '12 at 14:17
add comment

I recommend using Block:

Block[{Notation`AutoLoadNotationPalette = False},
  Needs["Notation`"]
]

Or:

Block[{Notation`AutoLoadNotationPalette = False},
  BeginPackage["MyPackage`", {"Notation`"}]
]

This way you do not prevent the palette from displaying when the user calls << Notation`, which could be aggravating.

share|improve this answer
    
Now I understand how it works!.. Nice block application. tks –  Murta Jan 31 '13 at 11:04
    
@Murta I love those moments of recognition. :-) –  Mr.Wizard Jan 31 '13 at 11:09
    
You deserve, sorry for the delay! %) –  Murta Jan 31 '13 at 11:21
    
@Murta I think perhaps my prior comment was misunderstood. I was referring to moments of suddenly understanding something, which I find a pleasant sensation. I did not mean that I was seeking personal recognition, though I admit that too can be nice. –  Mr.Wizard Jan 31 '13 at 11:25
    
Wow!.. yes.. I really misunderstood. But no problems because you still deserves .. rsrs. Now, about the intelectual recognition moment, yes! it's amazing. –  Murta Jan 31 '13 at 11:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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