\documentclass[a4paper,english,12pt]{report}
\include{preamble}
\begin{document}
\author{John Smith}
\date{01.01.2038}
\title{An Example \LaTeX{} Report}
% If you want a frontpage, you can do this:
% \includepdf[pages={1}]{front-page.pdf}
% Here, instead, we use \maketitle
\maketitle
\begin{abstract}
\input{abstract}
\end{abstract}
\tableofcontents
\addtocontents{toc}{\protect\thispagestyle{empty}}
\pagenumbering{gobble}% Remove page numbers (and reset to 1)
\clearpage % OPTIONAL
\pagenumbering{arabic} % OPTIONAL
\phantomsection % add hyperref anchor
\input{chapter-example} % no file extension
% ... add more files here
\clearpage
% Bibliography in APA-style with customizations:
%
%\begingroup % left-justify
%\raggedright % left-justify
%\nocite{*} % show all references, even if not used
%\phantomsection
%\bibliography{references}
%\bibliographystyle{apacite} % APA-style citations
%\endgroup % left-justify
%
% ... or another one:
%
\bibliography{references}
\bibliographystyle{ieeetr} % another style
\appendix
\input{appendix}
% Because of hyperref/makeidx/toc bug, we have to insert anchors
% ourselves here. See
% http://tex.stackexchange.com/questions/138903/wrong-hyperref-for-index-in-tableofcontents-since-texlive-2010
%
\clearpage % may not be needed with imakeidx
\phantomsection % may not be needed with imakeidx
% Also add to ToC
\addcontentsline{toc}{chapter}{Index}
\printindex
\end{document}

PDF Preview
Create an account to compile and preview