# Thread: What LaTeX problems are you having?

1. ## What LaTeX problems are you having?

$\oint _c \frac{x^{3y^3}}{\text{Your variable goes here}} d \bold{x}$

Seems okay. Any specific problems about LaTeX?

-Dan

2. ## Re: What LaTeX problems are you having?

I had trouble earlier today with a piecewise function. Using the example code:

f(x)=\begin{cases}
x^2 && x\ne0 \\
1 && x=0 \\
\end{cases}

I get:

$f(x)=\begin{cases}
x^2 && x\ne0 \\
1 && x=0 \\
\end{cases}
$

Other than that, I haven't experienced any problems.

3. ## Re: What LaTeX problems are you having?

It is recommended to write the formula in one line and insert spaces after every, say, 50 or 60 non-space characters

4. ## Re: What LaTeX problems are you having?

That is very helpful, although I can't quite get it to work yet:

f(x)=\begin{cases}x^2 \&& x\ne0 \\1 \&& x=0 \\ \end{cases}

$f(x)=\begin{cases}x^2 \&& x\ne0 \\1 \&& x=0 \\ \end{cases}$

5. ## Re: What LaTeX problems are you having?

Originally Posted by MarkFL2
That is very helpful, although I can't quite get it to work yet:

f(x)=\begin{cases}x^2 \&& x\ne0 \\1 \&& x=0 \\ \end{cases}

$f(x)=\begin{cases}x^2 \&& x\ne0 \\1 \&& x=0 \\ \end{cases}$
What are you trying to achieve? The field separator on a line is "&" not "\&" (or "\&&") which renders as &

$$f(x)=\begin{cases}x^2, & x\ne0 \\1, & x=0 \\ \end{cases}$$

renders as:

$f(x)=\begin{cases}x^2, & x\ne0 \\1, & x=0 \\ \end{cases}$

6. ## Re: What LaTeX problems are you having?

I see, I am used to the rendering on another site...I appreciate you showing me how it works here!

7. ## Re: What LaTeX problems are you having?

Originally Posted by MarkFL2
I see, I am used to the rendering on another site...I appreciate you showing me how it works here!
It has little to do with the site, it is normal LaTeX.