summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/beamer-contrib/themes/beamerthemelalic/beamerinnerthemelalic.sty
blob: e0562cc0c8de39cd83af73f761872a29cd189308 (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
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
%
% Tema para beamer: LALIC
%
% Por Jander Moreira, 2018-2021
%
%
% Inner theme (definição do espaço de conteúdo)

\mode<presentation>

\RequirePackage{tikz}
\usetikzlibrary{positioning, calc, shapes.misc}

\setbeamercolor{title box}{fg = black}

\setbeamertemplate{background}{
	\begin{tikzpicture}[
			moldura/.style = {
				draw = lalicline,
				very thick,
				rounded corners,
			},
		]
		\useasboundingbox[fill = lalicbackground] (0, 0) rectangle(\the\paperwidth, \the\paperheight);
		\coordinate (superior esquerdo) at (0, \the\paperheight);
		\coordinate (superior direito) at (\the\paperwidth, \the\paperheight);
		\coordinate (inferior esquerdo) at (0, 0);
		\coordinate (inferior direito) at (\the\paperwidth, 0);
		
		% Moldura
		\draw [moldura]
			($(inferior esquerdo) + (0.2cm, 0.2cm)$)
			rectangle
			($(superior direito) - (0.2cm, 0.2cm)$);
	\end{tikzpicture}
}

\defbeamertemplate*{title page}{lalic}[1][]{
 	\vskip0.8cm%
	\begin{beamercolorbox}[wd=\paperwidth, ht = 1.5cm]{frametitle}
		\begin{tikzpicture}[
				faixa do titulo/.style = {
					fill = lalictitlebackground,
					rounded rectangle,
					rounded rectangle west arc = 20, 
					rounded rectangle west arc = none, 
					minimum height = 1.8cm,
					minimum width = 0.95\paperwidth,
					align = left,
				},
				fonte titulo/.style = {
					text = lalicfonttitle,
					anchor = west, 
					inner sep = 3pt,
					%font = \Large\bfseries,
				},
				fonte subtitulo/.style = {
					text = lalicfonttitle,
					anchor = west, 
					text depth = 0.25ex,
					inner sep = 3pt,
					font = \small,
				},
			]
				\node (barra) [faixa do titulo, align = left] at (0, 0) {};
				\node[fonte titulo] at ($(barra.north west) + (0.2cm, -0.55cm)$)%
					{\Huge\bfseries LALIC};
				\draw[line width = 2.2pt, draw = lalicbackground,	
					line cap = round]%
					($(barra.west) - (0, 0.26cm)$) --
						++(\textwidth, 0);
				\node[fonte subtitulo] at ($(barra.south west) + (0.3cm, 0.3cm)$)%
					{Laboratório de Linguística e Inteligência Computacional};
		\end{tikzpicture}
	\end{beamercolorbox}
	
	\begin{beamercolorbox}[ht = 2.5cm, center]{title box}
		\LARGE\inserttitle
	\end{beamercolorbox}				
		
	\vspace{0.5cm}
	\begin{beamercolorbox}[ht = 2.5cm, center]{title box}
		{\Large\insertauthor}\\
		\small\texttt{\lalicemail}
		
		\vspace{0.3cm}
		\textit{\insertdate}
	\end{beamercolorbox}				

%	\includegraphics[height=1.8cm]{logo_ufscar}%
%	\hfill%
%	\includegraphics[height=1.2cm]{logo_nilc}%
}


\mode<all>