What LaTeX problems are you having?

topsquark

Forum Staff
Jan 2006
11,602
3,458
Wellsville, NY
\(\displaystyle \oint _c \frac{x^{3y^3}}{\text{Your variable goes here}} d \bold{x}\)

Seems okay. Any specific problems about LaTeX?

-Dan
 
Dec 2011
2,314
916
St. Augustine, FL.
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:

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

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

emakarov

MHF Hall of Honor
Oct 2009
5,577
2,017
It is recommended to write the formula in one line and insert spaces after every, say, 50 or 60 non-space characters
 
  • Like
Reactions: 2 people
Dec 2011
2,314
916
St. Augustine, FL.
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}

\(\displaystyle f(x)=\begin{cases}x^2 \&& x\ne0 \\1 \&& x=0 \\ \end{cases}\)
 
Apr 2012
269
113
Erewhon
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}

\(\displaystyle 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 &

[noparse] \(\displaystyle f(x)=\begin{cases}x^2, & x\ne0 \\1, & x=0 \\ \end{cases}\)[/noparse]

renders as:

\(\displaystyle f(x)=\begin{cases}x^2, & x\ne0 \\1, & x=0 \\ \end{cases}\)
 
  • Like
Reactions: 2 people
Dec 2011
2,314
916
St. Augustine, FL.
I see, I am used to the rendering on another site...I appreciate you showing me how it works here! :D
 
Apr 2012
269
113
Erewhon
I see, I am used to the rendering on another site...I appreciate you showing me how it works here! :D
It has little to do with the site, it is normal LaTeX.