Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Comment display style?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93934] Re: Comment display style?
  • From: Szabolcs <szhorvat at gmail.com>
  • Date: Sat, 29 Nov 2008 04:29:21 -0500 (EST)
  • References: <ggon55$1ai$1@smc.vnet.net>

On Nov 28, 1:11 pm, Virgil Stokes <v... at it.uu.se> 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).
>
> =C4b={=E4,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

You can type any kind of expression into a comment, including
StandardForm math notation.  So just type the subscript.


  • Prev by Date: Re: v.7.0 issues
  • Next by Date: Passing default options to nested function call
  • Previous by thread: Re: Comment display style?
  • Next by thread: DeleteCases and multiple patterns