- Commit
- fbe55877f87953676efb3bfdc7aa6a60d29b7eb0
- Parent
- 84eac4205bf2a102077a2f1cd120b5dfb309c114
- Author
- Pablo <pablo-escobar@riseup.net>
- Date
Minor updates to the regular preambles
My personal LaTeX setup 🦁️⚙️
Minor updates to the regular preambles
2 files changed, 27 insertions, 17 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | preamble-pt.tex | 26 | 17 | 9 |
Modified | preamble.tex | 18 | 10 | 8 |
diff --git a/preamble-pt.tex b/preamble-pt.tex @@ -13,29 +13,37 @@ \usepackage[brazil]{babel} \input{preamble-common} -% configure how link look +% Configure how link look \hypersetup{ - colorlinks=true, - citecolor=black, + colorlinks, + citecolor=black, + filecolor=black, + linkcolor=black } % Configure the enumerate environment to use bold roman numerals \setenumerate[0]{label={\bfseries(\roman*)}} % Useful theorem definitions -\newtheorem{theorem}{Teorema}[subsection] +\newtheorem{theorem}{Teorema}[section] \newtheorem*{theorem*}{Teorema} -\newtheorem{lemma}{Lema}[subsection] +\newtheorem{lemma}{Lema}[section] \newtheorem*{lemma*}{Lema} -\newtheorem{corollary}{Corolário}[subsection] +\newtheorem{corollary}{Corolário}[section] \newtheorem*{corollary*}{Corolário} -\newtheorem{proposition}{Proposição}[subsection] +\newtheorem{proposition}{Proposição}[section] \newtheorem*{proposition*}{Proposição} \theoremstyle{remark} \newtheorem*{note}{Nota} \theoremstyle{definition} -\newtheorem{definition}{Definição}[subsection] +\newtheorem{definition}{Definição}[section] \newtheorem*{definition*}{Definição} -\newtheorem{example}{Exemplo}[subsection] +\newtheorem{example}{Exemplo}[section] \newtheorem*{example*}{Exemplo} +% Translate \gcd and \lcm to portuguese +\let\gcd\relax +\DeclareMathOperator{\gcd}{mdc} +\let\lcm\relax +\DeclareMathOperator{\lcm}{mmc} +
diff --git a/preamble.tex b/preamble.tex @@ -14,27 +14,29 @@ % configure how link look \hypersetup{ - colorlinks=true, - citecolor=black, + colorlinks, + citecolor=black, + filecolor=black, + linkcolor=black } % Configure the enumerate environment to use bold roman numerals \setenumerate[0]{label={\bfseries(\roman*)}} % Useful theorem definitions -\newtheorem{theorem}{Theorem}[subsection] +\newtheorem{theorem}{Theorem}[section] \newtheorem*{theorem*}{Theorem} -\newtheorem{lemma}{Lemma}[subsection] +\newtheorem{lemma}{Lemma}[section] \newtheorem*{lemma*}{Lemma} -\newtheorem{corollary}{Corollary}[subsection] +\newtheorem{corollary}{Corollary}[section] \newtheorem*{corollary*}{Corollary} -\newtheorem{proposition}{Proposition}[subsection] +\newtheorem{proposition}{Proposition}[section] \newtheorem*{proposition*}{Proposition} \theoremstyle{remark} \newtheorem*{note}{Note} \theoremstyle{definition} -\newtheorem{definition}{Definition}[subsection] +\newtheorem{definition}{Definition}[section] \newtheorem*{definition*}{Definition} -\newtheorem{example}{Example}[subsection] +\newtheorem{example}{Example}[section] \newtheorem*{example*}{Example}