Re: Re: Comment display style?
- To: mathgroup at smc.vnet.net
- Subject: [mg94003] Re: [mg93996] Re: [mg93926] Comment display style?
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Tue, 2 Dec 2008 00:38:50 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200811281211.HAA01354@smc.vnet.net> <200812011201.HAA05915@smc.vnet.net>
- Reply-to: murray at math.umass.edu
I still don't understand the problem you are having. If I type some input expression in an Input cell and then keep typing to begin a comment with (* and eventually end the comment with *), I can type a subscripted expression within that comment; and I can type any _mathematical_ expression by means of the standard method of entering such: Ctrl-( to begin it, Ctrl-) to end it. Virgil Stokes wrote: > Virgil Stokes wrote: >> Suppose I have the following Mathematica input expression, (please try= >> Unicode (UTF-8) character encoding if this expression is displayed wit= h >> some strange characters in it). >> >> =CE=94b={=CE=B4,0,0,0}; (* Perturb b1 *) >> >> How do I change the style of the comment so that it will display as b = >> subscripted with 1?. That is, equivalent to $b_1$ in a LaTeX document.= >> >> In general, I would like to be able to have more control of how >> individual characters are displayed in a comment. >> >> Note, I am using vers. 5.2 of Mathematica. >> >> --V. Stokes >> >> > Follow-up on this problem that I was having. There seems to be at least= > two solutions to the problem: > > 1) In a cell of style "text" enter the mathematical expression as > desired and include this within the comment delimiters "(*" and "*)", > then cut-and-paste this comment to the appropriate place in a style > "input" cell. > 2) While within a comment of a style "input" cell select Cell from th= e > task bar -> Convert to StandardForm, and then enter the mathematical > expression desired (as suggested by Szabolcs Horv=C3=A1t). Of course if= one > is already in StandardForm this convert step is unnecessary. > > --V. Stokes > > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
- References:
- Re: Comment display style?
- From: Virgil Stokes <vs@it.uu.se>
- Re: Comment display style?