In my tex file, I have images that are spaced between paragraphs. However, when I compile the file, the images come out almost all on the same page. Is there a command I can put so that the images are located on the pdf in the same place as they were (relative to the paragraphs) in the tex file?  Thank you!  Edit: Here is an example of part of the tex file. Would a \FloatBarrier before and after the image keep the image within the part of text that I want?  Example:  For notation, let `$xy$` refer to a crossing made by an x-stick and a y-stick.  We will prove this by contradiction. Without loss of generality, assume that  we have two `$xy$` crossings (the other crossings are equivalent by rotation).  (see image 1).  \begin{figure} \centering \includegraphics[scale=.2]{2new.png} \caption{Assuming we have two xy crossings} \end{figure}  We have two cases: one where the two crossings share a stick and the second  where they do not. Regarding the former, assume the crossings share an  x-stick, again without loss of generality by symmetry.
Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?
Continuous function does not map closed set to closed set When should I use "a" vs "an"? In the following example, is it appropriate to use a or an as the indefinite article, and why?     He ate __ green apple.   I know that in the case of just "apple", it would be "an apple," but I've heard conflicting answers for "green apple," where the noun is separated from the article by an adjective.  Also, which is more appropriate in this case:     He ate  __ enormous Pop-Tart. Which focal-length lens is usually used for portrait photography, and why? What focal length or range of focal lengths are usually used for portraits?   What is used by professionals? Why would one select a certain focal length? What are the advantages and disadvantages of different choices, and are there certain situations where an unusual choice might be better? I am using the function below to match URLs inside a given text and replace them for HTML links. The regular expression is working great, but currently I am only replacing the first match.  How I can replace all the URL? I guess I should be using the exec command, but I did not really figure how to do it.  function replaceURLWithHTMLLinks(text) {     var exp = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&amp;@#\/%?=~_|!:,.;]*[-A-Z0-9+&amp;@#\/%=~_|])/i;     return text.replace(exp,"&lt;a href='$1'&gt;$1&lt;/a&gt;");  } From the top of my head, Danish "De" (practically never used), German "Sie", Chinese "您", French "vous", Spanish "usted" are a formal way of addressing someone, especially if one isn't familiar with the addressee. Did English ever have this? It sounds as though Proto-Indo-European might have had this (based on my 4 examples), but perhaps someone can enlighten me? How to implement a \tomorrow in latex I was asked how to implement a \tomorrow macro in TeX/LaTeX. While I could come up with a reasonably good solution, working for one document class, I don't see how that could be achieved in a document class agnostic way.  I found , but even though the date arithmetic may be of use, it assumes a specific format for the date (which also is wrong for the locale I reside in).  Does anyone have a reasonably portable solution? Is this even possible? How do I get a Cron like scheduler in Python? How to design a product table for many kinds of product where each product has many parameters Replacing fonts in EPS/PDF files The tag  and meta-tag  syntax generate much nicer looking results than merely surrounding your tag with [square brackets].    However, they only work when you're talking about the site you're on.  On Area51, in Chat, and on Meta sites, this is frequently not the case, leading to attempts at syntax like [[tag:failure]](https://superuser.com/questions/tagged/failure), which produces:    Hmm, must be some subtle syntax thing:   : [tag:failure](https://superuser.com/questions/tagged/failure) []: [[tag:failure](https://superuser.com/questions/tagged/failure)] : [tag:[failure]((https://superuser.com/questions/tagged/failure))] : &lt;a href="https://superuser.com/questions/tagged/failure"&gt;[tag:failure]&lt;/a&gt; : [tag:failure][1] \n\n [1]: https://superuser.com/questions/tagged/failure : [more text is a [tag:failure] too](https://superuser.com/questions/tagged/failure)   I give up!  How can I create a link to a tag on another site with tag markdown? Studying for an exam, a review question...  Given $G=\langle x,y|x^4=y^4=e,xyxy^{-1}=e\rangle$.    Show $|G|\leq16$.   For this, I want to consider that $x^3=x^{-1}$ and $y^3=y^{-1}$ based on our assumptions. I am a little lost as to how to put the second part, $xyxy^{-1}=e$ to show there are no more than 16 elements.   If $|G|=16$, find the center of the group and find a group that is isomorphic to $G/\langle y^2\rangle$.   I'm pretty sure the group is centerless. Drawing a large binary matrix as colored grid in TikZ Under what conditions does loot despawn? I have found that when my bags get full and I need to vendor loot I can sometimes leave loot on the ground and return to it.  Other times it seems to disappear almost instantly once I leave the area.  Is the loot despawn time based, based on my distance from the dropped loot, or some other factor(s)? Ice skater increase of energy This may be a very basic question but I am not seeing how it works. Consider the standard example of an ice skate rotating about his/her center of mass and pulling in his/her arms. The torque is zero so we have conservation of angular momentum. This implies that $\omega$ increases to keep $I\omega$ constant, but then $K_{rot}=\frac{1}{2}I\omega^2$ doesn't stay constant, it increases. This implies that there is work done, but what force is doing this work? Why is the installer not showing any partitions? I'm having a problem installing Ubuntu, and Kali as well. I downloaded the iso from the official site &amp; tried installing using USB. I also tried desktop installation, but the problem is same.  It shows a single drive i.e. my total Hard Disk and if I select it, it asks me to create a new partition &amp; shows total space as FREE.  It's with all Ubuntu I downloaded, 11.10 Server, 12.10 and 13.04. I also tried to install BackTrack's new version Kali Linux but again I got the same problem.  I hope I meet thier system requirements. Here's my system details for your ease:   OS: Windows 7 Ultimate Processor: Intel P4 2.80 GHz RAM: 3GB Hard Disk: 320GB No of Local Drives: 4 (1 Primary, 3 Logical) Free Space: 195GB (about) Motherboard: G31 Cache: 1MB Help me, please. Probably dumb question, but I would like to ask it anyway.  I was to solve this equation:  $z^4 = -16$  At first glance, the way to solve it would be (as any other equation):  $z^2 = \sqrt{-1} * 4 \lor z^2 = -\sqrt{-1} * 4$  $z^2 = 4i \lor z^2 = -4i$  $z = 2\sqrt{i} \lor z = -2\sqrt{i} \lor z = 2i\sqrt{i} \lor z = -2i\sqrt{i}$  However, in suggested answers, there are $z_1, z_2, z_3$ and $z_4$ found using trigonometric formulas. Is there something particulary wrong in my solution and the only proper one uses trigonometric form of complex number? Seeking copy of 19th century South African birth certificate? I'm trying to find the birth certificate of my wife's great grandmother who was probably born in Durban, South Africa in 1884. I'm currently unable to find any online resources for this.  If such a thing does not exist online, is there any other method of retrieving a copy or at least just the details? How can I classify data with the nearest-neighbor algorithm using Python? How Do You Use An Image As The World Background? I am an Indian living in Italy and I am going to the UK for a leisurely family vacation for about 10 days. Please note, this application is not very straight forward. There are four applicants, one applicant is applying from India another two are applying from Singapore and I am applying from Italy. The checklist at the top has the statement  all documents must be in English translated documents must be certified  I got the proof of accommodation from my commune, but it is in Italian. Getting it translated, isn't such a big deal as the commune itself provides multi-lingual certificates. For the rest of the documents, this is an issue. Such as for &quot;Evidence of being in education&quot;, my university provides an online certificate for this purpose which is in Italian. Multiple acquaintances said that they provided their Italian house contract (in Italian) as proof of residency and no requirement came up for translation. Can anyone comment on how strict are they while enforcing the translational requirements of documents in respect to a short term visitor visa?