MathGroup Archive 2002

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

Search the Archive

Re: Distinction between subscripts 04 and 4?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg34222] Re: Distinction between subscripts 04 and 4?
  • From: Mark Westwood <MarkCWestwood at compuserve.com>
  • Date: Fri, 10 May 2002 03:05:04 -0400 (EDT)
  • References: <abafes$s52$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Steve

It's not elegant but an expression such as 

Subscript[x, PaddedForm[4, 1, NumberPadding -> {"0", "0"}]] 

looks OK, and I guess you could turn it into a function or use the
Notation package to ease your task if this is something you want to do
regularly.

The other approach I tried was to use the invisible characters - see
section 3.10.5 of The Mathematica Book.  Sadly the invisible comma is
visible in output, but you may find something else more useful.

Regards
Mark Westwood

Steve Gray wrote:
> 
>     Is there a way to make Mathematica distinguish between
> subscripts 04 and 4, for example? I know it can if there is
> a comma, as in 0,4 but I would rather have no comma.
>     There won't be any summations or other operations
> where 04 means a quantity.








  • Prev by Date: Re: Exporting Graphics
  • Next by Date: Re: How to integrate over a constrained domain
  • Previous by thread: Re: Distinction between subscripts 04 and 4?
  • Next by thread: Sequence and Or