GeneralReference appearing on the first page

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
pban92
Posts: 54
Joined: Sat Aug 09, 2008 9:34 am

Reference appearing on the first page

Post by pban92 »

I am two problems as following:

1. TeXnicCenter is whoing me 55 errors when I have this code shown below. If I remove fig 19-21 or insert block comment for them, no error msg shown. To me this specific thing is making no sense.

2. The reference is always appearing on the first page not at the end of the document.

Any help would be highly appreciated.

Thanks!

Code: Select all

\documentclass[10pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage[centering,includeheadfoot,margin=3cm]{geometry}
\usepackage{graphicx}
\usepackage[center]{titlesec}
\usepackage{txfonts}
\usepackage{blindtext}


\begin{document}

\section*{Introduction}



PIV experiment was conducted to obtain wake profiles behind a circular cylinder. Reynolds number used for this experiment was 3900 based on cylinder diameter. The objectives were to get familiarized with FLAIR PIV system and instrumentation. In addition, PIV results were compared with published journal\cite{1}.  \\


%fig 1


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig9.pdf}

  \caption{Mean longitudinal velocity in the wake centerline}
  \label{fig:9}
\end{figure}

 
 
%fig 2


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig10.pdf}

  \caption {Variance of the longitudinal velocity in the wake centerline}
  \label{fig:fig10}
\end{figure}

%fig 3


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig113locations.pdf}

  \caption{Mean streamwise velocity at three locations in the wake}
  \label{fig:fig113locations}
\end{figure}


%fig 4


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig123locations.pdf}

  \caption{Mean streamwise velocity at three locations in the wake}
  \label{fig:fig123locations}
\end{figure}

%
%

%fig 5


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig133locations.pdf}

  \caption{Variance of the streamwise velocity fluctuations at three locations}
  \label{fig:fig133locations}
\end{figure}




%fig 6


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig143locations.pdf}

  \caption{Variance of the normal velocity fluctuations at three locations in
the wake}
  \label{fig:fig143locations}
\end{figure}



%fig 7


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig11106.pdf}

  \caption{Comparison between mean streamwise velocity at $x/D = 1.06$}
  \label{fig:fig11106}
\end{figure}




%fig 8


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig11154.pdf}

  \caption{Comparison between mean streamwise velocity at $x/D = 1.54$}
  \label{fig:fig11154}
\end{figure}




%fig 9


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig11202.pdf}

  \caption{Comparison between mean streamwise velocity at $x/D = 2.02$}
  \label{fig:fig11202}
\end{figure}


%fig 10


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig12106.pdf}

  \caption{Comparison between mean normal velocity at $x/D = 1.06$}
  \label{fig:fig12106}
\end{figure}


%fig 11


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig12154.pdf}

  \caption{Comparison between mean normal velocity at $x/D = 1.54$}
  \label{fig:fig12154}
\end{figure}


%fig 12


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig12202.pdf}

  \caption{Comparison between mean normal velocity at $x/D = 2.02$}
  \label{fig:fig12202}
\end{figure}



%fig 13


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig13106.pdf}

  \caption{Comparison between variance of mean streamwise velocity fluctuation at $x/D = 1.06$}
  \label{fig:fig13106}
\end{figure}



%fig 14


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig13154.pdf}

  \caption{Comparison between variance of mean streamwise velocity fluctuation at $x/D = 1.54$}
  \label{fig:fig13154}
\end{figure}


%fig 15


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig13202.pdf}

  \caption{Comparison between variance of  mean streamwise  velocity fluctuation at $x/D = 2.02$}
  \label{fig:fig13202}
\end{figure}




%fig 16


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig14106.pdf}

  \caption{Comparison between variance of mean normal velocity fluctuation at $x/D = 1.06$}
  \label{fig:fig14106}
\end{figure}





%fig 17


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig14154.pdf}

  \caption{Comparison between variance of mean normal velocity fluctuation at $x/D = 1.54$}
  \label{fig:fig14154}
\end{figure}



%fig 18


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig14202.pdf}

  \caption{Comparison between variance of mean normal velocity fluctuation at $x/D = 2.02$}
  \label{fig:fig14202}
