Skip to main content
1-Visitor
May 14, 2013
Solved

Commas in subscript

  • May 14, 2013
  • 2 replies
  • 12686 views

Hi,

I am trying to base my calculations around eurocodes which uses a lot of subscript notations to define things, including commas i.e. Nt,Rd where t,Rd should be subscript. However I can only seem to put one continous list of characters subscripted and no commas when defining a variable in Mathcad. Is there a way of doing this? (I am usimg Mathcad Prime 2.0)

Thanks in advance,

Rob

Best answer by ValeryOchkov

Robert Frost wrote:

Hi,

I am trying to base my calculations around eurocodes which uses a lot of subscript notations to define things, including commas i.e. Nt,Rd where t,Rd should be subscript. However I can only seem to put one continous list of characters subscripted and no commas when defining a variable in Mathcad. Is there a way of doing this? (I am usimg Mathcad Prime 2.0)

Thanks in advance,

Rob

Try this please in Prime 2

subComma.png

A space we cannot so insert a variable name

2 replies

25-Diamond I
May 14, 2013

It would be possible in Mathcad 15 and below to create that kind of variable names (using Ctrl-Shift-K)

commatrick.png

But Prime is much more limited. As far as I know there is no way to create such names in Prime.

1-Visitor
May 14, 2013

Ctrl-Shift-K feature has been added to M' 3.

Mike

25-Diamond I
May 14, 2013

Mike Armstrong wrote:

Ctrl-Shift-K feature has been added to M' 3.

Mike

Good to know.

Another way of doing it in Prime would be using the matrix index - nevertheless i wouldn't recommend doing so.

Define t and rd to be zero (maybe in a collapsible area) and create N as a 1x1 matrix:

commatrick2.png

24-Ruby IV
May 14, 2013

Robert Frost wrote:

Hi,

I am trying to base my calculations around eurocodes which uses a lot of subscript notations to define things, including commas i.e. Nt,Rd where t,Rd should be subscript. However I can only seem to put one continous list of characters subscripted and no commas when defining a variable in Mathcad. Is there a way of doing this? (I am usimg Mathcad Prime 2.0)

Thanks in advance,

Rob

Try this please in Prime 2

subComma.png

A space we cannot so insert a variable name

25-Diamond I
May 14, 2013

Thanks! I wasn't aware of that possibility. Works like a charm!

And you are right, neither [space] nor Alt-2-5-5 will have any effect.

24-Ruby IV
May 15, 2013

Werner Exinger wrote:

Thanks! I wasn't aware of that possibility. Works like a charm!

You welcome!

"There are more things in heaven and earth, Horatio,

Than are dreamt of in your philosophy."

It was a rule in the Soviet era - do not get used to Delicatessen - soon it will become scarce

This trick not work in Mathcad Prime 3 with an inserting Math area into Text area.

But we can create kJ/(kg K) etc in Prime 2 and use in Prime 3 and... new tricks