% $Id$
% ---------------------------------------------------------------------------
%
% Copyright (c) 2008 Interlegis
%
% Permission is granted to copy, distribute and/or modify this
% document under the terms of the GNU Free Documentation License,
% Version 1.2 or any later version published by the Free Software
% Foundation; with no Invariant Sections, no Front-Cover Texts, and no
% Back-Cover Texts.  A copy of the license is included in the section
% entitled "GNU Free Documentation License". If not, see
% <http://www.gnu.org/licenses/>.
%

\documentclass[a4paper,12pt]{article}
\textheight 22.5cm
\usepackage[brazil]{babel}      % suporte ao portugues brasil
\usepackage[utf8]{inputenc}     % Codificacao dos caracteres (use a
                                % codificacao latin1 caso seu
                                % sistema/editor nao suporte utf8).
\usepackage[T1]{fontenc}
\usepackage{indentfirst}        % indenta o primeiro paragrafo 
\usepackage{graphicx}           % uso para imagens
\usepackage{dsfont}             % fonte

\usepackage{fancyhdr}           % permite alterar o cabecalho
\pagestyle{fancy}               % configura o estilo padrao

\usepackage{verbatim}

\input{comandos}                % novos comandos

\usepackage[pdftex,%            % formatacao no PDF
pdfauthor={\autor},%
pdftitle={\titulo \ - \subtitulo},%
]{hyperref}
\hypersetup{backref=true,pdfpagemode=UseOutlines,colorlinks=true,
  breaklinks=true,hyperindex,linkcolor=blue,anchorcolor=black,
  citecolor=blue,filecolor=magenta,menucolor=red,pagecolor=red,
  urlcolor=cyan,bookmarks=true,bookmarksopen=true,pdfpagelayout=SinglePage,
  pdfpagetransition=Dissolve}

\begin{document}
\input{cabecalho}
\input{capa}

% configura o rodape do conteudo pre-textual para numeros romanos
\clearpage
\cfoot{\thepage}
\setcounter{page}{1}
\pagenumbering{Roman}

\tableofcontents
\listoffigures

% configura o rodape das paginas de conteudo para numeros convencionais
\clearpage
\setcounter{page}{1}
\pagenumbering{arabic}

% conteudo
\include{capitulos/introducao}
\include{capitulos/capitulo1}
\include{capitulos/capitulo2}
\include{capitulos/capitulo3}

\end{document}