cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Translate the entire conversation x

How can I use the newline equal sign just like a handwritten derivation process

Ethan.Z
6-Contributor

How can I use the newline equal sign just like a handwritten derivation process

EthanZ_0-1747040677109.png

I hope I can write the derivation process of a formula, like this

IDC = xxxxxxxxxxxxxxxxxxxxxxxx

       = xxxxxxxxxxxxxxxxxxxx

       = xxxxxxxxxxxxxxxx

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:Ethan.Z)

> How can I use the newline equal sign just like a handwritten derivation process

Short answer: You can't.

 

Prime is not an equation editor like you have available in word processors, so it lacks formatting capabilities like the one you are looking for.
Prime is made for doing Math on its own and less for displaying what you did manually.
The line breaks therefore are only available for the four basic arithmetic operations, not a boolean/comparison equal.
The fat  Boolean equal you are using is meant to compare LHS and RHS and evaluate to 0 or 1 resp. but it can be misused to show a formula used for subsequent calculations (in real Mathcad = MC15 and below this fat equal sign could also be edited to look like a normal one, in Prime that's not possible to do).

So at the time being you can only hope for a suitable workaround and you will have to use separate math regions (which you may put inside one larger text region) and not just one.

You could try to use something less obvious on the left hand side of the second and the subsequent regions like a variable name consisting of, lets say, three dots.
Werner_E_0-1747053033838.png
And before you ask - no, Prime does not allow variable names with (invisible) spaces.

But you may look for other characters which may better suits your needs

Werner_E_1-1747053592837.png

Werner_E_2-1747053599589.png

Of course you could also leave the LHS empty and Prime will show a light gray rectangle as placeholder

Werner_E_3-1747053725336.png

You may also replace the fat equal by a normal one
Werner_E_7-1747054909875.png
Here the variable name consists of the arrow AND the normal equal character and is followed by an implicit (invisible) multiplication (Ctrl-Shift-U) which PTC calls the 'scaling operator'. You will also find that operator in the "Operators" menu, section "Engineering".

 

Next problem will be to vertically align all equal characters. Guess it will be hard to position the subsequent regions so that the position the first region equal will line up.

 

BTW, you create a variable name using an unusual character by starting with double quotes as if creating a string

Werner_E_4-1747054357473.pnginsert the character(s) either by typing or from charmap

Werner_E_5-1747054589906.pngand after the last character type DEL to delete the quotes

Werner_E_6-1747054648088.png

Spaces are not allowed - Prime would refuse to delete the quotes if you use spaces.

 

A workaround which is not recommended:

You can change the color of the rectangle which Prime uses for placeholders.

Open the undocumented properties menu by Pressing the four keys Ctrl-Shift-Alt-Q at the same time and change the color of "ScopeColor" to "Transparent".

Werner_E_0-1747056268022.png

So by letting the LHS of a Boolean comparison empty it now looks like

Werner_E_1-1747056332119.png

but it also affect other placeholders like the ones you see when you create a multiplication.

So I won't suggest fiddling around with these properties. After all its not documented and can be changed without notice in future versions.

 

 

 

View solution in original post

8 REPLIES 8
Werner_E
25-Diamond I
(To:Ethan.Z)

> How can I use the newline equal sign just like a handwritten derivation process

Short answer: You can't.

 

Prime is not an equation editor like you have available in word processors, so it lacks formatting capabilities like the one you are looking for.
Prime is made for doing Math on its own and less for displaying what you did manually.
The line breaks therefore are only available for the four basic arithmetic operations, not a boolean/comparison equal.
The fat  Boolean equal you are using is meant to compare LHS and RHS and evaluate to 0 or 1 resp. but it can be misused to show a formula used for subsequent calculations (in real Mathcad = MC15 and below this fat equal sign could also be edited to look like a normal one, in Prime that's not possible to do).

So at the time being you can only hope for a suitable workaround and you will have to use separate math regions (which you may put inside one larger text region) and not just one.

You could try to use something less obvious on the left hand side of the second and the subsequent regions like a variable name consisting of, lets say, three dots.
Werner_E_0-1747053033838.png
And before you ask - no, Prime does not allow variable names with (invisible) spaces.

But you may look for other characters which may better suits your needs

Werner_E_1-1747053592837.png

Werner_E_2-1747053599589.png

Of course you could also leave the LHS empty and Prime will show a light gray rectangle as placeholder

Werner_E_3-1747053725336.png

You may also replace the fat equal by a normal one
Werner_E_7-1747054909875.png
Here the variable name consists of the arrow AND the normal equal character and is followed by an implicit (invisible) multiplication (Ctrl-Shift-U) which PTC calls the 'scaling operator'. You will also find that operator in the "Operators" menu, section "Engineering".

 

Next problem will be to vertically align all equal characters. Guess it will be hard to position the subsequent regions so that the position the first region equal will line up.

 

BTW, you create a variable name using an unusual character by starting with double quotes as if creating a string

Werner_E_4-1747054357473.pnginsert the character(s) either by typing or from charmap

Werner_E_5-1747054589906.pngand after the last character type DEL to delete the quotes

Werner_E_6-1747054648088.png

Spaces are not allowed - Prime would refuse to delete the quotes if you use spaces.

 

A workaround which is not recommended:

You can change the color of the rectangle which Prime uses for placeholders.

Open the undocumented properties menu by Pressing the four keys Ctrl-Shift-Alt-Q at the same time and change the color of "ScopeColor" to "Transparent".

Werner_E_0-1747056268022.png

So by letting the LHS of a Boolean comparison empty it now looks like

Werner_E_1-1747056332119.png

but it also affect other placeholders like the ones you see when you create a multiplication.

So I won't suggest fiddling around with these properties. After all its not documented and can be changed without notice in future versions.

 

 

 

Hello @Ethan.Z

 

It looks like you have some responses from our community experts. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Werner_E
25-Diamond I
(To:Werner_E)

Hmm, while I had suggested the use of a variable name consisting of a right arrow and an equal sign, I had not seen the most obvious - using just the equal sign as variable name:

Werner_E_0-1747737210152.png

As you can see I am used to additionally use an equal sign at the end of a line when the equation series continues on the next line.

What can be seen in the picture are three separate math regions and all equal signs are variable names with implicit multiplications around them.

It can be easily typed without having to resort to charmap copying or the like

I   Ctrl+-   D   C   Ctrl+Shift+U   "   =   Del   Ctrl+Shift+U   1   /   T

etc.

Prime 11 sheet attached

Ethan.Z
6-Contributor
(To:Werner_E)

Hello @vnamboodheri 

Thank you for sharing. However, I still don't quite understand how you managed to achieve the "equal sign alignment" effect.
Also, could you please help explain the operation of first "", then entering the = sign, and then deleting "? I think this is not a regular operation. It seems more like taking advantage of a BUG in the software

 

EthanZ_0-1747787909011.png

Also, what is the function of Ctrl + Shift + U? According to the guide, it is called scaling.
But I still don't quite understand. I think a space was added

Werner_E
25-Diamond I
(To:Ethan.Z)

I am not @vnamboodheri  😉

Not sure what you don't understand about my last way to create the desired effect.

The alignment of the equal signs is achieved by moving around the regions in an appropriate way and I guess that its pure luck that the equal signs in the second and third row are so perfectly aligned with the one in the first row. Guess it would also depend on the size of the expression on the left hand side in the first row. Prime would only allow to snap the regions to the grid (which is the reason I have chosen the finer grid size available for the sheet).

You can play around with the regions in the file I had posted.

 

According the special variable name created using the string and then deleting the quotation mark. The way of creating a variable name with special characters may not be documented (not sure because the Prime help is not very clear and easy to search) but the help clearly states that variable names can contain any of the 65536 Unicode characters of the Base Multilingual Plane (plane #0) with just a few exceptions.  See Variable and Function Names

"Identifiers can contain any valid Unicode character from the Base Multilingual Plane (BMP) with the exception of white space and control characters, and with the additional limitation that the first character cannot be a decimal digit (0-9). Unicode BMP characters are defined as having a code in the range 0-65535."

I don't consider the method of creating a special variable name using the quotation marks being a software bug and even though it may not be documented, a variable name created that way sure should be valid and legit according to the docs.

 

The "scaling operator" is simply a multiplication, but without any visible character showing (unless the cursor is in the region). Its usually used automatically when you type a number followed by a unit or a variable name
Werner_E_0-1747791695734.png

but it simply means multiplication. And of course the reason I am using it is because its invisible and just shows as a small space.

 

Ethan.Z
6-Contributor
(To:Werner_E)

@Werner_E 

I'm very, very sorry for mistaking your name.

Thank you for your patient reply. I understand. Thank you very much

SPaulis
14-Alexandrite
(To:Ethan.Z)

If you are trying produce an infrequent article or paper, you can edit your PDF afterwards.

Use a unique variable name that you repeat for all your equations where you want to remove the left hand side.  Then edit your PDF and do a search & replace for that variable.

 

If you are producing a Mathcad sheet for regular use, this would be a bit tedious.  Alternatively you can edit an existing "mathy" looking Windows font and make an easily accessible character to be a blank space.  Mathcad would just think it is a regular variable. 

Shawn P.
“It’s OK to fall in love with your heart. But, when it comes to making engineering decisions, don’t design with your heart.” – Blodgett, Omer W.
ttokoro
21-Topaz I
(To:Ethan.Z)

= is a variable name.

image.png

Announcements


Top Tags