Skip to main content
1-Visitor
February 23, 2012
Question

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

24-Ruby IV
February 23, 2012

Hello!

Could you provide an example of what you want?

Translate
1-Visitor
February 23, 2012

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.

Translate
24-Ruby IV
February 23, 2012

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

Translate
12-Amethyst
February 23, 2012

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

Translate
19-Tanzanite
February 23, 2012

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.

Translate