Displaying equations using Tex

Hi James,
Secret had problems with tex in this thread: [thread=136988]Deriving gradient operator in spherical coord using chain rule[/thread]
But the answer for grad(f) should be
$$\nabla{f}_{Spherical}=\begin{pmatrix}
\frac{\partial{f}}{\partial{r}}\\\frac{1}{r}\frac{\partial{f}}{\partial{\theta}}
\\\frac{1}{r\sin{\theta}}\frac{\partial{f}}{\partial{\phi}}
\end{pmatrix}$$ (Note the 'al' should not be there, I have no idea what happened. for reference, this is the faulty portion of the code
Code:
 (\frac{1}{r}\frac{\partial{f}}{\partial{\theta}}
\\\frac{1}{r\sin{\theta}}\frac{\partial{f}}{\partial{\phi})
przyk noted that adding white space made the problem go away.
 
Accidently I found a free editor called "TexWriter" in Microsofts's Store. I don't do any form of tex, but this may be of interest to those posting in this thread.

BTW I see someone has added "fuel" to words under my avatar - Thanks. It still looks like there is space to make it read either:
"Help me! Please use sugar cane alcohol fuel."
Or if that will not fit, just:
"Help me! Use sugar cane alcohol fuel."

Now you know what is wrong with being helpful and kind: They always want more; but I promise that is not true in this case.
 
Last edited by a moderator:
$$\frac{1}{\frac{1}{0}}=0$$

Great cut and paste I made from last month that still wont show up properly.

$$\lim_{x\to 1} \, (x+1)$$

$$\lim _{x\rightarrow 1}{x}^{17}-x+3$$
 
Last edited:
$$\frac{1}{\frac{1}{0}}=0$$

Great cut and paste I made from last month that still wont show up properly.

$$\lim_{x\to 1} \, (x+1)$$

$$\lim _{x\rightarrow 1}{x}^{17}-x+3$$

What's the problem? If it's the limit, you can use the \displaystyle command to make it appear under the "lim":

$$\displaystyle \lim_{n \rightarrow \infty} \, \Bigl( 1 + \frac{x}{n} \Bigr)^{n} = e^{x} \,.$$​
 
Testing - ignore this.

$$F(\theta ,\phi ,r)=R(r)f(\theta,\phi)$$

$$F(\theta ,\phi ,r)=R(r)(2\phi +\theta )$$
 
Last edited:
Test:

\begin{bmatrix}\gamma & -\beta_x\gamma & 0 & 0\\
-\beta_x\gamma & \gamma & 0 & 0\\
0 & 0 & 1 & 0\\
0 & 0 & 0 & 1
\end{bmatrix}
The question now is: How to get the above left aligned ? Cannot get {flushleft} to work
 
Last edited:
Test:

\begin{bmatrix}\gamma & -\beta_x\gamma & 0 & 0\\
-\beta_x\gamma & \gamma & 0 & 0\\
0 & 0 & 1 & 0\\
0 & 0 & 0 & 1
\end{bmatrix}
The question now is: How to get the above left aligned ? Cannot get {flushleft} to work

Post it inline with [ tex ] ?

$$\begin{bmatrix}\gamma & -\beta_x\gamma & 0 & 0\\
-\beta_x\gamma & \gamma & 0 & 0\\
0 & 0 & 1 & 0\\
0 & 0 & 0 & 1
\end{bmatrix} $$
 
Post it inline with [ tex ] ?
Thanks, but please explain in more detail because I do not know what you mean by this or how to do what you are saying.
All I can do is look at the Tex commands you are using and they are identical to the ones I used.
 
but they are wrapped in [ tex ] [/ tex ] markers.
Test 2:
Front text - $$
\begin{bmatrix}\gamma & -\beta_x\gamma & 0 & 0\\
-\beta_x\gamma & \gamma & 0 & 0\\
0 & 0 & 1 & 0\\
0 & 0 & 0 & 1
\end{bmatrix}
$$ - Middle text - $$
\begin{bmatrix}\gamma & -\beta_x\gamma & 0 & 0\\
-\beta_x\gamma & \gamma & 0 & 0\\
0 & 0 & 1 & 0\\
0 & 0 & 0 & 1
\end{bmatrix}
$$ - Back text

So that was:

Front text - [ tex ]
<tex stuff>
[/ tex] - Middle text - [ tex ]
<tex stuff>
[/ tex] - Back text


Test 2 passed :)
Thanks.
 
Last edited:
Back
Top