Skip to content

Commit 937255e

Browse files
committed
small beamer theme update
1 parent eb68bfb commit 937255e

File tree

1 file changed

+37
-25
lines changed

1 file changed

+37
-25
lines changed

beamer/beamerinnerthemepop.sty

Lines changed: 37 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212

1313
\setbeamertemplate{background}{%
1414
\ifnum\thepage>1\relax% No teeny headerline on title page
15-
\begin{tikzpicture}
16-
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
17-
\coordinate[anchor=north east] (logopos) at ($(current page.north east) - (0.2, 0.10)$);
18-
\node[anchor=north east] (poplogo) at (logopos) {\includegraphics[height=0.8cm]{\poplogo}};
19-
\coordinate (leftpos) at ($(current page.north west) - (-0.3, 1.25)$);
20-
\coordinate (rightpos) at ($(current page.north east) - (0.3, 1.35)$);
21-
\shade[left color=popblue, right color=popgreen] (leftpos) rectangle (rightpos);
22-
\end{tikzpicture}
15+
\begin{tikzpicture}
16+
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
17+
\coordinate[anchor=north east] (logopos) at ($(current page.north east) - (0.2, 0.10)$);
18+
\node[anchor=north east] (poplogo) at (logopos) {\includegraphics[height=0.8cm]{\poplogo}};
19+
\coordinate (leftpos) at ($(current page.north west) - (-0.3, 1.25)$);
20+
\coordinate (rightpos) at ($(current page.north east) - (0.3, 1.35)$);
21+
\shade[left color=popblue, right color=popgreen] (leftpos) rectangle (rightpos);
22+
\end{tikzpicture}
2323
\fi
2424
}
2525

@@ -39,29 +39,41 @@
3939
\includegraphics[width=0.6\textwidth]{pop_logo}
4040
\vskip1em%
4141
\begingroup
42-
\begin{beamercolorbox}[wd=\paperwidth, ht=4.0em, dp=0.5em, center]{title}
43-
\vfill%
44-
\usebeamerfont{title}\inserttitle
45-
\vskip0.2em%
46-
\usebeamerfont{author}\insertauthor~---~\insertinstitute%
47-
\vfill%
48-
\end{beamercolorbox}
42+
\begin{beamercolorbox}[wd=\paperwidth, ht=4.0em, dp=0.5em, center]{title}
43+
\vfill%
44+
\usebeamerfont{title}\inserttitle
45+
\vskip0.2em%
46+
\usebeamerfont{author}\insertauthor~---~\insertinstitute%
47+
\vfill%
48+
\end{beamercolorbox}
4949
\endgroup%
5050
\vskip2cm
5151
\centering
52-
\usebeamerfont{title note}
53-
\usebeamercolor[fg]{title note}
54-
\begin{tikzpicture}[remember picture, overlay]
55-
\coordinate (logopos) at ($(current page.south) + (0.0, 0.0)$);
56-
\coordinate (lstrappos) at ($(current page.south west) + (0.1, 0.1)$);
57-
\coordinate (rstrappos) at ($(current page.south east) + (-0.1, 0.1)$);
58-
\node[anchor=south] (eulogo) at (logopos) {\includegraphics[height=1.8cm]{\eulogo}};
59-
\node[anchor=south west] (coe) at (lstrappos) {EU H2020 Centre of Excellence};
60-
\node[anchor=south east] (grantagreement) at (rstrappos) {Grant Agreement No 824080};
61-
\end{tikzpicture}
52+
\usebeamerfont{title note}
53+
\usebeamercolor[fg]{title note}
54+
\begin{tikzpicture}[remember picture, overlay]
55+
\coordinate (logopos) at ($(current page.south) + (0.0, 0.0)$);
56+
\coordinate (lstrappos) at ($(current page.south west) + (0.1, 0.1)$);
57+
\coordinate (rstrappos) at ($(current page.south east) + (-0.1, 0.1)$);
58+
\node[anchor=south] (eulogo) at (logopos) {\includegraphics[height=1.8cm]{\eulogo}};
59+
\node[anchor=south west] (coe) at (lstrappos) {EU H2020 Centre of Excellence};
60+
\node[anchor=south east] (grantagreement) at (rstrappos) {Grant Agreement No 824080};
61+
\end{tikzpicture}
6262
}
6363

64+
\defbeamertemplate*{itemize/enumerate body begin}{pop}
65+
{
66+
\let\this@beamer@cramped\beamer@cramped
67+
\renewcommand{\beamer@cramped}{
68+
\this@beamer@cramped
69+
\addtolength{\itemsep}{.5\baselineskip}
70+
}
71+
}
6472

73+
\defbeamertemplate*{itemize/enumerate body end}{pop}
74+
{
75+
\let\beamer@cramped\this@beamer@cramped
76+
}
6577

6678
\mode
6779
<all>

0 commit comments

Comments
 (0)