I'm new to LaTeX and currently trying to write myself a report template that I can use for future work.  Anyway, here is a MWE showing the error:  \documentclass[12pt,twoside,a4paper]{article} \usepackage{graphicx}  \begin{document} \begin{figure}[ht]   \centering   \includegraphics[width=\linewidth]{epsFig}   \caption{This is where a caption would go. Include the image in the folder of the project, the image must have a .eps file format.}   \label{fig:example} \end{figure} \end{document}   And the output ends up looking like this:    That is, there's not enough space on the previous page to place the image so it is moved on to the next page, but it ends up at the bottom left of the page covered by the caption.  The image was created using MatLAB, I use TexnicCentre with Miktex2.9. Can anyone help?  edit: The file extension for the image is .eps The image is at this
I am trying to include a figure into LaTeX from a paper originally created using MS Word. I have already converted all the text/equations into LaTeX but I can't figure out how to get the figures over without re-drawing them using LaTeX code (which I do not want to do). The image is a plain box (like a tabular) one row by 7 columns with numbers inside each cell. Then I inserted arrows of varying length above and below the box (several short ones and one much longer).    I am trying to use the  package with the \includegraphics command.   I copied the figure (box and arrows) from my original article into a blank Word doc. The figure only takes up the first 4 or 5 lines of the blank document. I then selected/highlighted the image and printed the selection using 'PDFCreator'. This allowed me to save the image as a .eps file. I then copied and pasted the eps file into the folder where all my .tex files are saved.  When I compile the document using pdftexify there is a blank space where the image should be. In the console I get the following message when I compile the document:  [27] &lt;Fig3-eps-converted-to.pdf, id =105, 391.4625pt x 74.2774pt&gt; &lt;use Fig3-eps-converted-to.pdf&gt; Overfull \hbox 1.46153pt too wide) in paragraph at lines 511--516 []   My code looks like this:  \documentclass[12pt]{article}  \usepackage{graphicx} \usepackage{epstopdf} \begin{document}  %Text  \includegraphics{fig3.eps}  %text  \end{document}   I have read the sections on graphics in 'LaTeX: A Document Preparation System' and 'The Not So Short Introduction to LaTeX2e' but I still can't figure this out. Should I maybe use a PNG image since it is a pretty basic figure? Any advice on how to properly transfer images from a word doc to .eps format and/or how to get those .eps files into LaTeX properly would be a huge help.
Review Count - Fix It or Lose It Another meta question identified a bug that was marked as designed. To summarize the bug, the little number that appears next the Review link in the header shows an incorrect value most of the time.         I would like to propose that the feature be dropped. Honestly, I would prefer it be fixed, but the response to the question above gives me little faith that it will be. Half of the time, I click that little brown box and find out that I was lied to. There's nothing to review.  The little number no longer does the job it was created to do.        Oh sweet! Three things I can review!        Just kidding... Gradient steepest direction and normal to surface? From this , I now understand the gradient to be the directional derivative that returns the steepest slope at a point. However, reading my textbooks, they all say that the gradient is normal to the tangent plane. In the above SE question, the gradient sounds like it should be parallel to a direction in the $xy$ plane, not actually up on the surface.   My question is therefore do I have a misunderstanding of the tangent plane, gradient or directional derivative?   In addition, I question how the gradient always passes through the origin or the $xy$ plane? If for instance in the graphic, the gradient had been another direction (say horizontal), then it wouldn't pass through the origin! In addition, the gradient of other points in the graphic would satisfy this example. Many thanks! Print out elements from an array with a comma between elements except the last word Remap Caps Lock to Ctrl-b Show $GCD(a_1, a_2, a_3, \ldots , a_n)$ is the least positive integer that can be expressed in the form $a_1x_1+a_2x_2+ \ldots +a_nx_n$ Can file uploads time out in PHP? Hi im quite new to PHP, i have created a form for very large csv files to be uploaded to my server. Some one mentioned to me that the browser can time out due to the uploading file being to big, is this true? and if so, can it be prevented?  Thanks for your help! Not that it's a very good idea to change it, but for fun. According to  post, there are still some problems even after changing entries in /etc/passwd, /etc/shadow, and /etc/sudoers. Any suggestions? Is SSIS subject to the maximum memory limitations for SQL Server 2012 Standard edition?  If I have a server with 128GB RAM and I allocate 64GB of RAM to SQL Server does SSIS utilise this memory or does it utilise the memory that is available to the OS?  I am assuming it utilises the remaining memory left to the OS since there is no settings for memory consumption and it runs as a separate service.  If anyone has any information on the available memory that should be left for SSIS to consume I would appreciate the help. I had studied group theory a year ago, but still could not understand the proof involving The Correspondence theorem.  let $G$ be a group and let $N⊴G$, where  $N⊴G$ indicates that $N$ is a normal subgroup of $G$. Then there is a bijection from the set of subgroups $A$ of $G$ that contain $N$ onto the set of subgroups $\overline A $=$A/N$ of $G/N.$  Can anyone explain the steps to me in:  $(1.)$ a very easy-going manner so that I understand importance of each step. $(2.)$I don't require the proof but only how the step follow each other .  I'll be thankful if there is anyone kind enough to do this.... Travelling as an unmarried Western couple in Indonesia Can I check if the C# compiler inlined a method call? I'm writing an XNA game where I do per-pixel collision checks. The loop which checks this does so by shifting an int and bitwise ORing and is generally difficult to read and understand.  I would like to add private methods such as private bool IsTransparent(int pixelColorValue) to make the loop more readable, but I don't want the overhead of method calls since this is very performance sensitive code.  Is there a way to force the compiler to inline this call or will I do I just hope that the compiler will do this optimization?   If there isn't a way to force this, is there a way to check if the method was inlined, short of reading the disassembly? Will the method show up in reflection if it was inlined and no other callers exist?  Edit: I can't force it, so can I detect it? In my question  I asked about the definition and usage of the word "model", for which I was told the following definition:     A formula of propositional logic is true under an interpretation iff   the interpretation assigns the truth value T to that formula. If a   formula is true under an interpretation, then that interpretation is   called a model of that formula.   An interpetation satisfies a formula φ iff it is a model of the formula. Same for a set $\Gamma$ of formulas, if an interpretation satisfies all the formulas in $\Gamma$ then it is a model of $\Gamma$. Then if we say $\Gamma \vDash \varphi$ then $\varphi$ is a semantic consequence of $\Gamma$ / is satisfied in all "models" of $\Gamma$ (true whenever everything in $\Gamma$ is true).  This also matches the definitions for model as seen on the Wiki for  and .  All good so far. But when I get really confused when I see posts like  where they use "models" as a word meaning "satisfies all the axioms in a theory."  From Asaf's answer:     Models are structures, and structures are models. But when we say   "model" we mean that there is a particular theory which holds in the   structure, and when we say "structure" we are mainly interested in an   arbitrary interpretation of the language.   From Metin's answer:     A structure is a set with some interpretable symbols(constants,   relations and functions) within a fixed language. You do not ask for   more from a structure.      However...      A model (of a theory) is a structure which satisfies the axioms of the   theory. It makes more "structural sense"...   And then from one of Asaf's comments:     When I say "a model of 𝖹𝖥𝖢" they also know, immediately, that I am   talking about a model which satisfies all the axioms of 𝖹𝖥𝖢.   So I am unclear on which definition is correct or if this is the same word being used in two different ways or if this is "logical model" versus "semantic model" or something else entirely.  On the one hand we seem to have "model" meaning "any interpretation that satisfies a formula or set of formulas." On the other hand we have "model" meaning "Interpretation that satisfies all the axioms of a theory".  From the Wiki article on  we see also:     For a given theory in model theory, a structure is called a model, if   it satisfies the defining axioms of that theory.   So which is it exactly? Does "model" have a different meaning in propositional logic compared to model theory or first-order logic or set theory etc? How can I define a 3D version of the built-in VoronoiDiagram (VoronoiMesh in V10) function? Is there offside when the ball deflects off an opponent? I was refereeing a 10 year old's junior game today and this situation happened. The home team's defender attempted to  pass from their own half to their forward who was in an offside position beyond the halfway line.  I was going to blow the whistle but the ball deflected off an away defender and then went to the originally offside attacker who put the ball wide.  I viewed this as onside at the time because the ball struck the away team player, however now I think it was offside because at the time of pass, the home player was offside.  Is this offside or not? Is it unreasonable to assign a MySQL database to each user on my site? I'm creating a user-based website. For each user, I'll need a few MySQL tables to store different types of information (that is, userInfo, quotesSubmitted, and ratesSubmitted).  Is it a better idea to:  a) Create one database for the site (that is, "mySite") and then hundreds or thousands of tables inside this (that is, "userInfo_bob", "quotessubmitted_bob", "userInfo_shelly", and"quotesSubmitted_shelly")  or  b) Create hundreds or thousands of databases (that is, "Bob", "Shelly", etc.) and only a couple tables per database (that is, Inside of "Bob": userInfo, quotesSubmitted, ratesSubmitted, etc.)  Should I use one database, and many tables in that database, or many databases and few tables per database?    Edit:  The problem is that I need to keep track of who has rated what.  That means if a user has rated 300 quotes, I need to be able to know exactly which quotes the user has rated.  Maybe I should do this?  One table for quotes. One table to list users. One table to document ALL ratings that have been made (that is, Three columns: User, Quote, rating).  That seems reasonable. Is there any problem with that? Why is 'that' sometimes optional before dependent clauses? If $d(x,y)$ is a metric, then $\frac{d(x,y)}{1 + d(x,y)}$ is also a metric Let $(X,d)$ be a metric space and for $x,y \in X$ define $$d_b(x,y) = \dfrac{d(x,y)}{1 + d(x,y)}$$ a) show that $d_b$ is a metric on $X$  Hint: consider the derivative of $f(t)$ = $\dfrac{t}{1+t}$  b) show that $ d$ and $ d_b $ are equivalent metrics. c) let $(X,d) $ be $(\mathbb{R}, |\cdot|)$ Show that there exists no $ M&gt;0$ such that $ |x-y| $ $\leq$ $Md_b$ $(x,y)$ for all $ x,y$ $\in$ $\mathbb{R}$  I have calculated $f(t)$ and $f'(t)$ and from this I know $f(t)$ is an increasing function as $f'(t)$ is strictly positive. But I don't know where to go from here or how to do parts b) and c) Find files using ls and wildcards pwd : ../bin under bin I have a directory called datafiles.  Use meta characters and the ls -lL command (with lower and upper case L) to list all filenames under the datafiles directory that contain a dot . with the letter 'f' or 'u' anywhere after the dot.  I tried: ls -lL datafiles *.*f*u  ls -lL datafiles .[f*u]     Thank you for answering. Unfortunately, none of the solutions worked the way I wanted it.  By clarifying the question, /bin/datafiles/file.backup is the root to the directory. From the /bin directory, the command I used is ls -lL datafiles followed by meta characters.  I'm looking for file.backup that has a dot and followed by f or u, not directly followed by f or u (anywhere after the dot), and not ending by f or u. If $f$ is continuous and $f'(x)\ge 0$, outside of a countable set, then $f$ is increasing What is the minimum value of $(1 + a_1)(1 + a_2). . .(1 + a_n)$? Suppose $a_1, a_2,\dots , a_n$ are $n$ positive real numbers with $a_1a_2 \dots a_n = 1$.   Then what is the minimum value of $(1 + a_1)(1 + a_2). . .(1 + a_n)$ ?    I think $(1 + a_1)(1 + a_2). . .(1 + a_n)$ takes its minimum value when $a_1=a_2=\dots=a_n=1$ and thus the minimum value is $2^n$.  I don't know how to prove it. Please help.