Here is my code:

Table 3. Voltage Loop Results
\begin{tabular}{| p{3cm} | p{2cm} | p{3cm} | l |} 
Loop Equation & Experimental Value & Loop Description & Loop Figure \\ \hline
$-V_{E}+ V_{1} - V_{d} - V_{4} = 0$ & & Through battery, down right side of resistor                  
complex. Current Flow: $E \rightarrow R_{1} \rightarrow R_{d} \rightarrow  R_{4}$ &    \includegraphics[scale=0.2]{CircuitFigure3} \\ \hline

This is what is rendered: Messed up TeX

Here is the .pdf of the image if you want to compile this yourself and check it out: Title it "CircuitFigure3" How can I change my code such that the text in the other columns (I realized just now my headers are in the wrong column but that does not matter) will be aligned with the top \hline after the column headers? Also, how can I make the text I write in the cells not stagger so that it fits the "best possible", which ends up looking ugly... I don't want to automatically space out like that.

I need to finish this lab report tonight, so if anyone can help it is greatly appreciated! Thank you!

EDIT: The problem has been solved!

  • Pl. check whether your figure has empty white space at the bottom. – user11232 Mar 12 '12 at 0:48
  • It does not, I have made these in adobe illustrator and I do "fit to artwork bounds" so that they are snug to the pixel up to the figure. – Samuel Reid Mar 12 '12 at 0:52
  • 1
    If it is an .eps figure, Harish might be right. The important box is the so-called bounding box. Include it in your document somewhere else and see if the caption is further below than the lowest point of the figure. And please complete your code snippet to a copy-paste'ble and compilable code such that people can see if there is other issues related to loaded packages etc. – percusse Mar 12 '12 at 1:49
  • It is a .pdf figure, i will make it a compilable code. – Samuel Reid Mar 12 '12 at 1:54
  • @percusse: I have added a compilable code, any ideas now? – Samuel Reid Mar 12 '12 at 2:40

As OP confirmed this is a baseline positioning problem and can be solved with a hackish solution:

\raisebox{-4cm}{  \includegraphics[scale=0.2]{CircuitFigure3} }

Alternatively, one control the positioning more precisely as given in this question

  • Thanks again for your help, I could not have figured this out without your help! – Samuel Reid Mar 12 '12 at 5:23
  • @SamuelReid No problem at all. :) – percusse Mar 12 '12 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.