Skip to content

Commit 99990b5

Browse files
committed
add section page to beamer template
1 parent b715891 commit 99990b5

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

beamer/beamerinnerthemepop.sty

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010

1111
\mode<presentation>
1212

13-
\setbeamertemplate{background}{%
14-
\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}
23-
\fi
24-
}
13+
%\setbeamertemplate{background}{%
14+
% \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 (barleft) at ($(current page.north west) - (-0.3, 1.25)$);
20+
% \coordinate (barright) at ($(current page.north east) - (0.3, 1.35)$);
21+
% \shade[left color=popblue, right color=popgreen] (barleft) rectangle (barright);
22+
% \end{tikzpicture}
23+
% \fi
24+
%}
2525

2626
\defbeamertemplate*{title page}{pop}
2727
{%

beamer/beamerouterthemepop.sty

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@
2828
{%
2929
\ifnum\thepage>1\relax%
3030
\begin{tikzpicture}[remember picture, overlay]
31-
\coordinate (leftpos) at ($(current page.south west) + (0.05, 0.02)$);
31+
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
32+
\coordinate[anchor=north east] (logopos) at ($(current page.north east) - (0.2, 0.10)$);
33+
\node[anchor=north east] (poplogo) at (logopos) {\includegraphics[height=0.8cm]{\poplogo}};
34+
\coordinate (barleft) at ($(current page.north west) - (-0.0, 1.25)$);
35+
\coordinate (barright) at ($(current page.north east) - (0.0, 1.35)$);
36+
\shade[left color=popblue, right color=popgreen] (barleft) rectangle (barright); \coordinate (leftpos) at ($(current page.south west) + (0.05, 0.02)$);
3237
\coordinate (rightpos) at ($(current page.south east) + (-0.05, 0.02)$);
3338
\coordinate (centerpos) at ($(current page.south) + (0.0, 0.02)$);
3439
\node[anchor=south west, text=popgreydark] (author) at (leftpos) {\insertshortauthor~\insertshortinstitute};

0 commit comments

Comments
 (0)