latex-setup

My personal LaTeX setup 🦁️⚙️

NameSizeMode
..
preamble-beamer.tex 1803B -rw-r--r--
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
%                                 _     _            _                          
%  _ __  _ __ ___  __ _ _ __ ___ | |__ | | ___      | |__   ___  __ _ _ __ ___  
% | '_ \| '__/ _ \/ _` | '_ ` _ \| '_ \| |/ _ \_____| '_ \ / _ \/ _` | '_ ` _ \ 
% | |_) | | |  __/ (_| | | | | | | |_) | |  __/_____| |_) |  __/ (_| | | | | | |
% | .__/|_|  \___|\__,_|_| |_| |_|_.__/|_|\___|     |_.__/ \___|\__,_|_| |_| |_|
% |_|                                                                           
%            _            
%   ___ _ __| |_ _____  __
%  / _ \ '__| __/ _ \ \/ /
% |  __/ | _| ||  __/>  < 
%  \___|_|(_)\__\___/_/\_\
%                         
% Pablo (C) 2022

\ifdefined\hidepauses
  \documentclass[handout, notheorems, 9pt]{beamer}
\else
  \documentclass[notheorems, 9pt]{beamer}
\fi
\input{preamble-common}

% Blockquotes
\let\blockquote\relax
\NewDocumentEnvironment{blockquote}{m O{Citação}}
  {\begin{block}{#2}}
  {\newline {\normalfont \rightline{--- #1}}\end{block}}

% Useful theorem definitions
\newtheorem*{theorem}{Teorema}
\newtheorem*{lemma}{Lema}
\newtheorem*{corollary}{Corolário}
\newtheorem*{proposition}{Proposição}
\theoremstyle{definition}
\newtheorem*{definition}{Definição}
\newtheorem*{example}{Exemplo}
\theoremstyle{remark}
\let\note\relax
\newtheorem*{fact}{Fato}
\newtheorem*{note}{Nota}

% Beamer settings
\usetheme{Rochester}
\usecolortheme{metropolis}
\usefonttheme{metropolis}
\setbeamertemplate{itemize items}{\textbullet}

% Configure how items look
\setenumerate[0]{label={\normalfont(\roman*)}}
\setitemize{label=\usebeamerfont*{itemize item}%
  \usebeamercolor[fg]{itemize item}
  \usebeamertemplate{itemize item}}
   
% Configure the spacing of columns in tables
\setlength{\tabcolsep}{5pt}

% Include references that aren't cited anywhere
\nocite{*}