latex-setup
My personal LaTeX setup 🦁️⚙️
preamble.tex (1381B)
1 % _ _ _ 2 % _ __ _ __ ___ __ _ _ __ ___ | |__ | | ___ | |_ _____ __ 3 % | '_ \| '__/ _ \/ _` | '_ ` _ \| '_ \| |/ _ \| __/ _ \ \/ / 4 % | |_) | | | __/ (_| | | | | | | |_) | | __/| || __/> < 5 % | .__/|_| \___|\__,_|_| |_| |_|_.__/|_|\___(_)__\___/_/\_\ 6 % |_| 7 % 8 % Pablo (C) 2022 9 10 \documentclass[a4paper]{article} 11 \usepackage[total={6in, 9in}]{geometry} 12 \usepackage{xexercise} 13 \input{preamble-common} 14 15 % configure how link look 16 \hypersetup{ 17 colorlinks, 18 citecolor=black, 19 filecolor=black, 20 linkcolor=black 21 } 22 23 % Configure the enumerate environment to use bold roman numerals 24 \setenumerate[0]{label={\normalfont\bfseries(\roman*)}} 25 26 % Useful theorem definitions 27 \newtheorem{theorem}{Theorem}[section] 28 \newtheorem*{theorem*}{Theorem} 29 \newtheorem{lemma}{Lemma}[section] 30 \newtheorem*{lemma*}{Lemma} 31 \newtheorem{propostion}{Proposition} 32 \newtheorem*{propostion*}{Proposition} 33 \newtheorem{corollary}{Corollary}[section] 34 \newtheorem*{corollary*}{Corollary} 35 \newtheorem{proposition}{Proposition}[section] 36 \newtheorem*{proposition*}{Proposition} 37 \theoremstyle{remark} 38 \newtheorem*{note}{Note} 39 \theoremstyle{definition} 40 \newtheorem{definition}{Definition}[section] 41 \newtheorem*{definition*}{Definition} 42 \newtheorem{example}{Example}[section] 43 \newtheorem*{example*}{Example} 44