2
$\begingroup$

In Mathematica, when you hover any a built-in function, a small window with 2 symbols appears (as in the third paragraph of this reference page, see picture): clicking on the former one gives you a quick description of the function ("summary"), whereas the latter is a link to a detailed page on the function ("documentation").

My question is if it's possible to do exactly the same on a function defined by the user.


(source: wolfram.com)

$\endgroup$
  • $\begingroup$ Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! $\endgroup$ – Michael E2 May 18 '16 at 15:40
  • $\begingroup$ People here generally like users to post code as Mathematica code instead of images or TeX, so they can copy-paste it. It makes it convenient for them and more likely you will get someone to help you. You may find this this meta Q&A helpful $\endgroup$ – Michael E2 May 18 '16 at 15:40
  • $\begingroup$ Duplicates: mathematica.stackexchange.com/q/17176/5 and mathematica.stackexchange.com/q/19816/5 $\endgroup$ – rm -rf May 19 '16 at 18:13
5
$\begingroup$

You can do it by using the MessageName operator (::). Here is an example.

foo

$\endgroup$
  • $\begingroup$ Thank you! What about the creation of document pages? Is it possible? $\endgroup$ – Oscar Charles May 21 '16 at 19:18
  • $\begingroup$ @OscarCharles. I believe that is possible with Wolfram Workbench. I have never use that development tool (not installed on my system), so I have no experience with writing Wolfram-like documentation pages. $\endgroup$ – m_goldberg May 21 '16 at 23:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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