\end{figure}
%
%

fig 19


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig15106.pdf}

  \caption{Comparison between covariance of mean velocity fluctuation at $x/D = 1.06$}
  \label{fig:fig15106}
\end{figure}





%fig 20


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig15154.pdf}

  \caption{Comparison between covariance of mean velocity fluctuation at $x/D = 1.54$}
  \label{fig:fig15154}
\end{figure}




%fig 21


 \begin{figure}[htbp]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig15202.pdf}

  \caption{Comparison between covariance of mean velocity fluctuation at $x/D = 2.02$}
  \label{fig:fig15202}
\end{figure}






\begin{thebibliography}{1}

\bibitem{1}Philippe Parnaudeau, Johan Carlier, Dominique Heitz and Eric Lamballais, Experimental and numerical studies of the flow over a cicular cylinder at Reynolds number 3900, Physics of Fluids, 20, pp 058101-14, 2008. 

\end{thebibliography}































\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Reference appearing on the first page

Post by localghost »

Without knowing the error messages I can only guess. So, please post the complete log file (as attachment). But looking at the code, I see that you are declaring to many floats in a row. You can enhance float placement by using the right options for the float environment.

Code: Select all

\begin{figure}[!ht]
  ...
\end{figure}
If you want these floats really to appear in a block, you should replace [!ht] with [!p] to place the floats on special float pages. A \clearpage (or \cleardoublepage) right after the last float environment will force the output of all declared floats at this point and make the reference appear after them. For more precise help the log file is needed.


Best regards
Thorsten¹
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Reference appearing on the first page

Post by Stefan Kottwitz »

Hi,

like Thorsten said: inserting a \clearpage or \cleardoublepage right before the bibliography will force all remaining floats to be printed before the bibliography.

When I tested your code I got the error

Code: Select all

Too many unprocessed floats. \begin{figure}[htbp]
Inserting \clearpage before figure 19 fixed it and the other errors too.

Stefan
LaTeX.org admin
pban92
Posts: 54
Joined: Sat Aug 09, 2008 9:34 am

Reference appearing on the first page

Post by pban92 »

Guys,

The reference problem is solved. But the 55 errors are still consistent. I tried both [!ht] and [!p] for figures but did not help.
Here is the latest code

Code: Select all

\documentclass[10pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage[centering,includeheadfoot,margin=3cm]{geometry}
\usepackage{graphicx}
\usepackage[center]{titlesec}
\usepackage{txfonts}
\usepackage{blindtext}

\begin{document}
\section*{Introduction}
PIV experiment was conducted to obtain wake profiles behind a circular cylinder. Reynolds number used for this experiment was 3900 based on cylinder diameter. The objectives were to get familiarized with FLAIR PIV system and instrumentation. In addition, PIV results were compared with published journal\cite{1}.  \\

%fig 1
 \begin{figure}[!ht]
  \centering
    \includegraphics[scale=0.2, angle = 270]{fig9.pdf}

  \caption{Mean longitudinal velocity in the wake centerline}
  \label{fig:9}
\end{figure}

%fig 2
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig10.pdf}
  \caption {Variance of the longitudinal velocity in the wake centerline}
  \label{fig:fig10}
\end{figure}

%fig 3
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig113locations.pdf}
  \caption{Mean streamwise velocity at three locations in the wake}
  \label{fig:fig113locations}
\end{figure}

%fig 4
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig123locations.pdf}
  \caption{Mean streamwise velocity at three locations in the wake}
  \label{fig:fig123locations}
\end{figure}

%fig 5
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig133locations.pdf}
  \caption{Variance of the streamwise velocity fluctuations at three locations}
  \label{fig:fig133locations}
\end{figure}

%fig 6
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig143locations.pdf}
  \caption{Variance of the normal velocity fluctuations at three locations in the wake}
  \label{fig:fig143locations}
\end{figure}

%fig 7
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig11106.pdf}
  \caption{Comparison between mean streamwise velocity at $x/D = 1.06$}
  \label{fig:fig11106}
\end{figure}

%fig 8
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig11154.pdf}
  \caption{Comparison between mean streamwise velocity at $x/D = 1.54$}
  \label{fig:fig11154}
