-
Notifications
You must be signed in to change notification settings - Fork 1
/
beamerouterthemebeunitn.sty
46 lines (39 loc) · 1.35 KB
/
beamerouterthemebeunitn.sty
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
\mode<presentation>
% ---- [CODICE VECCHIO] -------------------------
% tenuto a scopo di backup
% todo: cancellare se non più necessario
% Frame title
%\defbeamertemplate*{frametitle}{texsx}[1][]
%{
%\vskip1cm%
% \begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
% \begin{tikzpicture}
% \useasboundingbox[](0,0) rectangle(\the\paperwidth,1.2);
% \ifx\insertframesubtitle\@empty%
% {\node[anchor=west, dark-color,font=\textbf\large] at (0.2,0.61){\insertframetitle};}
% \else%
% {\node[anchor= west, black,font=\large] at (1.2,0.81){\insertframetitle};%
% \node[anchor= west, black,font=\small] at (1.2,0.41){\insertframesubtitle};}%
% \fi
% \end{tikzpicture}
% \end{beamercolorbox}
%}
%\useoutertheme[ right/left , height=2]{sidebar}
%todo: sistemare
% ---- [TITOLO FRAME] -------------------------
% todo: \ifx\insertframesubtitle\@empty ..., \else ... ?
\setbeamertemplate{frametitle}{
\nointerlineskip
\begin{beamercolorbox}
[sep=0.3cm,ht=1.8em,wd=\paperwidth]{frametitle}
\vbox{}\vskip-2ex%
\strut\insertframetitle\strut
\vskip-0.8ex%
\end{beamercolorbox}
% CORREZIONE ALTEZZA TESTO (via sporco trucco):
\vspace*{.9cm}
}
% minimal working example per il titolo:
%\setbeamertemplate{frametitle}{
%\vspace*{4mm}\hspace*{0mm}\insertframetitle \vspace*{1cm}}
\mode<all>