MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Comment display style?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93996] Re: [mg93926] Comment display style?
  • From: Virgil Stokes <vs at it.uu.se>
  • Date: Mon, 1 Dec 2008 07:01:58 -0500 (EST)
  • References: <200811281211.HAA01354@smc.vnet.net>

Virgil Stokes wrote:
> Suppose I have the following Mathematica input expression, (please try 
> Unicode (UTF-8) character encoding if this expression is displayed with 
> some strange characters in it).
>
> Î?b={δ,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 the 
task bar -> Convert to StandardForm, and then enter the mathematical 
expression desired (as suggested by Szabolcs Horvát). Of course if one 
is already in StandardForm this convert step is unnecessary.

--V. Stokes



  • Prev by Date: Re: Re: Floating-Point Computing
  • Next by Date: Re: v.7.0 issues
  • Previous by thread: Re: Floating-Point Computing
  • Next by thread: Re: Re: Comment display style?