Skip to main content
12-Amethyst
November 22, 2021
Solved

Index in Index in Mathcad Prime 7.0

  • November 22, 2021
  • 3 replies
  • 10138 views

Hey, I would like to do the following in Mathcad Prime 7.0:

Screenshot 2021-11-22 153049.jpg

So an index in an index. 

At the moment, whenever i press the index button in an index it sets me back up to normal but doesn't do another index.
Is there a way to do it?

Greetings

Best answer by StuartBruff

@Spedex wrote:

Hey, I did not understand a 100% percent how you did that?
How did you get the grey thing here ?


I first typed in a <ctrl -> a in the worksheet, then copied it and pasted it into the Find dialog box (ctrl-f takes you there, or just click in the box at the bottom of the Mathcad screen).   Pasting it results in the text (@ID a (@SUB a)) appearing in the Find box.  This text is Mathcad's internal code representation of aa

 

I then used Windows' built-in application Character Map to find superscript a (a)and subscript a (a). (*), copied them and pasted a before the main a in the Find box and a after the subscripted a to give (@ID aa (@SUB aa)).  Finally, I copied the new expression into a Math placeholder in the worksheet, and Mathcad converted it to aaaa.

 

A bit convoluted but it does the job.

 

Stuart

 

(*) I recommend setting Character Map to Cambria Math font first, as this font seems to display the largest number of characters in Character Map.  Many fonts will display a character in Mathcad Math or Text regions but not in Character Map ... don't ask me why or why not.

As I said, though, you can't do it for every letter as not all of them have either/both a sub- or superscripted Unicode variant.

 

Stuart

3 replies

23-Emerald V
November 22, 2021

@Spedex wrote:

Hey, I would like to do the following in Mathcad Prime 7.0:

Screenshot 2021-11-22 153049.jpg

So an index in an index. 

At the moment, whenever i press the index button in an index it sets me back up to normal but doesn't do another index.
Is there a way to do it?


 

You have to select the whole expression that you want to subindex.

 

2021 11 22 A.png

 

The direct approach would be interpreted as trying to take the index of 2 ... which isn't an array.

 

Although you can make it look like a subindex is happening ...

 

2021 11 22 B.png

 

Stuart

 

Mathcad Express 7

Spedex12-AmethystAuthor
12-Amethyst
November 22, 2021

Hm, for me it is still not working.

I do 

Spedex_0-1637593077062.png

Then i select everything:

Spedex_2-1637593187740.png

 

and then press on the index button, but nothing is happending. And when i start writing now the term before will just be erased.

 

Am i doing something wrong?

 

Greetings

23-Emerald IV
November 22, 2021

Note that the 'index' button is '[', while the 'subscript' button is [Ctrl _ ]...

 

Success!
Luc

23-Emerald IV
November 22, 2021

I suppose you mean subscript (You should NOT confuse that with index).

Not normally, but you can make something that will look like what you want at first glance:

LucMeekes_0-1637593162538.png

Note that this is zoomed in to 225%.

But if you set the cursor on it, you can see how it was created:

LucMeekes_1-1637593265611.png

It's an a with a literal subscript a, that has an index a with a literal subscript a, that has an index a with a literal subscript a, that has an index a with a literal subscript a, that has ....

Whether you can use this or not depends on the structure of data that you want your identifier to relate to.

And of course you can create an index to an indexed variable to an indexed variable to an indexed variable to...:

LucMeekes_0-1637594539059.png

Which is this:

LucMeekes_1-1637594588203.png

But you have to use index, NOT subscript, as subscript is limited to a single level.

Prime 4 file attached.

 

Success!
Luc

23-Emerald V
November 22, 2021

@LucMeekes wrote:

I suppose you mean subscript (You should NOT confuse that with index).

Ah, of course.  Which explains Spedex's comment "sets me back up to normal but doesn't do another index.".

 

ctrl & - toggles the name subscript.

 

Stuart

Spedex12-AmethystAuthor
12-Amethyst
November 22, 2021

Thank you very much @all for the help 😄

Greetings

24-Ruby IV
November 22, 2021

Aaaaa.png

24-Ruby IV
November 24, 2021

more better

AaaaaaMunk.png

23-Emerald V
November 24, 2021

@ValeryOchkov wrote:

more better

AaaaaaMunk.png


I've heard of a descent into madness before, but never a subscript into insanity!

 

Stuart

 

(maybe I'll change my avatar for your slightly amended version ... but in Fraktur font dipped in the blood of my people's ancient enemies  😈