Nsert this equation in a pdf file

  • Thread starter Thread starter Nusc
  • Start date Start date
  • Tags Tags
    File Pdf
Click For Summary

Discussion Overview

The discussion revolves around formatting a long mathematical expression in LaTeX for inclusion in a PDF file, specifically addressing concerns about the expression being cut off. Participants explore various methods for presenting the equation effectively, including the use of environments for splitting long equations and alternative formatting techniques.

Discussion Character

  • Homework-related
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant seeks advice on how to insert a long equation in a PDF without it being cut off.
  • Another participant suggests using the split environment to break up long equations, providing an example of how to format it correctly.
  • A participant clarifies that the expression in question is a large square root, prompting further inquiries about formatting.
  • There is a discussion about the identity operator in LaTeX, with one participant providing a response that does not directly address the original question.
  • One participant proposes an alternative method of formatting by separating parts of the square root and using an overline.
  • A participant questions the necessity of avoiding the equation environment, noting that many mathematical symbols are only accessible within it and suggesting a method to suppress equation numbering.

Areas of Agreement / Disagreement

Participants express differing views on the best approach to formatting the equation, with no consensus reached on a single method. The discussion remains unresolved regarding the optimal solution for the original poster's needs.

Contextual Notes

Participants mention specific LaTeX commands and environments, but there are no explicit assumptions or limitations noted in the discussion. The effectiveness of the proposed methods may depend on the specific context of the original poster's document.

Nusc
Messages
752
Reaction score
2

Homework Statement



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?

Homework Equations



[tex] \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<br /> $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<br /> $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<br /> $u}}{2}\right]\right)^4}\)[/tex]

The Attempt at a Solution

 
Physics news on Phys.org


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:
\begin{equation}
\begin{split}
first part of really long equation = &\cdots \\
&second part of really long equation
\end{split}
\end{equation}
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:
\begin{equation}
\begin{split}
\left( first part of really long equation = &\cdots  \right. \\
& \left. second part of really long equation \right)
\end{split}
\end{equation}

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
 


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

What do I do then?
 


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


About your square root problem. I would personally just end the square root, then start an over line, so something like:
Code:
\begin{equation}
\begin{split}
a &= \sqrt{ really long part of square root } + \cdots \\
\cdots & \overline{ second part of square root}
\end{split}
\end{equation}

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


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

\noindent\(\sqrt{blah}\)
 


I'm trying to format output made by mathematica into 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:
$$
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:
\nonumber
right before the
Code:
\end{equation}
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
Replies
1
Views
2K
Replies
0
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 42 ·
2
Replies
42
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K