\documentclass[a4paper,12pt,oneside,openany]{uerj}

\usepackage[english,brazil]{babel}
\usepackage[latin1]{inputenc}
\usepackage{enumerate}
\usepackage{cite}
\usepackage{epsf,epsfig,psfig}
\usepackage{pagina}
\usepackage{indentfirst}
\usepackage{theorem}
\usepackage{fancyhdr}
\usepackage{setspace}

\newtheorem{example}{Exemplo}%[chapter]
\theoremstyle{plain}

\bibliographystyle{abnt-num}

\begin{document}

\thispagestyle{empty}\input{./Anexos/Capa}
\pagebreak\thispagestyle{empty}\input{./Anexos/FolhaDeRosto}
\pagebreak\thispagestyle{empty}\input{./Anexos/FolhaDeAprovacao}
\pagebreak\thispagestyle{empty}\input{./Anexos/Agradecimento}
\pagebreak\thispagestyle{empty}\input{./Anexos/Epigrafe}
\pagebreak\thispagestyle{empty}\input{./Anexos/Resumo}
\pagebreak\thispagestyle{empty}\input{./Anexos/Abstract}

\fancypagestyle{plain}{
\fancyhf{} % clear all header and footer fields
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}
\pagestyle{plain}

\pagebreak

\def\listfigurename{LISTA DE FIGURAS}\listoffigures
\def\listtablename{LISTA DE TABELAS}\listoftables
\input{./Anexos/ListaDeSiglas.tex}
\def\contentsname{SUMÁRIO}\tableofcontents

\fancypagestyle{plain}{
\fancyhf{} % clear all header and footer fields
\fancyhead[R]{\thepage} 
\setlength{\voffset}{-1cm}
\setlength{\headsep}{1cm}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}

\pagestyle{plain}

\pagebreak
\addcontentsline{toc}{chapter}{\hspace{1.7cm}\bfseries INTRODUÇÃO}
\input{./Anexos/introducao.tex}

\input{./Cap1/exemplo.tex}

% inserir demais capítulos aqui
% -----------------------------
% -----------------------------
% -----------------------------
% -----------------------------

\pagebreak
\addcontentsline{toc}{chapter}{\hspace{1.7cm}\bfseries CONCLUSÃO}
\input{./Anexos/conclusao.tex}

\pagebreak
\addcontentsline{toc}{chapter}{\hspace{1.7cm}\bfseries REFERÊNCIAS}
\def\bibname{REFERÊNCIAS}
\bibliography{dissertacao}

\end{document}
