Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3208
| From | Alexey Popkov <lehin.p@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Convenient way to add inline formatting to usage Messages |
| Date | 2011-06-21 09:52 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <itpplp$kda$1@smc.vnet.net> (permalink) |
Usage Messages of built-in functions have embedded in-line formatting. For example:
In[1]:= AiryAiPrime::usage // FullForm
Out[1]//FullForm=
"\!\(\*RowBox[{\"AiryAiPrime\", \"[\", StyleBox[\"z\", \"TI\"], \"]\"}]\) gives the derivative of the Airy function \!\(\*RowBox[{SuperscriptBox[\"Ai\", \"\[Prime]\"], \"(\", StyleBox[\"z\", \"TI\"], \")\"}]\). "
One can see that this in-line formatting is based on the set of styles defined in "Styles for Inline Formatting" section of the Core.nb stylesheet. But I have not found any description of these styles as well as any description of the convenient way to add formatting to usage Messages.
What is the convenient way to add in-line formatting to user-defined usage Messages in Mathematica? What are the usage rules of default styles for in-line formatting defined in the Core.nb stylesheet? I would like to add in-line formating for messages in my package just with Mathematica, without installing additional components like Workbench etc.
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Convenient way to add inline formatting to usage Messages Alexey Popkov <lehin.p@gmail.com> - 2011-06-21 09:52 +0000
csiph-web