forked from reamat/CalculoNumerico
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreambulo_slide.tex
253 lines (217 loc) · 9.07 KB
/
preambulo_slide.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
%Este trabalho está licenciado sob a Licença Creative Commons Atribuição-CompartilhaIgual 3.0 Não Adaptada. Para ver uma cópia desta licença, visite http://creativecommons.org/licenses/by-sa/3.0/ ou envie uma carta para Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ATENÇÃO
%
% POR SEGURANÇA, NÃO EDITE ESTE ARQUIVO.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Layout das páginas
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\paperwidth}{5in}%
\setlength{\paperheight}{4in}%
\usepackage[body={4.75in,3.65in},hmarginratio=1:1]{geometry}[2002/07/08]
%%%% titlepage figure %%%%
\usepackage{eso-pic}
\newcommand\BackgroundPic{%
\put(0,0){%
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width=\paperwidth,height=\paperheight,%
keepaspectratio]{./rosto/capa.eps}%
\vfill
}}}
%%%% DAGO %%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\cleardoublepage}{\clearpage}
%\usepackage[screen,\Margins]{geometry}[2002/07/08]
\pagestyle{empty}
%\usepackage{indentfirst} % COM parágrafos
\setlength\parindent{0.0cm} % Sem parágrafos
\let\stdsection\section % inicia cada secao em nova pagina
\renewcommand\section{\newpage\stdsection}
\let\stdsubsection\subsection % inicia cada subsecao em nova pagina
\renewcommand\subsection{\newpage\stdsubsection}
\let\stdsubsubsection\subsubsection % inicia cada subsubsecao em nova pagina
\renewcommand\subsubsection{\newpage\stdsubsubsection}
\let\stdemph\emph % redefine emph
%\renewcommand\emph{\RED{\stdemph}}
\renewcommand{\emph}[1]{{\color{red}{\textbf{#1}}}}
\usepackage{xcolor}
\definecolor{cornsilk}{rgb}{1, .973, .863}
\definecolor{darkgreen}{rgb}{0,0.7,0}
\definecolor{blue9}{rgb}{0.9,0.9,1.0}
\definecolor{red9}{rgb}{1.0,0.9,0.9}
\definecolor{green9}{rgb}{0.9,1.0,0.9}
\pagecolor{cornsilk}
\def\Caixawidth{11cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%% PREAMBLE %%%%%%%%%%%%%%%
%
% %%%%% language settings %%%%
% \usepackage[brazil]{babel}
% \usepackage[utf8]{inputenc}
% \usepackage[T1]{fontenc}
% %\usepackage{xunicode} é o pacote necessário para a codificação UTF-8 no XeTeX
%
%
% %%%% independent chapters %%%%
% \usepackage{subfiles}
%
% %%%%% geometry %%%%%
% %\usepackage[hmargin=2.5cm,vmargin=2.5cm]{geometry}
%
% %%%% ams-latex %%%%
% \usepackage{amsmath}
% \usepackage{amssymb}
% \usepackage{amsthm}
%
% %%%% graphics %%%%
% \usepackage{graphics}
% \usepackage{graphicx}
%
% %%%% links %%%%
% \usepackage[hidelinks]{hyperref}
%
% %%%% copy and paste from PDF (correctly) %%%%
% \usepackage{upquote}
% \usepackage{lmodern}
%
% %%%% code insert (verbatim) %%%%
% \usepackage{verbatim}
% %%%% indent first line %%%%
% \usepackage{indentfirst}
%
% %%%% comma as a decimal separator %%%%
% \usepackage{icomma}
%
% %%%% citation %%%%
% \usepackage{cite}
%
% %%%% miscellaneous %%%%
% \usepackage{multicol}
% \usepackage{multirow}
% \usepackage[normalem]{ulem}
% \renewcommand{\arraystretch}{1.5} %space between rows in tables
%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%% Exercises and Answers %%%%
% \usepackage[answerdelayed,lastexercise]{exercise}
% \usepackage{chngcntr}
% \counterwithin{Exercise}{section}
% \counterwithin{Answer}{section}
% \renewcommand{\ExerciseHeaderTitle}{({\it \ExerciseTitle})}
% \renewcommand{\ExerciseName}{E}
% \renewcommand{\ExerciseHeader}{{\textbf{\large\ExerciseName~\ExerciseHeaderNB\ExerciseHeaderTitle\ExerciseHeaderOrigin\medskip}}}
% \renewcommand{\ExerciseHeader}{\textbf{\ExerciseName\ \ExerciseHeaderNB.}\,}
%
% % change font for answers header
% \renewcommand{\AnswerHeader}{\tiny\textbf{\ExerciseName\ \ExerciseHeaderNB.}\smallskip}
% % change font for answers list header
% \renewcommand{\AnswerListHeader}{{\tiny\textbf{\AnswerListName\
% (\ExerciseListName\ \ExerciseHeaderNB)\ ---\ }}}
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%% environments %%%%
% \newtheorem{teo}{Teorema}
% \newtheorem{lem}{Lema}
% \newtheorem{prop}{Proposição}
% \newtheorem{corol}{Corolário}
% \newtheorem{ex}{Exemplo}
% %\newtheorem{exer}{Exercício}
% %\newtheorem{exersol}{Exercício Resolvido}
% %\newtheorem{prob}{Problema}
% \newtheorem{obs}{Observação}
% \newtheorem{defn}{Definição}
%
% \newenvironment{sol}
% {\let\oldqedsymbol=\qedsymbol
% \renewcommand{\qedsymbol}{$\Diamond$}
% \begin{proof}[\bfseries\upshape Solução]}
% {\end{proof}
% \renewcommand{\qedsymbol}{\oldqedsymbol}}
%
% %%%% newcommands %%%%
% \newcommand{\sen}{\operatorname{sen}\,}
% \newcommand{\tg}{\operatorname{tg}\,}
% \newcommand{\p}{\partial}
% %%%% page layout %%%%
% \usepackage{fancyhdr}
% \pagestyle{fancyplain}
% \lhead[\fancyplain{}{\em\thepage}]%
% {\fancyplain{}{\em\rightmark}}
% \rhead[C\'{a}lculo Num\' erico]%
% {\fancyplain{}{\em\thepage}}
% %license footnote
% \cfoot{\tiny{Licença CC-BY-SA-3.0. Contato: \url{[email protected]}}}
%
% %%%% no blank pages between chapters %%%%
% \let\cleardoublepage\clearpage
%
% %%%% indexing %%%%
% \usepackage{makeidx}
% \makeindex
%\usepackage{xcolor}
%\newcommand{\RED}[1]{{\color{red}{#1}}}
%\newcommand{\BLU}[1]{{\color{blue}{#1}}}
%\newcommand{\GRE}[1]{{\color{darkgreen}{#1}}}
\theoremstyle{plain} % bold title, italic body
\newtheorem{myteo}{Teorema}
\newtheorem{mylem}{Lema}
\newtheorem{myprop}{Proposição}
\newtheorem*{demo}{Demonstração}
\newtheorem{mycorol}{Corolário}
\newtheorem{mydefn}{Definição}
%
\theoremstyle{remark} % italic title, romman body
\newtheorem{myobs}{Observação}
%
\theoremstyle{definition} % italic title, romman body
\newtheorem{ex}{Exemplo}
\def\Caixawidth{11.3cm}
%--------------------------------------------------------------------------
\makeatletter\newenvironment{teo}{ \setlength{\fboxrule}{2pt}\setlength{\fboxsep}{10pt}\noindent %
\begin{lrbox}{\@tempboxa}\begin{minipage}{\Caixawidth}\begin{myteo}}{%
\end{myteo}\end{minipage}\end{lrbox}\fcolorbox{blue}{blue9}{\usebox{\@tempboxa}}}\makeatother
%--------------------------------------------------------------------------
\makeatletter\newenvironment{lem}{ \setlength{\fboxrule}{2pt}\setlength{\fboxsep}{10pt}\noindent %
\begin{lrbox}{\@tempboxa}\begin{minipage}{\Caixawidth}\begin{mylem}}{%
\end{mylem}\end{minipage}\end{lrbox}\fcolorbox{blue}{blue9}{\usebox{\@tempboxa}}}\makeatother
%--------------------------------------------------------------------------
\makeatletter\newenvironment{prop}{ \setlength{\fboxrule}{2pt}\setlength{\fboxsep}{10pt}\noindent %
\begin{lrbox}{\@tempboxa}\begin{minipage}{\Caixawidth}\begin{myprop}}{%
\end{myprop}\end{minipage}\end{lrbox}\fcolorbox{blue}{blue9}{\usebox{\@tempboxa}}}\makeatother
%--------------------------------------------------------------------------
\makeatletter\newenvironment{corol}{ \setlength{\fboxrule}{2pt}\setlength{\fboxsep}{10pt}\noindent %
\begin{lrbox}{\@tempboxa}\begin{minipage}{\Caixawidth}\begin{mycorol}}{%
\end{mycorol}\end{minipage}\end{lrbox}\fcolorbox{blue}{blue9}{\usebox{\@tempboxa}}}\makeatother
%--------------------------------------------------------------------------
\makeatletter\newenvironment{defn}{ \setlength{\fboxrule}{2pt}\setlength{\fboxsep}{10pt}\noindent %
\begin{lrbox}{\@tempboxa}\begin{minipage}{\Caixawidth}\begin{mydefn}}{%
\end{mydefn}\end{minipage}\end{lrbox}\fcolorbox{red}{red9}{\usebox{\@tempboxa}}}\makeatother
%--------------------------------------------------------------------------
%--------------------------------------------------------------------------
\makeatletter\newenvironment{obs}{ \setlength{\fboxrule}{2pt}\setlength{\fboxsep}{10pt}\noindent %
\begin{lrbox}{\@tempboxa}\begin{minipage}{\Caixawidth}\begin{myobs}}{%
\end{myobs}\end{minipage}\end{lrbox}\fcolorbox{blue}{blue9}{\usebox{\@tempboxa}}}\makeatother
%--------------------------------------------------------------------------
%--------------------------------------------------------------------------
% \makeatletter\newenvironment{ex}{ \setlength{\fboxrule}{2pt}\setlength{\fboxsep}{10pt}\noindent %
% \begin{lrbox}{\@tempboxa}\begin{minipage}{\Caixawidth}\begin{myex}}{%
% \end{myex}\end{minipage}\end{lrbox}\fcolorbox{blue}{blue9}{\usebox{\@tempboxa}}}\makeatother
%--------------------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% Exercises and Answers %%%%
\usepackage[answerdelayed,lastexercise]{exercise}
\usepackage{chngcntr}
\counterwithin{Exercise}{section}
\counterwithin{Answer}{section}
\renewcommand{\ExerciseHeaderTitle}{({\it \ExerciseTitle})}
\renewcommand{\ExerciseName}{E}
\renewcommand{\ExerciseHeader}{{\textbf{\large\ExerciseName~\ExerciseHeaderNB\ExerciseHeaderTitle\ExerciseHeaderOrigin}}}
\renewcommand{\ExerciseHeader}{\textbf{\ExerciseName\ \ExerciseHeaderNB.}\,}
% change font for answers header
\renewcommand{\AnswerHeader}{\tiny\textbf{\ExerciseName\ \ExerciseHeaderNB.}\smallskip}
% change font for answers list header
\renewcommand{\AnswerListHeader}{{\tiny\textbf{\AnswerListName\
(\ExerciseListName\ \ExerciseHeaderNB)\ ---\ }}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%