\end{figure}

%fig 9
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig11202.pdf}
  \caption{Comparison between mean streamwise velocity at $x/D = 2.02$}
  \label{fig:fig11202}
\end{figure}

%fig 10
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig12106.pdf}
  \caption{Comparison between mean normal velocity at $x/D = 1.06$}
  \label{fig:fig12106}
\end{figure}

%fig 11
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig12154.pdf}
  \caption{Comparison between mean normal velocity at $x/D = 1.54$}
  \label{fig:fig12154}
\end{figure}

%fig 12
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig12202.pdf}
  \caption{Comparison between mean normal velocity at $x/D = 2.02$}
  \label{fig:fig12202}
\end{figure}

%fig 13
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig13106.pdf}
  \caption{Comparison between variance of mean streamwise velocity fluctuation at $x/D = 1.06$}
  \label{fig:fig13106}
\end{figure}

%fig 14
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig13154.pdf}
  \caption{Comparison between variance of mean streamwise velocity fluctuation at $x/D = 1.54$}
  \label{fig:fig13154}
\end{figure}

%fig 15
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig13202.pdf}
  \caption{Comparison between variance of  mean streamwise  velocity fluctuation at $x/D = 2.02$}
  \label{fig:fig13202}
\end{figure}

%fig 16
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig14106.pdf}
  \caption{Comparison between variance of mean normal velocity fluctuation at $x/D = 1.06$}
  \label{fig:fig14106}
\end{figure}

%fig 17
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig14154.pdf}
  \caption{Comparison between variance of mean normal velocity fluctuation at $x/D = 1.54$}
  \label{fig:fig14154}
\end{figure}

%fig 18
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig14202.pdf}
  \caption{Comparison between variance of mean normal velocity fluctuation at $x/D = 2.02$}
  \label{fig:fig14202}
\end{figure}

%fig 19
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig15106.pdf}
  \caption{Comparison between covariance of mean velocity fluctuation at $x/D = 1.06$}
  \label{fig:fig15106}
\end{figure}

%fig 20
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig15154.pdf}
  \caption{Comparison between covariance of mean velocity fluctuation at $x/D = 1.54$}
  \label{fig:fig15154}
\end{figure}

%fig 21
 \begin{figure}[!ht]
  \centering
  \includegraphics[scale=0.2, angle = 270]{fig15202.pdf}
  \caption{Comparison between covariance of mean velocity fluctuation at $x/D = 2.02$}
  \label{fig:fig15202}
\end{figure}

\clearpage

\begin{thebibliography}{1}
  \bibitem{1}Philippe Parnaudeau, Johan Carlier, Dominique Heitz and Eric Lamballais, Experimental and numerical studies of the flow over a cicular cylinder at Reynolds number 3900, Physics of Fluids, 20, pp 058101-14, 2008. 
\end{thebibliography}

\end{document}
The log file is attached!

Thanks for being a great help.
Attachments
TrainPIV.log
(39.08 KiB) Downloaded 240 times
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Reference appearing on the first page

Post by gmedina »

Hi pban92,

I've also tested your code and inserting \clearpage right after

Code: Select all

%fig 6
solved the "Too many unprocessed floats" issue. I did my test using the demo option for the graphicx package:

Code: Select all

\usepackage[demo]{graphicx}
Please try including that option and then report the outcome.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
pban92
Posts: 54
Joined: Sat Aug 09, 2008 9:34 am

Reference appearing on the first page

Post by pban92 »

Hi gmedina,

1. The reference thing is solved using \clearpage. But if I want to have my reference right below the last text or images rather than in a new page, I am agian clueless.

2. Using

Code: Select all

\usepackage[demo]{graphicx}
showed me the same 55 errors.

Many thanks!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Reference appearing on the first page

Post by Stefan Kottwitz »

Hi pban92,

did you solve the "Too many unprocessed floats" problem like gmedina and I suggested? If not, tell us.
If yes, attach the new log file, because the old log contains the "Too many unprocessed floats" errors and errors depending on them.

Stefan
LaTeX.org admin
Post Reply