Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When using the IEEE template (LaTeX and BibTeX) the references page appears before the title page. Why is this?

The LaTeX file:

\documentclass[conference]{IEEEtran}

% correct bad hyphenation here
\hyphenation{op-tical net-works semi-conduc-tor}

\begin{document}
%
% paper title
% can use linebreaks \\ within to get better formatting as desired

\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,bibliography}
\title{Bare Demo of IEEEtran.cls for Conferences}

% author names and affiliations
% use a multiple column layout for up to three different
% affiliations

\maketitle

\begin{abstract}
%\boldmath
The abstract goes here. 
\end{abstract}

\IEEEpeerreviewmaketitle

\section{Introduction}
% no \IEEEPARstart
This demo file is intended to serve as a ``starter file''
for IEEE conference papers produced under \LaTeX\ using
IEEEtran.cls version 1.7 and later. \cite{dp}
% You must have at least 2 lines in the paragraph with the drop letter
% (should never be an issue)
I wish you the best of success.

\hfill mds

\hfill January 11, 2007

\subsection{Subsection Heading Here}
Subsection text here.

\subsubsection{Subsubsection Heading Here}
Subsubsection text here.

\section{Conclusion}
The conclusion goes here.

\section*{Acknowledgment}
The authors would like to thank...

\end{document}

the bib file:

@Article{ dp,
  title = {Exact and approximate representations for the sum Dirichlet process},
  author = "Ishwaren, H. and Zarepour, M. ",
  journal = "Can J Stat",
  Volume = 30,
  PAGES = {269–283},
  year = 2002,
}
share|improve this question
2  
Welcome to TeX.sx! and congratulations for the good example. While the \bibliographystyle command can go almost anywhere, the \bibliography command should go where you want the bibliography to be typeset. –  egreg Mar 25 '13 at 21:26
    
Beautiful! Thanks! You guys are so much more polite than stack overflow. –  RRs_Ghost Mar 25 '13 at 21:28
1  
We try hard to be friendly, particularly to newbies. Welcome again. –  egreg Mar 25 '13 at 21:39
    
I removed several line breaks from your example code. Also I removed your thanks: Usually, we don't put this (and greetings as well) in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say "thank you" to users who helped you. –  Speravir Mar 25 '13 at 21:50

1 Answer 1

up vote 5 down vote accepted

\bibliography needs to go where you actually want your bibliography output (at the end?)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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