
Atualmente estou escrevendo minha dissertação de matemática.
Digamos que estou na "seção 5" da dissertação e estou ordenando lemas, proposições, teoremas e corolários por 5.1, 5.2, 5.3,... etc. 5.2, o antigo 5.2 mudaria para 5.3, 5.3 mudaria para 5.4,... etc?
Obrigado por qualquer ajuda
Responder1
Esperamos que você tenha descoberto que o problema é fácil no LaTeX (na verdade, é substancialmente o que eraprojetadopara), mas aqui está uma construção explícita para você observar.
Tente compilar este documento, com e sem o Lema nele. (Dependendo de como você está escrevendo seu documento, pode ser necessário executar o LaTeX duas vezes seguidas para resolver a referência cruzada cada vez que você remover o Lema. Muitos editores modernos fazem isso automaticamente.)
\documentclass{article}
\usepackage{amsthm,amssymb}
\newtheorem{theorem}{Theorem}[section]
% Theorem numbering is Sec#.Thm#
\newtheorem{lemma}[theorem]{Lemma}
% Lemmata are numbered as theorems
\begin{document}
\section{A section with some politically motivated math in it}
The following Lemma is folklore among Business Administration circles of
the \emph{Paradigmatic Shift} school:
\begin{lemma}[Synergy Lemma]
\label{lemma:synergy}
Under the right circumstances, $1 + 1 = 3$.
\end{lemma}
\begin{proof} By adoption of a positive workplace culture. \end{proof}
\noindent
The Synergy Lemma proves quite useful to show the following celbrated result:
\begin{theorem}
\label{thm:2+2=5}
When it suits us, $2 + 2 = 5$.
\end{theorem}
\begin{proof} Exercise for the reader; use good stomping boots. \end{proof}
\noindent
Theorem~\ref{thm:2+2=5} is commonly known as \emph{Orwell's Theorem},
though it is often (and more accurately) called \emph{Vissarionovich's Theorem}
in many eastern European countries.
\end{document}