latex-setup

My personal LaTeX setup 🦁️⚙️

preamble-beamer.tex (1803B)

 1 %                                 _     _            _                          
 2 %  _ __  _ __ ___  __ _ _ __ ___ | |__ | | ___      | |__   ___  __ _ _ __ ___  
 3 % | '_ \| '__/ _ \/ _` | '_ ` _ \| '_ \| |/ _ \_____| '_ \ / _ \/ _` | '_ ` _ \ 
 4 % | |_) | | |  __/ (_| | | | | | | |_) | |  __/_____| |_) |  __/ (_| | | | | | |
 5 % | .__/|_|  \___|\__,_|_| |_| |_|_.__/|_|\___|     |_.__/ \___|\__,_|_| |_| |_|
 6 % |_|                                                                           
 7 %            _            
 8 %   ___ _ __| |_ _____  __
 9 %  / _ \ '__| __/ _ \ \/ /
10 % |  __/ | _| ||  __/>  < 
11 %  \___|_|(_)\__\___/_/\_\
12 %                         
13 % Pablo (C) 2022
14 
15 \ifdefined\hidepauses
16   \documentclass[handout, notheorems, 9pt]{beamer}
17 \else
18   \documentclass[notheorems, 9pt]{beamer}
19 \fi
20 \input{preamble-common}
21 
22 % Blockquotes
23 \let\blockquote\relax
24 \NewDocumentEnvironment{blockquote}{m O{Citação}}
25   {\begin{block}{#2}}
26   {\newline {\normalfont \rightline{--- #1}}\end{block}}
27 
28 % Useful theorem definitions
29 \newtheorem*{theorem}{Teorema}
30 \newtheorem*{lemma}{Lema}
31 \newtheorem*{corollary}{Corolário}
32 \newtheorem*{proposition}{Proposição}
33 \theoremstyle{definition}
34 \newtheorem*{definition}{Definição}
35 \newtheorem*{example}{Exemplo}
36 \theoremstyle{remark}
37 \let\note\relax
38 \newtheorem*{fact}{Fato}
39 \newtheorem*{note}{Nota}
40 
41 % Beamer settings
42 \usetheme{Rochester}
43 \usecolortheme{metropolis}
44 \usefonttheme{metropolis}
45 \setbeamertemplate{itemize items}{\textbullet}
46 
47 % Configure how items look
48 \setenumerate[0]{label={\normalfont(\roman*)}}
49 \setitemize{label=\usebeamerfont*{itemize item}%
50   \usebeamercolor[fg]{itemize item}
51   \usebeamertemplate{itemize item}}
52    
53 % Configure the spacing of columns in tables
54 \setlength{\tabcolsep}{5pt}
55 
56 % Include references that aren't cited anywhere
57 \nocite{*}
58