I am new to LaTeX and trying to learn it by writing a CV. I tried to add a photo of me in the document. The code is below:  \documentclass[a4paper, 12pt]{article}  \usepackage{graphicx}  \begin{document}   \begin{figure}[h!]     \centering       \includegraphics[width=0.5\textwidth]{taufique}   \end{figure} \end{document}   'taufique' is the name of the jpg image file. It's located in the same directory where tex file is placed. I compiled with pdflatex but it is not being compiled. Error report says that compiler can't find the image file. What's the problem?
There several types of graphics files. In no particular order .jpeg .eps .pdf .png .tif .jif (and no doubt others). Some work with latex, dvips and some work with pdflatex. How am I supposed to know which?  Just to confuse matters, metapost produces .eps but I can use these with pdflatex as long as I put in a four line incantation.  Can anyone explain this?
Can I have dynamic custom variables in Word? I'm basically trying to create a variable in a document, let's say the name of a person, so that I can change the value in a single place and it updates through the whole document.  I've been reading about Fields and about a DOCVARIABLE, but I can't find where to edit the value (right clic didn't show an "edit" option). I'm using Word 2011 for Mac (that's what we have at work right now) so I'm wondering whether this version of Word is just not intuitive, or I cannot have variables like that in Word and I'm misinterpreting the documentation.  This is what I intend to do:  Hello, my name is PERSON_NAME, I have PERSON_AGE years old.   You get the idea.  PS: We actually want to modify the variables' values from our app, rather than from Word itself, kind of like injecting values to a .*docx file. 1N5819-E3/73  1N5819-E3/53 1N5819-E3/54   the first one is 4x cheaper than the last, why ?  aren't they all the same ? Help me understand adjusted odds ratio in logistic regression I've been having a hard time trying to understand the use of logistic regression in a paper. The paper available  uses logistic regression to predict probability of complications during cataract surgery.   What is confusing me is that the paper presents a model that assigns odds ratio of 1 to baseline described as follows:     A patient whose risk profile was in the reference group for all risk indicators (ie adjusted OR=1.00 for all in Table 1) may be regarded as having a ‘baseline risk profile’, and the logistic regression model indicates a ‘baseline predicted probability’ for PCR or VL or both=0.736%.   So the probability of 0.00736 is presented with odds ratio of 1. Based on the transformation from probabilities to odds ratios: $o=\frac{p}{1-p}$, this can't be equal to 1:  $0.00741=\frac{0.00736}{1-0.00736}$.  It gets even more confusing. The composite odds ratios that represents multiple covariates having values different than the baseline is used to calculate predicted risk.      ...the composite OR from Table 1 would be 1.28 X 1.58 X 2.99 X 2.46 X   1.45 X 1.60 = 34.5, and from the graph in Figure 1, we see that this OR corresponds with a predicted probability of PCR or VL or both of around 20%   The only way to arrive at the values the paper is giving as examples is to multiply the baseline probability with composite odds like this: $0.2025=\frac{(34.50\ \times\ 0.00736)}{1\ +\ (34.50\ \times\ 0.00736)}$.  So what is going on here? What is the logic for assigning odds ratio 1 to a baseline probability that is not 0.5? The update formula I've came up with above comes up with the right probabilities for examples in the paper but this is not the direct multiplication of odds ratio I'd expect. What is it then? If a lens focuses all incoming light to a point, how do we get 2D images? How do lenses produce 2-dimensional images, if a lens bends all incoming rays of light to intersect at the focal point? Shouldn't this produce a single dot of light on a screen placed at the focal length?  This is basically the standard diagram that always shows up in textbooks:    I know this doesn't happen in real life--I used to use telescopes pretty frequently for work. The most in-focus image would be the one with the smallest diameters for the stars, which, of course, we think of point sources at infinity. But--the light from all stars (despite being at infinity) is not all focused at a single point. Instead, each star's light is focused at its own $(x,y)$ point on a 2D image.  I can't reconcile the theory as I understand it with any of my real-life experience with optics. What am I missing? Capitalize fields of study? I was trying to solve the following:  Given: $0 &lt; a &lt; b$ and $n&gt;1$, prove: $$na^{n-1}(b-a) &lt; b^n-a^n &lt; nb^{n-1}(b-a)$$  I managed to get this far using the mean value theorem: $$a^n(b-a)&lt;b^n -a^n&lt;b^n (b-a)$$ Any idea how to continue? The question is raised from the viewpoint of a foreign language learner.  -ed is known to be added to a verb to mean past tense or past participle, but some phrases like four-legged animals, winged birds, are in the form of noun+-ed, why is it so? What is the logic behind such a structure? what is the difference between kind, type and sort How to take FileZilla credentials from the software's interface? Hi I use FileZilla to transfer files to the server via FTP.  I connected to FileZilla from my computer months ago. I entered the server address, port &amp; administration password on to the startup window of the software &amp; checked the "Always connect to this server" option ON. So, every time I start FileZilla, It connects to my server automatically &amp; I never had to remember my credentials.  I know it's in the software itself..somewhere...like in a cache memory or something. I need to get those details. How can I take those credentials from the FileZilla client installed in my desktop pc.? Is it even possible? Give a combinatorial proof: $ n(n+1)2^{n-2} = \sum_{k=1}^{n}k^2\binom{n}{k} $ Find a combinatorial argument for the following binomial identity:   $$n(n+1)2^{n-2} = \sum_{k=1}^{n}k^2\binom{n}{k} .$$   Algebraic proofs can be found at  , and a related identity at  . What are the differences between rings, groups, and fields? Rings, groups, and fields all feel similar. What are the differences between them, both in definition and in how they are used? Space before chapters and contents Java: Prefix/postfix of increment/decrement operators? Are black hole regarded as baryonic matter in cosmology? How can you convert a byte array to a hexadecimal string, and vice versa? Can I block incoming calls using wildcard patterns? Recently I have been getting a few unwanted telemarketing calls, all coming from the same source. Each number though is different at the end.  For instance, if the numbers to be blocked are:    123-4567 123-7642 123-8643   It would be convenient for the future to simply block with a wildcard, such as:   123-*   Is this at all possible? Using MAX in SQL Expression of ArcMap ModelBuilder On Windows 7, is there a command prompt line that can start cmd as an administrator? On Linux, we can use  sudo bash   to run a shell as the superuser.  On Windows 7, we can use     Start menu -> (in search box, type) cmd -> Right click on search result and choose Run as Administrator   to run a command prompt as an administrator. Is there also a command prompt line that is like Linux's sudo or su so as to start a shell as an administrator? How to install Ubuntu 18.04 alongside Windows 10 How to install Ubuntu 18.04 alongside Windows 10?  I have tried different process to install Ubuntu 18.04 in my PC in dual boot mode alongside Windows 10. But it turned out that most of the process didn't worked for my PC. My PC's configuration is 500 HDD, 3.5GHz Intel processor, 4GB RAM, 1GB Intel graphics &amp; supports both BIOS &amp; UEFI. Reflection of a line in a plane The line $l_1$ has the equation $r=(6i+2-2k)+\lambda(4i+5j-k)$ and the plane $\pi_1$: $2x-y+4z=4$, the line $l_2$ is the reflection of $l_1$ in the plane $\pi_1$. Find the exact vector equation of line $l_2$   So the line intersects the plane when $\lambda=-2$, giving the point $(-2,-8,0)$ which will be common on $l_1$ and $l_2$. But I am unsure on how to find the direction vector for $l_2$. Any help would be appreciated.