%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% livro
%%
%%  Stephane Clain
%%
%% version 0.1 julho2004
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[12pt]{livro}
\usepackage{amssymb,amsmath}
\usepackage[portugues]{babel}
\usepackage[dvips]{graphicx,color}
\usepackage{pstricks,pst-grad}
\usepackage{xspace}

%\usepackage{times}
\usepackage{helvet}
%\usepackage{draftcopy}
%\draftcopySetGrey{0.5}
%\draftcopyName{DRAFT}{240}
%\usepackage{framed,pstricks}
\usepackage{makeidx}
\usepackage[OT1]{fontenc}
\usepackage[amsmath,thmmarks,framed]{ntheorem}
\usepackage{framed}
\definecolor{gris}{rgb}{0.9,0.9,0.9} 
\definecolor{grislight}{rgb}{0.95,0.95,0.95} 




%
\parindent=0.0 truecm
\parskip=0.3truecm
\textheight 24cm    \textwidth 15cm
\voffset=-2.0cm       
\hoffset=-1.3cm
\newfont{\thepolice}{cmbxsl12 }
\newfont{\propositionPolice}{cmsl12 }
\newfont{\notapolice}{cmss11 }
\newfont{\textpolice}{phvr8c}
% ------- portugues -----
\newcommand{\cao}{\c c\~ ao\xspace}
\newcommand{\ao}{\~ ao\xspace}
\newcommand{\coes}{\c c\~ oes\xspace}
\newcommand{\oes}{\~ oes\xspace}
\newcommand{\ii}{\'\i}
\newcommand{\qtl}{{\it q.t.p.} }
\newcommand{\qtp}{{\it q.t.p.} }
%
%\theoremstyle{break}
%\newtheorem{thm}{Teorema}[section]
%\newtheorem{prop}{Proposi\c c\~ ao}[section]
%\newtheorem{lem}{Lema}[section]
%\newtheorem{cor}{Corol\'ario}[section]
%\theoremstyle{remark}
%\newtheorem{defin}{Defini\c c\~ ao}[section]
%\newtheorem{rem}{Nota}[section]
{
      \theoremstyle{break}
     \theorembodyfont{\thepolice}
      \theoremheaderfont{\large\scshape\bfseries}
      \theoremindent 20pt
      \theorempostwork{\vskip -10pt  \hskip20pt
                       \hskip 5truecm\rule{3.cm}{1pt}\vskip 5pt
                       }
      \newtheorem{theoremP}{Teorema}[section] 
}

{
      \theoremstyle{break}
      \theorembodyfont{\propositionPolice}
      \theoremheaderfont{\large\scshape\bfseries}
      \theoremindent 20pt
      \theoremseparator{}      
 %     \theoremsymbol{\ensuremath{\diamondsuit}}
      \theoremprework{\hskip 5pt}
      \theorempostwork{\hskip 5pt}
      \newtheorem{propositionP}{Proposi\c c\~ ao}[section]
}


{
      \theoremstyle{break}
     % \theorembodyfont{\thepolice}      
      \theorembodyfont{\propositionPolice}
      \theoremheaderfont{\large\scshape\bfseries}
      \theoremindent 20pt
      \newtheorem{lemmaP}{Lema}[section]
}


{
      \theoremstyle{break}
     % \theorembodyfont{\thepolice}      
      \theorembodyfont{\propositionPolice}
     \theoremheaderfont{\large\scshape\bfseries}
      \theoremindent 20pt
      \newtheorem{corrolaryP}{Corol\'ario}[section]
}


{
      \theoremstyle{break}
      \theorembodyfont{\normalfont\itshape}
      \theoremheaderfont{\large\scshape\bfseries}
      \theoremindent 0pt
      %\theoremprework{\vskip 5pt\hrule\vskip 5pt }
      %\theorempostwork{\vskip -2pt\hrule}
      %\renewcommand \FrameCommand{{\color{blue}\vrule width 5pt \hspace{10pt}}}
      %\shadecolor{gris}
      \def\theoremframecommand{%
               \psshadowbox[fillstyle=solid,fillcolor=gris,linecolor=black]}%
      \newshadedtheorem{definitionP}{Defini\c c\~ ao}[section]
      %\newtheorem{definitionP}{Defini\c c\~ ao}[section]
}


{
      \theoremstyle{break}
      \theorembodyfont{\normalfont\itshape}
      \theoremheaderfont{\large\scshape\bfseries}
      \theoremindent 0pt
      %\theoremprework{\vskip 5pt\hrule\vskip 5pt }
      %\theorempostwork{\vskip -2pt\hrule}
      %\renewcommand \FrameCommand{{\color{blue}\vrule width 5pt \hspace{10pt}}}
      %\shadecolor{gris}
      \def\theoremframecommand{%
               \psshadowbox[fillstyle=solid,fillcolor=grislight,linecolor=black]}%
      \newshadedtheorem{notationP}{Nota\c c\~ ao}[section]
      %\newtheorem{definitionP}{Defini\c c\~ ao}[section]
}




{
      \theoremstyle{remark}
      \theorembodyfont{\notapolice}
      \theoremheaderfont{\scshape}
      \theoremindent 0pt
      \newtheorem{remarkP}{Nota}[section]
}

{
      \theoremstyle{exemple}
      \theorembodyfont{\small}
      \theoremheaderfont{\scshape}
      \theoremindent 0pt
      \newtheorem{exampleP}{Exemplo}[section]
}

{
      \theoremstyle{exemple}
      \theorembodyfont{\small}
      \theoremheaderfont{\scshape}
      \theoremindent 0pt
      \newtheorem{exerciceP}{Exerc\ii cio}[section]
}
% para os exercicios
\newtheorem{exo}{Exerc\ii cio}
\numberwithin{equation}{section}
\newtheorem{sol}{Solu\cao exerc\ii cio}
\numberwithin{equation}{section}
%
\newcommand{\h}{\widehat}
\newcommand{\pd}[2]{\dfrac{\partial #1}{\partial #2}}
\newcommand{\eps}{\varepsilon}
\newcommand{\de}{_{\eps}}
\newcommand{\bs}{\boldsymbol}
\newcommand{\ue}{^\eps}
\newcommand{\dx}{\,d\bs x}
\newcommand{\build}[3]{\mathrel{\mathop{\kern 0pt#1}\limits_{#2}^{#3}}}
\newcommand{\CV}{\build{\longrightarrow}{\eps\to 0}{}}
\def\curl{\operatorname{\mathbf{curl}}}
\def\scurl{\operatorname{\mathrm{curl}}}
\def\diver{\operatorname{div}}
\def\re{\operatorname{Re}}
\def\sgn{\operatorname{\mathrm{sgn}}}
\def\pardef{\operatorname{\stackrel{\textrm{\tiny def}}{=}}}
\def\toFraca{\operatorname{\stackrel{\textrm{\tiny f}}{\to}}}
\def\toFracaEstrela{\operatorname{\stackrel{\textrm{\tiny f-*}}{\to}}}
% change the math font
\def\mathtitre#1{
\font\tenrm=cmr10   scaled #1
\font\sevenrm=cmr7  scaled #1
\font\fiverm=cmr5   scaled #1
\font\teni=cmmi10   scaled #1
\font\seveni=cmmi7  scaled #1
\font\fivei=cmmi5   scaled #1
\font\tensy=cmsy10  scaled #1
\font\sevensy=cmsy7 scaled #1
\font\fivesy=cmsy5  scaled #1
\font\tenex=cmex10  scaled #1
\textfont0=\tenrm \scriptfont0=\sevenrm \scriptscriptfont0=\fiverm
\textfont1=\teni  \scriptfont1=\seveni  \scriptscriptfont1=\fivei
\textfont2=\tensy \scriptfont2=\sevensy \scriptscriptfont2=\fivesy
\textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex
}
%ù%%


\newcommand{\prova}{{\sc Demonstra\c c\~ao.}\ }
\newcommand{\eprova}{\hfill $\square$\newline}
\newcommand{\resposta}{{\sc Resposta.}\ }
\newcommand{\eresposta}{\hfill $\square$\newline}
\pagestyle{plain}
\pagenumbering{roman}
\makeindex
\begin{document}

%\title{Introdu\cao aos elementos finitos }

%\author{\sc St\'ephane Clain}
%\date{}

%\maketitle

%\include{primeira_pagina}
\include{capa}
\pagenumbering{roman}
\tableofcontents

%\include{introducao}
%\include{notacao}
\pagenumbering{arabic}
\include{capitulo1}
\include{capitulo2}
\include{capitulo3}
\include{capitulo4}
\include{capitulo5}
\include{capitulo6}
%\include{capitulo7}
%\include{capitulo8}
%\include{capitulo9}
%\include{capituloE}
\appendix
%\include{anexo1}
%\include{anexo2}
%\include{anexo3}
%\include{anexo4}
%\include{biblio}
\printindex
\end{document}
