Skip to main content
4 of 4
edited body; edited title
Karsten7
  • 27.6k
  • 5
  • 74
  • 135

User-defined usage message template; removing repeated text

In Mathematica 9.0.1, I want to write a user-defined template for a function that I wrote: myfunc

Remove[myfunc]
myfunc::usage = "myfunc[x,y,z] is a function.
                 myfunc[x,y,z,w] is another function."

with the result:

User-defined template for myfunc

As you can see, within the description myfunc is (in my opinion) unnecessarily repeated. In fact, templates for built-in functions do not behave that way. For example, look at the template for the Integrate function:

Build-int template for Integrate

The function name Integrate is not repeated in the description. How do I tell Mathematica not to repeat the name of the function inside the description?

QuantumDot
  • 19.8k
  • 7
  • 48
  • 124