Nsert this equation in a pdf file

1. Feb 16, 2009

Nusc

1. The problem statement, all variables and given/known data

Hi. I need to insert this equation in a pdf file such that it doesn't cut off. How can I make it appear without cutting off?

2. Relevant equations

$$\noindent$$\sqrt{\frac{1}{2} e^{\frac{1}{2} \text{\kappa u} (-4 u+4 \text{u0}+\text{\kappa u})} \sqrt{\pi } \text{\kappa u} \left(\text{Erf}\left[u-\text{u0}-\frac{\text{\kappa u}}{2}\right]+\text{Erf}\left[\text{u0}+\frac{\text{\kappa u}}{2}\right]\right)^2-\frac{1}{4} e^{\text{\kappa u} (-4 u+4 \text{u0}+\text{\kappa u})} \pi \text{\kappa u}^2 \left(\text{Erf}\left[u-\text{u0}-\frac{\text{\kappa u}}{2}\right]+\text{Erf}\left[\text{u0}+\frac{\text{\kappa u}}{2}\right]\right)^4}$$$$

3. The attempt at a solution

2. Feb 16, 2009

minger

Re: LaTeX

I'm assuming that your equation is simply too long. I use the split environment to break up long equations. It looks something like this:
Code (Text):

\begin{split}
first part of really long equation = &\cdots \\
&second part of really long equation
\end{split}

The two backslashes (\\) represent the end of that line. The ampersands (&) are alignement marks. They will be aligned on each line. Aside from that, do note that if you are using braces that go onto more than one line, then \left. and \right. will need to be used. If the entire example above is parenthized, it will look like:

Code (Text):

\begin{split}
\left( first part of really long equation = &\cdots  \right. \\
& \left. second part of really long equation \right)
\end{split}

p.s. Watch the placement of the alignment marks. I've found that if they come before or after certain symbols/characters, you'll get a compilation error that doesn't really lend itself to that. Good luck

3. Feb 17, 2009

Nusc

Re: LaTeX

Hey Minger, it's just one expression, not equation sign and it's a large square root.

What do I do then?

4. Feb 17, 2009

Nusc

Re: LaTeX

How do you make the identity operator in latex?
not mathbf{1}

5. Feb 18, 2009

minger

Re: LaTeX

About your square root problem. I would personally just end the square root, then start an over line, so something like:
Code (Text):

\begin{split}
a &= \sqrt{ really long part of square root } + \cdots \\
\cdots & \overline{ second part of square root}
\end{split}

I'm not sure what you mean by the identity operator

6. Feb 18, 2009

Nusc

Re: LaTeX

How can I do this wihtout writing it as an equation:

\noindent$$\sqrt{blah}$$

7. Feb 18, 2009

Nusc

Re: LaTeX

I'm trying to format output made by mathematica in to latex

8. Feb 18, 2009

minger

Re: LaTeX

Why does it "need" to not be an equation? Many math symbols and such are only available within the equation processor. You can do a "quick" equation by simply using two dollar signs
Code (Text):

$$put your equation here$$

However, that doesn't allow the split processor inside of it. If the only objection to the equation is that it puts an auto number on it, you can suppress the numbering by puting
Code (Text):
\nonumber
right before the
Code (Text):