-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.tex
66 lines (60 loc) · 2.28 KB
/
template.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
%<+ +> !comp! !exe!
% Filename: !comp!expand("%:p:t")!comp!
%
% This code is part of 'Solutions for MS650, Métodos de Matemática Aplicada II, and F620, Métodos Matemáticos da F\'{i}sica II'
%
% Description: This file corresponds to the solutions of homework sheet <+NUMBER+>.
%
% Created: !comp!strftime("%d.%m.%y %X")!comp!
% Last Change: !comp!strftime("%d.%m.%y %X")!comp!
%
% Authors:
% - Raniere Silva (2012): initial version
%
% - <+Your Name+> (<+date in ISO year-month-day format+>): <+short desc+>
%
% Copyright (c) 2012 Raniere Silva <[email protected]>
% Copyright (C) <+Years+> <+YOUR NAME+> <+your email+>
%
% This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
%
% This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
%
\documentclass[a4paper,12pt, leqno, answers]{exam}
% Customização da classe exam
\newcommand{\mycheader}{Lista <+NUMBER+> - <+Topic+>}
\header{MS650, F620}{\mycheader}{\thepage/\numpages}
\headrule
\footer{Dispon\'{i}vel em \\\input{repository.tex}}{}{Reportar erros para \\\input{maintainer.tex}}
\footrule
\pagestyle{headandfoot}
\renewcommand{\solutiontitle}{\noindent\textbf{Solução:}\enspace}
\SolutionEmphasis{\slshape}
\unframedsolutions
\pointname{}
\input{paper_size.tex}
\input{packages.tex}
% Customização do pacote amsmath
\allowdisplaybreaks[4]
% Novos ambientes
% \newenvironment{fwsolution}{\begin{EnvFullwidth}\begin{TheSolution}}{\end{TheSolution}\end{EnvFullwidth}}
% Novos comandos
\newcommand{\devp}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\grad}{\mbox{grad }}
\newcommand{\diver}{\mbox{div }}
\newcommand{\rot}{\mbox{rot }}
\begin{document}
%cover
\thispagestyle{empty}
\input{cover.tex}
\newpage
\setcounter{page}{1}
\begin{questions}
\question Enunciado aqui.
\begin{solution}
Solução aqui.
\end{solution}
\end{questions}
% \bibliographystyle{plain}
% \bibliography{bibliography}
\end{document}