How to use ? (short help of multiple functions)

How to use ? (short help of multiple functions)



I want to use ? Command in multiple functiones to make a list of quick references for the most common mathematica commands and print it as pdf.
For example ? Plot works well.
But how can I print an inventory for more than one commands: for example I would like something like
?/@ List, Table, Apply, Map


?


? Plot


?/@ List, Table, Apply, Map



the option #&?/@ List, Table, Apply, Map neither works.


#&?/@ List, Table, Apply, Map



What is the FullForm or InputForm of ? or ??.


FullForm


InputForm of ?


??




1 Answer
1



?? is the same as Information. ?Sin is the same as Information[Sin, LongForm -> False].


??


Information


?Sin


Information[Sin, LongForm -> False]


Information /@ List, Table, Apply, Map



enter image description here



I have found the following command very useful especially in the case of my own pacakages:


Needs["Notation`"]
?"Notation`*"



enter image description here
... where all the table elements are links, which open the information below the table.



This works, because the first argment of Information can be a StringPattern. In order to make such a clickable table for the functions of your choice, use Alternatives:


Information


StringPattern


Alternatives


pattern = Alternatives @@ ToString /@ List, Table, Apply, Map;
Information[Evaluate@pattern, LongForm -> False]



enter image description here



where I have just clicked on Map. The color is different from the other pictures, because it depends on the Mathematica version it seems. Note also, that it creates nice sections for different contexts. Thus you can easily generate a interactive notebook with documentation of your own packages, if you have nicely written up all ::usage messages.


Map


::usage



I am mentioning this, because you might be trying to implement something what already exists.





Thank you very much Johu. This is what I need.
– Nitra
Sep 4 '18 at 12:25





You are welcome! Just do not forget to accept and up-vote what you find useful!
– Johu
Sep 4 '18 at 12:26



Thanks for contributing an answer to Mathematica Stack Exchange!



But avoid



Use MathJax to format equations. MathJax reference.



To learn more, see our tips on writing great answers.



Some of your past answers have not been well-received, and you're in danger of being blocked from answering.



Please pay close attention to the following guidance:



But avoid



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)