Skip to content

Commit

Permalink
Simplificar o template (#2)
Browse files Browse the repository at this point in the history
* Remover demonstração que antes estava em ex1.tex

* Actualizar ano, e remover listagens de teoremas

* Exemplo de referência

* Update para a release a fazer
  • Loading branch information
cpmachado authored Oct 30, 2024
1 parent 821e0b0 commit 8457eab
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 27 deletions.
4 changes: 2 additions & 2 deletions bibliografia.bib
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@misc{uabefoliotemplate,
author = {{Pinto Machado}, Carlos},
title = {uab-efolio-template},
year = {2023},
version = {0.0.2},
year = {2024},
version = {0.0.3},
url = {https://github.com/cpmachado/uab-efolio-template}
}
26 changes: 8 additions & 18 deletions ex1.tex
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
\exercicio

\paragraph{} Não esquecer que mencionar este template
\cite[Algo]{uabefoliotemplate}.

\alinea

\begin{theorem}[Somatório de números naturais]
Para $n \in \mathbb{N}$, tem-se que $\sum_{k = 1}^n k = \frac{n(n+1)}{2}$.
\end{theorem}
\begin{prop}\label{prop1a}
Seja $n \in \mathbb{N}$, então $n + 1 \in \mathbb{N}$.
\end{prop}

\begin{proof}
\; \\
Caso base $n = 1$, tem-se que 1 = 1, pelo que verifica o caso base.\\
Fixado $n \in \mathbb{N}$, vamos supor:
\begin{align*}
\sum_{k = 1}^n k &= \frac{n(n+1)}{2} &&\text{(Hipótese de Indução)}
\intertext{Pretende-se provar:}
\sum_{k = 1}^{n + 1} k &= \frac{(n + 1)(n+2)}{2} &&\text{(Tese de Indução)}
\intertext{Passo de Indução:}
\sum_{k = 1}^{n + 1} k &= n + 1 + \sum_{k = 1}^n k
\overset{\text{\tiny passo de indução}}{=}
n + 1 + \frac{n (n + 1)}{2} \\
&= \frac{n (n + 1) + 2(n + 1)}{2}
= \frac{(n +2)(n + 1)}{2}
\end{align*}
\\
Por indução, etc. fica provada a proposição \ref{prop1a}.
\end{proof}

11 changes: 4 additions & 7 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@
\usepackage{csquotes}
\usepackage{graphicx}
\usepackage{mathtools}
\usepackage{thmtools}
\usepackage{titling}
\usepackage{biblatex}
\usepackage[style=authoryear]{biblatex}
\usepackage{hyperref}


\graphicspath{{imagem}}
\addbibresource{bibliografia.bib}

% Ambientes de provas e demonstrações
\newtheorem{theorem}{Teorema}[section]
\newtheorem{prop}{Proposição}[section]
\renewcommand\qedsymbol{\textbf{q.e.d.}}

% Dados
Expand All @@ -31,11 +30,10 @@
\newcommand{\codigoUC}{12345}
\newcommand{\docentes}{AA}
\newcommand{\curso}{Licenciatura em Matemática e Aplicações}
\newcommand{\turma}{X}
\newcommand{\anoLectivo}{2023-2024}
\newcommand{\anoLectivo}{2024-2025}
\date{\today}

\title{\numeroEstudante - \UC - \codigoUC - \theauthor}
\title{\numeroEstudante - \codigoUC - \UC}

\pagenumbering{arabic}

Expand Down Expand Up @@ -69,6 +67,5 @@

\nocite{uabefoliotemplate}
\printbibliography[heading=bibintoc,title={Bibliografia}]
\listoftheorems[title={Lista de Teoremas}]

\end{document}

0 comments on commit 8457eab

Please sign in to comment.