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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Tab spacing in expressions

ptc-4464268
1-Newbie

Tab spacing in expressions

Is there any way to insert tab spacing in an experssion? This would help alot in the presentation of a worksheet.

7 REPLIES 7

Hello!

Could you provide an example of what you want?

I would like to write an expression in the form:

f(x)= x^2 + y^2 = 24

g(x)=2x + y^3 = 34

this way, tab spacing can be used to align all the the answers in a worksheet, making it more readable.

What version of Mathcad are you using? I would like to provide for you some Mathcad worksheet example. Here's how it looks:

Pic_1.PNG

Thanks, mathcad 15.

Here you need to work with a text region (in main menu go to "Insert" -> "Text Region") and to insert into him mathematical region when necessary ("Insert" -> "Math Region"):

Pic_2.PNG

Pic_3.PNG

Use a boolean equal ("Equal to", hotkey "Ctrl + =") when specifying the function and then choose (by using right mouse button) "View Equality As" -> "Equal":

Pic_5.PNG

I think Vladimir has shown the answer for the example you provided, but I think the example you provided may not have been what you originally wanted.

The example you gave was the definition of a function, not an expression. Functions do not have results upon definition because the argument has not been specified. Therefore, the only way we can interpet your example is as a text description, not a live math equation. Vladimir provided a solution to aligning that text.

I think your original question was to align the numerical result of a live equation. I don't know of a way to do that in the equation result. What I do is to show results separately after the definition, and then I align those results with the align tool. It's not perfect because the tool doesn't right justify, only left. However, it does sometimes help to separate the numerical results from the definitions. An example is below:

Capture.JPG

What I do is to show results separately after the definition, and then I align those results with the align tool.

Ditto. In fact, this alignment issue is why I never use assignment and evaluation in the same expression.

Top Tags