<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font size="3"><font face="Calibri">So what is the maximum number of time (two or three or …), I needed to run pdflatex.?</font></font><br><br></p>
<div class="gmail_quote">On Thu, Jan 28, 2010 at 1:34 PM, Joseph Wright <span dir="ltr">&lt;<a href="mailto:joseph.wright@morningstar2.co.uk">joseph.wright@morningstar2.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">On 28/01/2010 07:21, Prabhu wrote:<br></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">Hi,<br><br>Please check the attached tex file and the pdf. In the tex file I am<br>creating a table.<br><br>Try to run “pdflatex SampleTable.tex” to see the PDF.<br><br>I ran my tex file twice and compared the two pdfs (SampleTable_First Run.pdf<br>
and SampleTable_next run.pdf). They both are not similar.<br><br>To me it looks like second pdf is proper.  In the first pdf<br>(SampleTable_First Run.pdf) the header are not properly placed.<br><br></div>   1. I am not changing anything in the text file, then why in the next run 
<div class="im"><br>   the table in the pdf looks different?<br></div>   2. Please help me to correct this problem.<br></blockquote><br>Hello Prabhu,<br><br>As you are using the longtable package, this is entirely to be expected. longtable works by getting the width of columns correct over a number of runs.  For a short table such as the one you have, you don&#39;t really need to use longtable: a standard tabular will work fine. However, if the table is going to grow you may need the longtable environment, of could consider an alternative such as xtab.<br>
-- <br><font color="#888888">Joseph Wright<br></font></blockquote></div><br>