Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Translate the entire conversation x

Plus sign as Subscript

PS_12920773
2-Explorer

Plus sign as Subscript

How do you have the plus sign "+" be a subscript? Every time I try to subscript the plus sign, it just becomes an operator. But I want it to be part of the subscript.
6 REPLIES 6

In math regions: Use ^

In text regions: Press = while holding down the ctrl key

I manage the Creo and PTC Mathcad YouTube channels for PTC, as well as all PTC Mathcad marketing in general.

using ^ causes it to be a superscript. I essentially use want to use the + as a symbol and not an operator

Ooooh I misread subscript as superscript because you kept talking about + and my mind associates those with superscripts.

 

 

Okay, so you want the + sign as a character, not as the math operator used for adding things. For example, like in a variable name, Variablevar+hello.

In that case.. you can't do that unless you do something goofy like use an alternate plus sign that isn't the + on your keyboard, like the emoji, because that's just how variable naming rules are.

 

DJNewman_0-1740171916292.png

 

I manage the Creo and PTC Mathcad YouTube channels for PTC, as well as all PTC Mathcad marketing in general.
LucMeekes
23-Emerald III
(To:PS_12920773)

Normally you can get (almost) character in a variable by first naming the variable as a string (so within double quotes) and you can use the ordinary + :

LucMeekes_0-1740222030709.png

Then you delete one quote (the other quote disappears with it):

LucMeekes_1-1740222077263.png

Then you can give it a value:

LucMeekes_2-1740222122409.png

and you can use it in an expression:

LucMeekes_3-1740222153838.png

However, this does not work with a (literal) subscript, because you cannot create a string with a subscript, and you cannot change existing parts of a variable name to subscript.

 

It can be done with an index though, using the string trick as above, defining the index first as a separate variable that you then copy and paste to an index placeholder:

LucMeekes_6-1740222692444.png

But you have to realise that the index Index+addon is a separate value that Prime will want to have a numerical value.

 

Success!
Luc

 

 

ppal
17-Peridot
(To:PS_12920773)

Eg: 

ppal_0-1740353177516.png

Type V

 

CTRL  underscore to invoke subscript.

 

USE ALT 197  (etc) for other subscripts

Hi @PS_12920773,

 

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.
Of course, if you have more to share on your issue, please pursue the conversation. 

 

Thanks,
Anurag 

Announcements
Top Tags