# Thread: How to you put a space in your formulas on this website?

1. ## How to you put a space in your formulas on this website?

I have tried various methods seen on this forum, across the net and at physics forum and none of them are working for me.
I have tried the following within tags:
\
\,
~
\text{ }
None of these worked for me.
Does anyone have a clue?
Thanks
Dave.

2. ## Re: How to you put a space in your formulas on this website?

~ should work

$a~a~~a~~~a~~~~a$

3. ## Re: How to you put a space in your formulas on this website?

So does "\ " (backslash space):

$a a \ a \ \ a \ \ \ a$

4. ## Re: How to you put a space in your formulas on this website?

Let me try here.
[tex]a~a~~a~~~a[\tex]

5. ## Re: How to you put a space in your formulas on this website?

hmmmm, what am I doing wrong?

6. ## Re: How to you put a space in your formulas on this website?

$hello$

7. ## Re: How to you put a space in your formulas on this website?

$~a~~a~~~A~~~~A$

8. ## Re: How to you put a space in your formulas on this website?

Ok, i got it. I do not know why none of these were working this morning.
Thanks for your help. Both of you.

Dave.

9. ## Re: How to you put a space in your formulas on this website?

Actually

$u-v-w=b_{1}$
$~~v+w=b_{2}$

10. ## Re: How to you put a space in your formulas on this website?

I put two tildes in front of the second equation, yet, not spaces have appeared. Why will it not work?
I want to write the following such that all the 'b's are directly above/below each other, and the left hand side upper triangular.

$u-v-w=b_{1}$
$~~v+w=b_{2}$
$~~~~~w=b_{3}$
$~~~~~~a~~~~b~~~~~c$

Dave.

11. ## Re: How to you put a space in your formulas on this website?

Ahhh, now I see what is happening. The tilde doesn't operate on the first term in the line. It only will affect terms after the first term. So that is not really going to help me in making an upper triangular shape with the three equations.
Also, what I have been doing is using a set of tex tags for each new line. So for example, in the post above, I have used four sets of [hex] tags, one for each line.
I'm not sure if this is the correct use for multiline text or there is a better way. If you know, please share.

Dave.

12. ## Re: How to you put a space in your formulas on this website?

use a matrix

$\begin{matrix} &u &- &v &- &w &= &b_1 \\ & & &v &+ &w &= &b_2 \\ & & & & &w &= &b_3 \end{matrix}$

use reply with quote to see the LaTex code for this

13. ## Re: How to you put a space in your formulas on this website?

Or you can use "\begin{aligned} ... \end{aligned}" to align equations - place an ampersand in front of the elements you want aligned in each equation, and double back slash \\ to separate equations:

\begin{aligned} u-v-w = \ &b_1 \\ v+w =\ &b_2 \\ w = \ &b_3 \end{aligned}

14. ## Re: How to you put a space in your formulas on this website?

Originally Posted by romsek
use a matrix

$\begin{matrix} &u &- &v &- &w &= &b_1 \\ & & &v &+ &w &= &b_2 \\ & & & & &w &= &b_3 \end{matrix}$

use reply with quote to see the LaTex code for this
Thanks for the tip about reply with quote, and for the matrix solution.
Cheers

15. ## Re: How to you put a space in your formulas on this website?

Originally Posted by ChipB
Or you can use "\begin{aligned} ... \end{aligned}" to align equations - place an ampersand in front of the elements you want aligned in each equation, and double back slash \\ to separate equations:

\begin{aligned} u-v-w = \ &b_1 \\ v+w =\ &b_2 \\ w = \ &b_3 \end{aligned}
Thanks Chip, I like this solution.