-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmetadata.yml
113 lines (104 loc) · 3.11 KB
/
metadata.yml
1
2
3
4
5
6
7
8
9
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
author: |
Programação Funcional
\newline
Marco A L Barbosa
\newline
\href{https://malbarbo.pro.br}{\color{black}{malbarbo.pro.br}}
institute: |
\href{http://din.uem.br}{\color{black}{Departamento de Informática}}
\newline
\href{http://www.uem.br}{\color{black}{Universidade Estadual de Maringá}}
lang: pt-BR
toc-title: Conteúdo
theme: metropolis
themeoptions: numbering=fraction,sectionpage=simple,block=fill
colorlinks: true
linkcolor: Black
urlcolor: Magenta
aspectratio: 169
header-includes:
- |
```{=latex}
% Usa as fontes disponíveis no tectonic
\setsansfont[
Extension = .otf,
UprightFont = *-Light,
ItalicFont = *-LightItalic,
BoldFont = *-Regular,
BoldItalicFont = *-MediumItalic
]{FiraSans}
\setmonofont[
Extension = .otf,
UprightFont = *-Regular,
BoldFont = *-Medium
]{FiraMono}
% Evita warnings no slide de título (devido a informação da licensa)
\def\titlepage{%
\usebeamertemplate{title page}%
\vspace{-1cm}
}
% Evita problemas com o polyglossia
% https://github.com/reutenauer/polyglossia/issues/400
\makeatletter
\def\bbl@cs#1{\csname bbl@#1\endcsname}
\makeatother
% Diminui a barra de título
\makeatletter
\setlength{\metropolis@frametitle@padding}{1.2ex}
\makeatother
% Diminui o rodapé
\setbeamertemplate{footline}{%
\begin{beamercolorbox}[wd=\textwidth, ht=1mm, sep=0mm]{footline}
\usebeamerfont{page number in head/foot}%
\usebeamertemplate*{frame footer}
\hfill%
\usebeamertemplate*{frame numbering}
\end{beamercolorbox}%
}
% Ajusta o espaço do título do bloco para o corpo do bloco
% https://github.com/matze/mtheme/issues/307
\let\oldblock\block
\let\endoldblock\endblock
\renewenvironment{block}[1]
{\begin{oldblock}{#1}\smallskip}
{\end{oldblock}}
% Ajusta a largura das colunas para a largura do texto apenas
\let\origcolumns\columns
\let\endorigcolumns\endcolumns
\renewenvironment{columns}[1][]{\origcolumns[onlytextwidth,#1]}{\endorigcolumns}
% https://github.com/jgm/pandoc/issues/3007
\makeatletter
\beamer@ignorenonframefalse
\makeatother
% Pacotes
\usepackage{caption}
\captionsetup[figure]{labelformat=empty}
\usepackage{ccicons}
\usepackage{newunicodechar}
\newunicodechar{λ}{\ensuremath{\lambda}}
\usetikzlibrary{positioning}
% centraliza as imagens
\makeatletter
\AtBeginDocument{
\letcs\oig{@orig\string\includegraphics}
\renewcommand<>\includegraphics[2][]{
\only#3{
{\centering\oig[{#1}]{#2}\par}
}
}
}
\makeatother
```
license:
- |
```{=latex}
\begin{tikzpicture}[overlay, remember picture]
\linespread{0.75}
\node[above =0.1cm of current page.south, align=center] {
\href{http://creativecommons.org/licenses/by-sa/4.0/}{\color{black}{\ccbysa}}\\
\vspace{-0.1cm}
\tiny Este trabalho está licenciado com uma Licença Creative Commons - Atribuição-CompartilhaIgual 4.0 Internacional.\\
\tiny \href{http://github.com/malbarbo/na-progfun}{\color{black}{http://github.com/malbarbo/na-progfun}}
};
\end{tikzpicture}
```