%                                 _     _       _            
%  _ __  _ __ ___  __ _ _ __ ___ | |__ | | ___ | |_ _____  __
% | '_ \| '__/ _ \/ _` | '_ ` _ \| '_ \| |/ _ \| __/ _ \ \/ /
% | |_) | | |  __/ (_| | | | | | | |_) | |  __/| ||  __/>  < 
% | .__/|_|  \___|\__,_|_| |_| |_|_.__/|_|\___(_)__\___/_/\_\
% |_|                                                        
% 
% Pablo (C) 2022

\documentclass[a4paper]{article}
\usepackage[total={6in, 9in}]{geometry}
\usepackage[exerciselabel=Exercício]{xexercise}
\usepackage[brazil]{babel}
\input{preamble-common}

% Configure how link look
\hypersetup{
  colorlinks,
  citecolor=black,
  filecolor=black,
  linkcolor=black
}

% Configure the enumerate environment to use bold roman numerals
\setenumerate[0]{label={\normalfont\bfseries(\roman*)}}

% Useful theorem definitions
\newtheorem{theorem}{Teorema}[section]
\newtheorem*{theorem*}{Teorema}
\newtheorem{lemma}{Lema}[section]
\newtheorem*{lemma*}{Lema}
\newtheorem{corollary}{Corolário}[section]
\newtheorem*{corollary*}{Corolário}
\newtheorem{proposition}{Proposição}[section]
\newtheorem*{proposition*}{Proposição}
\theoremstyle{remark}
\newtheorem*{note}{Nota}
\theoremstyle{definition}
\newtheorem{definition}{Definição}[section]
\newtheorem*{definition*}{Definição}
\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}

