summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/beamer-contrib/themes/beamerthemelalic/beamerthemelalic.sty
blob: 0970eb6b051ee7ff1b5b8a5c4a5a39beee4b468f (plain)
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
%
% Tema para beamer: LALIC
%
% Por Jander Moreira, 2018-2021
%
% Versão 1.0

\mode<presentation>

%%%%%%%%%%%%%%%%%%%%%%%%%%
% Configurações
%%%%%%%%%%%%%%%%%%%%%%%%%%
\usecolortheme{lalic}
\usefonttheme{lalic}
\useinnertheme{lalic}
\useoutertheme{lalic}

%%%%%%%%%%%%%%%%%%%%%%%%%%
% Aspectos visuais
%%%%%%%%%%%%%%%%%%%%%%%%%%

\setbeamertemplate{navigation symbols}{} % sem navegação
\makeatletter
\protect\beamer@compresstrue
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%
% Aspectos configuráveis
%%%%%%%%%%%%%%%%%%%%%%%%%%

% Comando para e-mail
\def\lalicemail{use \textbackslash email\{\} para definir e-mail} % email
\newcommand{\email}[1]{\def\lalicemail{#1}}

% Comando para data da apresentação
\newcommand{\dataapresentacao}[3]{
	\day=#1\relax%
	\month=#2\relax%
	\year=#3\relax%	
}

% Geração tabela de conteúdo
\RequirePackage{calculator}
\newcommand{\agendaautomatica}[1][]{
	\AtBeginSection[]{
		\def\temp{#1}
		\ifx\temp\empty{%
				\begin{frame}
					\tableofcontents[currentsection, hideallsubsections]
				\end{frame}
		}
		\else{
			\ADD{#1}{1}{\segundacoluna}
				\begin{frame}
					\begin{columns}[t]
						\begin{column}{0.5\linewidth}
							\tableofcontents[currentsection, hideallsubsections,
								sections={1-#1}]
						\end{column}
						\begin{column}{0.5\linewidth}
							\tableofcontents[currentsection, hideallsubsections,
								sections={\segundacoluna-}]
						\end{column}
					\end{columns}
				\end{frame}
		}
		\fi
	}
}
%\mode<all>