latex-setup
My personal LaTeX setup 🦁️⚙️
preamble-pt.tex (1497B)
1 % _ _ _ 2 % _ __ _ __ ___ __ _ _ __ ___ | |__ | | ___ | |_ _____ __ 3 % | '_ \| '__/ _ \/ _` | '_ ` _ \| '_ \| |/ _ \| __/ _ \ \/ / 4 % | |_) | | | __/ (_| | | | | | | |_) | | __/| || __/> < 5 % | .__/|_| \___|\__,_|_| |_| |_|_.__/|_|\___(_)__\___/_/\_\ 6 % |_| 7 % 8 % Pablo (C) 2022 9 10 \documentclass[a4paper]{article} 11 \usepackage[total={6in, 9in}]{geometry} 12 \usepackage[exerciselabel=Exercício]{xexercise} 13 \usepackage[brazil]{babel} 14 \input{preamble-common} 15 16 % Configure how link look 17 \hypersetup{ 18 colorlinks, 19 citecolor=black, 20 filecolor=black, 21 linkcolor=black 22 } 23 24 % Configure the enumerate environment to use bold roman numerals 25 \setenumerate[0]{label={\normalfont\bfseries(\roman*)}} 26 27 % Useful theorem definitions 28 \newtheorem{theorem}{Teorema}[section] 29 \newtheorem*{theorem*}{Teorema} 30 \newtheorem{lemma}{Lema}[section] 31 \newtheorem*{lemma*}{Lema} 32 \newtheorem{corollary}{Corolário}[section] 33 \newtheorem*{corollary*}{Corolário} 34 \newtheorem{proposition}{Proposição}[section] 35 \newtheorem*{proposition*}{Proposição} 36 \theoremstyle{remark} 37 \newtheorem*{note}{Nota} 38 \theoremstyle{definition} 39 \newtheorem{definition}{Definição}[section] 40 \newtheorem*{definition*}{Definição} 41 \newtheorem{example}{Exemplo}[section] 42 \newtheorem*{example*}{Exemplo} 43 44 % Translate \gcd and \lcm to portuguese 45 \let\gcd\relax 46 \DeclareMathOperator{\gcd}{mdc} 47 \let\lcm\relax 48 \DeclareMathOperator{\lcm}{mmc} 49