Permalink
Browse files

Changed the special pages (part, title, etc).

Re-wrote the special part, title, abstract pages so that they better match the
existing University print work.
  • Loading branch information...
1 parent 2f6ed2e commit 48219c183a50b0f516c0554b066b610a7758e4a5 @rjw57 committed Oct 22, 2009
View
32 beamercolorthemecambridge.sty
@@ -32,22 +32,30 @@
\mode<presentation>
-\setbeamercolor*{normal text}{fg=CambridgeDark,bg=CambridgeLight!10!white}
+\setbeamercolor*{normal text}{fg=CambridgeDark,bg=CambridgeLight!20!white}
\setbeamercolor*{structure}{fg=CambridgeDark}
-\setbeamercolor*{title}{fg=white,bg=CambridgeCore}
-\setbeamercolor*{author}{parent=title}
-\setbeamercolor*{institute}{parent=title,bg=CambridgeDark}
-\setbeamercolor*{date}{fg=black,bg=CambridgeLight}
+\setbeamercolor*{palette primary}{fg=white,bg=CambridgeLight}
+\setbeamercolor*{palette secondry}{fg=white,bg=CambridgeDark}
+\setbeamercolor*{palette tertiary}{fg=white,bg=CambridgeLight!40!black}
+\setbeamercolor*{palette quaternary}{fg=white,bg=CambridgeLight!40!white}
-\setbeamercolor*{part name}{fg=white}
-\setbeamercolor*{part title}{fg=white}
+\setbeamercolor*{title}{fg=white,bg=CambridgeLight!50!CambridgeCore}
+\setbeamercolor*{author}{fg=white,bg=CambridgeLight!40!black}
+\setbeamercolor*{institute}{parent=author}
+\setbeamercolor*{date}{fg=white,bg=CambridgeLight}
+\setbeamercolor*{abstract}{parent=author}
-\setbeamercolor*{palette primary}{fg=white,bg=CambridgeCore}
-\setbeamercolor*{palette secondry}{fg=white,bg=CambridgeDark}
-\setbeamercolor*{palette tertiary}{fg=black,bg=CambridgeLight}
-\setbeamercolor*{palette quaternary}{fg=white,bg=black}
+\setbeamercolor*{lower separation line head}{fg=white,bg=CambridgeLight!80!black}
+
+\setbeamercolor*{special page canvas}{bg=CambridgeLight}
+\setbeamercolor*{special page separator upper}{bg=CambridgeLight!40!white}
+\setbeamercolor*{special page separator lower}{bg=CambridgeLight!40!black}
+\setbeamercolor*{special page title}{fg=white,bg=CambridgeLight!80!white}
+
+\setbeamercolor*{block body}{bg=CambridgeCore!20!normal text.bg,fg=CambridgeDark}
+\setbeamercolor*{block title}{bg=CambridgeDark,fg=white}
-\setbeamercolor*{lower separation line head}{fg=white,bg=CambridgeLight}
+\setbeamercolor*{alerted text}{fg=CambridgeCore}
\mode<all>
View
364 beamerinnerthemecambridge.sty
@@ -9,57 +9,349 @@
% The University logo
\pgfdeclareimage[height=2\cam@inner@pitch]{beamertitlelogocambridge}{uc-cmyk}
-\setbeamerfont{date}{size=\footnotesize}
-
\mode<presentation>
+\setbeamercolor{special page canvas}{parent=title}
+\setbeamercolor{special page title}{use={special page canvas,palette secondry},parent=special page canvas,bg=special page canvas.bg!80!palette secondry.bg}
+\setbeamercolor{special page separator upper}{use=special page canvas,parent=special page canvas,bg=special page canvas.bg!33!white}
+\setbeamercolor{special page separator lower}{use=special page canvas,parent=special page canvas,bg=special page canvas.bg!33!black}
+
+\setbeamercolor{special page frame number}{parent=part title,fg=white!75}
+\setbeamerfont{special page frame number}{size=\tiny}
+
+\setbeamerfont{date}{size=\tiny,series=\bfseries}
+\setbeamerfont{part title}{size=\LARGE}
+\setbeamerfont{part name}{size=\LARGE}
+\setbeamerfont{abstract title}{size=\LARGE}
+
+\setbeamercolor{title page canvas}{parent=normal text}
+\setbeamercolor{title page author}{parent=author}
+\setbeamercolor{title page date}{parent=date}
+
+\setbeamercolor{part page canvas}{parent=special page canvas}
+\setbeamercolor{part page title}{parent=special page title}
+\setbeamercolor{part page separator upper}{parent=special page separator upper}
+\setbeamercolor{part page separator lower}{parent=special page separator lower}
+\setbeamercolor{part page frame number}{parent=special page frame number}
+\setbeamerfont{part page frame number}{parent=special page frame number}
+
+\setbeamercolor{abstract page canvas}{parent=special page canvas}
+\setbeamercolor{abstract page title}{parent=special page title}
+\setbeamercolor{abstract page separator upper}{parent=special page separator upper}
+\setbeamercolor{abstract page separator lower}{parent=special page separator lower}
+\setbeamercolor{abstract page frame number}{parent=special page frame number}
+\setbeamerfont{abstract page frame number}{parent=special page frame number}
+
+\newlength{\oversized@paperwidth}
+\newlength{\oversized@paperheight}
+
% Title page
+\newcommand{\start@fullpage}[1]{
+ \setlength{\oversized@paperwidth}{\paperwidth}\addtolength{\oversized@paperwidth}{0.25em}
+ \setlength{\oversized@paperheight}{\paperheight}\addtolength{\oversized@paperheight}{0.25em}
+ %
+ % HACK: Beamer always inserts a 0.125em space after the frame title, even if it is
+ % empty. We hack around this by skipping upwards and using a slightly oversized
+ % box to draw the background.
+ \vskip-0.125em%
+ %
+ \color@bar[ht=\oversized@paperheight]{#1}
+ \vskip-\oversized@paperheight
+}
+
+\newcommand{\color@bar}[2][]{
+ \begin{beamercolorbox}[wd=\oversized@paperwidth,ht=\oversized@paperheight,#1]{#2}
+ \null
+ \end{beamercolorbox}\nointerlineskip
+}
+
\defbeamertemplate*{title page}{cambridge theme}[1][]
{%
- \vbox{
- \begin{beamercolorbox}[wd=\paperwidth,sep=\cam@inner@pitch,leftskip=\cam@inner@pitch,#1]{titlegraphic}
- {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
- \end{beamercolorbox}%
- \vskip\cam@inner@pitch%
- \begin{beamercolorbox}[wd=\paperwidth,sep=\cam@inner@pitch,leftskip=\cam@inner@pitch,#1]{title}
- \usebeamerfont{title}\inserttitle\par%
- \ifx\insertsubtitle\@empty%
- \else%
- \vskip\cam@inner@pitch%
- {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
- \fi%
- \end{beamercolorbox}\nointerlineskip%
- }
- \vskip\cam@inner@pitch
- \vfill
- \vbox{
- \begin{beamercolorbox}[wd=\paperwidth,sep=0.5\cam@inner@pitch,leftskip=1.5\cam@inner@pitch,#1]{author}
- \usebeamerfont{author}\insertauthor
- \end{beamercolorbox}\nointerlineskip%
- \begin{beamercolorbox}[wd=\paperwidth,sep=0.5\cam@inner@pitch,leftskip=1.5\cam@inner@pitch,#1]{institute}
- \usebeamerfont{institute}\insertinstitute
- \end{beamercolorbox}\nointerlineskip%
- \begin{beamercolorbox}[wd=\paperwidth,sep=0.5\cam@inner@pitch,leftskip=1.5\cam@inner@pitch,#1]{date}
- \usebeamerfont{date}\insertdate
- \end{beamercolorbox}
- }\nointerlineskip
+ \start@fullpage{title page canvas}
+ %
+ % Insert titlegraphic
+ \vskip2\cam@inner@pitch
+ {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
+ \vskip2\cam@inner@pitch
+ \vskip0pt plus 1filll
+ %
+ % The title itself
+ \begin{beamercolorbox}[wd=\oversized@paperwidth,sep=\cam@inner@pitch,leftskip=\cam@inner@pitch,rightskip=\cam@inner@pitch,#1]{title}
+ \usebeamerfont{title}\inserttitle\par%
+ \ifx\insertsubtitle\@empty%
+ \else%
+ \vskip\cam@inner@pitch%
+ {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
+ \fi%
+ \end{beamercolorbox}\nointerlineskip%
+ \begin{beamercolorbox}[wd=\oversized@paperwidth,sep=0.5\cam@inner@pitch,leftskip=1.75\cam@inner@pitch,rightskip=1.75\cam@inner@pitch,#1]{title page author}
+ {\usebeamerfont{author}\insertauthor\par}
+ \ifx\insertinstitute\@empty
+ \else
+ \vskip\cam@inner@pitch
+ {\usebeamerfont{institute}\insertinstitute\par}
+ \fi
+ \end{beamercolorbox}\nointerlineskip%
+ \begin{beamercolorbox}[wd=\oversized@paperwidth,sep=0.5\cam@inner@pitch,leftskip=1.5\cam@inner@pitch,rightskip=1.5\cam@inner@pitch,#1]{title page date}
+ \hfill\usebeamerfont{date}\insertdate
+ \end{beamercolorbox}
+ \vskip-\cam@inner@pitch % HACK: Not sure why we need this?
}
% Part page
\defbeamertemplate*{part page}{cambridge theme}[1][]
{
- \begin{beamercolorbox}[wd=\paperwidth,sep=\cam@inner@pitch,leftskip=\cam@inner@pitch,#1]{palette primary}
- \vskip5.5\cam@inner@pitch
- {\usebeamerfont{part name}\usebeamercolor[fg]{part name}\partname~\insertromanpartnumber: }
- {\usebeamerfont{part title}\usebeamercolor[fg]{part title}\insertpart\par}
- \end{beamercolorbox}\nointerlineskip
- \begin{beamercolorbox}[wd=\paperwidth,ht=0.5\cam@inner@pitch,#1]{palette tertiary}
- \end{beamercolorbox}
+ \start@fullpage{part page canvas}
+ \vskip2\cam@inner@pitch
+ {\hfill\usebeamerfont{part page frame number}\usebeamercolor[fg]{part page frame number}\insertframenumber\par}
+ \vskip0pt plus 1filll
+ \color@bar[ht=\cam@inner@pitch]{part page separator upper}
+ \color@bar[ht=\cam@inner@pitch]{part page separator lower}
+ \begin{beamercolorbox}[wd=\oversized@paperwidth,sep=0.5\cam@inner@pitch,leftskip=1.5\cam@inner@pitch,rightskip=1.5\cam@inner@pitch,#1]{part page title}
+ \hfill\hbox{%
+ {\usebeamerfont{part name}\partname~\insertromanpartnumber: }
+ {\usebeamerfont{part title}\insertpart\par}
+ }
+ \end{beamercolorbox}\nointerlineskip%
+ \vskip2\cam@inner@pitch
}
+% (sub-)section in toc: default
+
+\defbeamertemplate*{section in toc}{cambridge theme}
+{\inserttocsection\par}
+
+\defbeamertemplate*{subsection in toc}{cambridge theme}
+{\leavevmode\leftskip=1.5em\inserttocsubsection\par}
+
+\defbeamertemplate*{subsubsection in toc}{cambridge theme}
+{\leavevmode\normalsize\usebeamerfont{subsection in toc}\leftskip=3em%
+ \usebeamerfont{subsubsection in toc}\inserttocsubsubsection\par}
+
+
+% (sub-)section in toc shaded, default
+
+\defbeamertemplate*{section in toc shaded}{cambridge theme}[1][20]
+{\begin{colormixin}{#1!parent.bg}\usebeamertemplate{section in toc}\end{colormixin}\unskip}
+
+\defbeamertemplate*{subsection in toc shaded}{cambridge theme}[1][20]
+{\begin{colormixin}{#1!parent.bg}\usebeamertemplate{subsection in toc}\end{colormixin}\unskip}
+
+\defbeamertemplate*{subsubsection in toc shaded}{cambridge theme}[1][20]
+{\begin{colormixin}{#1!parent.bg}\usebeamertemplate{subsubsection in toc}\end{colormixin}\unskip}
+
+% Itemize items, default
+
+\defbeamertemplate*{itemize item}{cambridge theme}{\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
+\defbeamertemplate*{itemize subitem}{cambridge theme}{\tiny\raise1.5pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
+\defbeamertemplate*{itemize subsubitem}{cambridge theme}{\tiny\raise1.5pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
+
+
+% Enumerate items, default
+
+\defbeamertemplate*{enumerate item}{cambridge theme}{\insertenumlabel.}
+\defbeamertemplate*{enumerate subitem}{cambridge theme}{\insertenumlabel.\insertsubenumlabel}
+\defbeamertemplate*{enumerate subsubitem}{cambridge theme}{\insertenumlabel.\insertsubenumlabel.\insertsubsubenumlabel}
+\defbeamertemplate*{enumerate mini template}{cambridge theme}{\insertenumlabel}
+
+
+% Description item width
+
+\defbeamertemplate*{description item}{cambridge theme}{\insertdescriptionitem}
+
+% Itemize/Enumerate body
+
+\defbeamertemplate*{itemize/enumerate body begin}{cambridge theme}{}
+\defbeamertemplate*{itemize/enumerate body end}{cambridge theme}{}
+
+\defbeamertemplate*{itemize/enumerate subbody begin}{cambridge theme}{}
+\defbeamertemplate*{itemize/enumerate subbody end}{cambridge theme}{}
+
+\defbeamertemplate*{itemize/enumerate subsubbody begin}{cambridge theme}{}
+\defbeamertemplate*{itemize/enumerate subsubbody end}{cambridge theme}{}
+
+% Alerted text
+
+\defbeamertemplate*{alerted text begin}{cambridge theme}{\setbeamercolor{local structure}{parent=alerted text}}
+
+% Structured text
+
+% empyt defaults
+
+% Bibliography items
+
+\defbeamertemplate*{bibliography item}{cambridge theme}
+{\lower3.5pt\hbox{\hskip2pt\pgfuseimage{beamericonarticle}\hskip1pt}}
+
+\defbeamertemplate*{bibliography entry article}{cambridge theme}{}
+\defbeamertemplate*{bibliography entry title}{cambridge theme}{\par}
+\defbeamertemplate*{bibliography entry location}{cambridge theme}{\par}
+\defbeamertemplate*{bibliography entry note}{cambridge theme}{\par}
+
+% Abstract
+
+\defbeamertemplate*{abstract begin}{cambridge theme}{%
+ \start@fullpage{abstract page canvas}
+ \vskip4\cam@inner@pitch
+ \begin{beamercolorbox}[wd=\oversized@paperwidth,sep=0.5\cam@inner@pitch,leftskip=1.5\cam@inner@pitch]{abstract page title}
+ \vskip2.5\cam@inner@pitch
+ {\usebeamerfont*{abstract title}\abstractname\par}
+ \end{beamercolorbox}\nointerlineskip%
+ \color@bar[ht=\cam@inner@pitch]{abstract page separator upper}
+ \color@bar[ht=\cam@inner@pitch]{abstract page separator lower}
+ \vskip2\cam@inner@pitch
+ \vskip0pt plus 1filll
+ \begin{beamercolorbox}[wd=\oversized@paperwidth,sep=2\cam@inner@pitch]{abstract}%
+}
+
+\defbeamertemplate*{abstract title}{cambridge theme}%
+{}
+
+\defbeamertemplate*{abstract end}{cambridge theme}{%
+ \end{beamercolorbox}\nointerlineskip%
+ %\vskip2\cam@inner@pitch
+ \vskip0pt plus 1filll
+ \vskip0pt plus 1filll
+ {\hfill\usebeamerfont{abstract page frame number}\usebeamercolor[fg]{abstract page frame number}\insertframenumber\par}
+ \vskip-\cam@inner@pitch %HACK: Why is this needed?
+}
+
+%{\beamercolorbox[vmode]{abstract}\leftskip2em\rightskip2em plus 1fill\usebeamerfont*{abstract}}
+
+%\defbeamertemplate*{abstract end}{cambridge theme}
+%{}
+%{\medskip\endbeamercolorbox}
+
+% Verse
+
+\defbeamertemplate*{verse begin}{cambridge theme}
+{\beamercolorbox[vmode]{verse}}
+
+\defbeamertemplate*{verse end}{cambridge theme}
+{\endbeamercolorbox}
+
+% Quotation
+
+\defbeamertemplate*{quotation begin}{cambridge theme}
+{\beamercolorbox[vmode]{quotation}}
+
+\defbeamertemplate*{quotation end}{cambridge theme}
+{\endbeamercolorbox}
+
+% Quote
+
+\defbeamertemplate*{quote begin}{cambridge theme}
+{\beamercolorbox[vmode]{quote}}
+
+\defbeamertemplate*{quote end}{cambridge theme}
+{\endbeamercolorbox}
+
+% Footnotes
+
+\defbeamertemplate*{footnote}{cambridge theme}
+{
+ \parindent 1em\noindent%
+ \raggedright
+ \hbox to 1.8em{\hfil\insertfootnotemark}\insertfootnotetext\par%
+}
+
+% Captions
+
+\defbeamertemplate*{caption}{cambridge theme}
+{%
+ \raggedright
+ {%
+ \usebeamercolor[fg]{caption name}%
+ \usebeamerfont*{caption name}%
+ \insertcaptionname:%
+ }
+ \insertcaption\par
+}
+
+% Blocks
+
+\defbeamertemplate*{block begin}{cambridge theme}
+{
+ \par\vskip\medskipamount%
+ \begin{beamercolorbox}[colsep*=.75ex]{block title}
+ \usebeamerfont*{block title}\insertblocktitle%
+ \end{beamercolorbox}%
+ {\parskip0pt\par}%
+ \ifbeamercolorempty[bg]{block title}
+ {}
+ {\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}%
+ \usebeamerfont{block body}%
+ \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body}%
+ \ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
+}
+\defbeamertemplate*{block end}{cambridge theme}
+{\end{beamercolorbox}\vskip\smallskipamount}
+
+\defbeamertemplate*{block alerted begin}{cambridge theme}
+{
+ \par\vskip\medskipamount%
+ \begin{beamercolorbox}[colsep*=.75ex]{block title alerted}
+ \usebeamerfont*{block title alerted}\insertblocktitle%
+ \end{beamercolorbox}%
+ {\parskip0pt\par}%
+ \ifbeamercolorempty[bg]{block title alerted}
+ {}
+ {\ifbeamercolorempty[bg]{block body alerted}{}{\nointerlineskip\vskip-0.5pt}}%
+ \usebeamerfont{block body alerted}%
+ \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body alerted}%
+ \ifbeamercolorempty[bg]{block body alerted}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
+}
+
+\defbeamertemplate*{block alerted end}{cambridge theme}
+{\end{beamercolorbox}\vskip\smallskipamount}
+
+
+\defbeamertemplate*{block example begin}{cambridge theme}
+{
+ \par\vskip\medskipamount%
+ \begin{beamercolorbox}[colsep*=.75ex]{block title example}
+ \usebeamerfont*{block title example}\insertblocktitle%
+ \end{beamercolorbox}%
+ {\parskip0pt\par}%
+ \ifbeamercolorempty[bg]{block title example}
+ {}
+ {\ifbeamercolorempty[bg]{block body example}{}{\nointerlineskip\vskip-0.5pt}}%
+ \usebeamerfont{block body example}%
+ \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body example}%
+ \ifbeamercolorempty[bg]{block body example}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
+}
+\defbeamertemplate*{block example end}{cambridge theme}
+{\end{beamercolorbox}\vskip\smallskipamount}
+
+% Theorems
+
+\defbeamertemplate*{theorem begin}{cambridge theme}
+{%
+ \begin{\inserttheoremblockenv}
+ {%
+ \inserttheoremname
+ \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
+ }%
+}
+
+\defbeamertemplate*{theorem end}{cambridge theme}
+{\end{\inserttheoremblockenv}}
+
+% Proofs
+\defbeamertemplate*{proof begin}{cambridge theme}
+{\begin{block}{\insertproofname}}
+
+\defbeamertemplate*{proof end}{cambridge theme}
+{\end{block}}
+
+\defbeamertemplate*{qed symbol}{cambridge theme}
+{\openbox}
+
\mode<all>
% Default title graphic is uni logo.
\titlegraphic{\pgfuseimage{beamertitlelogocambridge}}
+
+% vim:sw=2:ts=2:et
View
93 beamerouterthemecambridge.sty
@@ -20,9 +20,54 @@
\mode<presentation>
+% Mini frames
+
+\defbeamertemplate*{mini frame}{cambridge theme}
+{%
+ \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
+ \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm}
+ \pgfusepath{fill,stroke}
+ \end{pgfpicture}%
+}
+[action]
+{
+ \setbeamersize{mini frame size=.14cm,mini frame offset=.03cm}
+}
+
+\defbeamertemplate*{mini frame in current subsection}{cambridge theme}
+{%
+ \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
+ \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm}
+ \pgfusepath{stroke}
+ \end{pgfpicture}%
+}
+
+\defbeamertemplate*{mini frame in other subsection}{cambridge theme}[1][50]
+{\color{fg!#1!bg}\usebeamertemplate{mini frame in current subsection}}
+
% Navigation symbols
\defbeamertemplate*{navigation symbols}{cambridge theme}{}
+% Section and subsections in head/foot
+
+\defbeamertemplate*{section in head/foot}{cambridge theme}
+{\insertsectionhead}
+
+\defbeamertemplate*{section in head/foot shaded}{cambridge theme}[1][50]
+{\color{fg!#1!bg}\usebeamertemplate{section in head/foot}}
+
+\defbeamertemplate*{subsection in head/foot}{cambridge theme}
+{\insertsubsectionhead}
+
+\defbeamertemplate*{subsection in head/foot shaded}{cambridge theme}[1][50]
+{\color{fg!#1!bg}\usebeamertemplate{subsection in head/foot}}
+
+\defbeamertemplate*{subsubsection in head/foot}{cambridge theme}
+{\insertsubsubsectionhead}
+
+\defbeamertemplate*{subsubsection in head/foot shaded}{cambridge theme}[1][50]
+{\color{fg!#1!bg}\usebeamertemplate{subsubsection in head/foot}}
+
% background
\defbeamertemplate*{background}{cambridge theme}
@@ -48,6 +93,10 @@
\usebeamerfont{progress}\usebeamercolor[fg]{progress}\insertframenumber\ of \inserttotalframenumber
}
+% Frame title continuations, default
+
+\defbeamertemplate*{frametitle continuation}{cambridge theme}{\insertcontinuationcountroman}
+
%\defbeamertemplate*{footprogress}{cambridge theme}
%{%
%\begin{tikzpicture}[x=\cam@outer@pitch,y=\cam@outer@pitch]
@@ -89,6 +138,50 @@
\defbeamertemplate*{sidebar canvas right}{cambridge theme}
{}
+% Notes
+
+\defbeamertemplate*{note page}{cambridge theme}
+{%
+ {%
+ \scriptsize
+ \insertvrule{.25\paperheight}{white!90!black}
+ \vskip-.25\paperheight
+ \nointerlineskip
+ \vbox{
+ \hfill\insertslideintonotes{0.25}\hskip-\Gm@rmargin\hskip0pt%
+ \vskip-0.25\paperheight%
+ \nointerlineskip
+ \begin{pgfpicture}{0cm}{0cm}{0cm}{0cm}
+ \begin{pgflowlevelscope}{\pgftransformrotate{90}}
+ {\pgftransformshift{\pgfpoint{-2cm}{0.2cm}}%
+ \pgftext[base,left]{\footnotesize\the\year-\ifnum\month<10\relax0\fi\the\month-\ifnum\day<10\relax0\fi\the\day}}
+ \end{pgflowlevelscope}
+ \end{pgfpicture}}
+ \nointerlineskip
+ \vbox to .25\paperheight{\vskip0.5em
+ \hbox{\insertshorttitle[width=8cm]}%
+ \setbox\beamer@tempbox=\hbox{\insertsection}%
+ \hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip4pt\raise3pt\hbox{\vrule
+ width0.4pt height7pt\vrule width 9pt
+ height0.4pt}}\hskip1pt\hbox{\begin{minipage}[t]{7.5cm}\def\breakhere{}\insertsection\end{minipage}}\fi%
+ }%
+ \setbox\beamer@tempbox=\hbox{\insertsubsection}%
+ \hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip17.4pt\raise3pt\hbox{\vrule
+ width0.4pt height7pt\vrule width 9pt
+ height0.4pt}}\hskip1pt\hbox{\begin{minipage}[t]{7.5cm}\def\breakhere{}\insertsubsection\end{minipage}}\fi%
+ }%
+ \setbox\beamer@tempbox=\hbox{\insertshortframetitle}%
+ \hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip30.8pt\raise3pt\hbox{\vrule
+ width0.4pt height7pt\vrule width 9pt
+ height0.4pt}}\hskip1pt\hbox{\insertshortframetitle[width=7cm]}\fi%
+ }%
+ \vfil}%
+ }%
+ \vskip.25em
+ \nointerlineskip
+ \insertnote
+}
+
\mode<all>
\ifbeamertemplateempty{logo}{%
View
13 beamerthemecambridge.sty
@@ -0,0 +1,13 @@
+\def\the@base{blue}
+\DeclareOptionBeamer{base}{\def\the@base{#1}}
+\ProcessOptionsBeamer
+
+\mode<presentation>
+
+\useinnertheme{cambridge}
+\useoutertheme{cambridge}
+\usecolortheme[base=\the@base]{cambridge}
+%\usefonttheme{cambridge}
+
+\mode
+<all>
View
14 examples/beamerexample-conference-talk.tex
@@ -27,17 +27,19 @@
%\setbeamerfont*{frametitle}{size=\normalsize,series=\bfseries}
%\setbeamertemplate{navigation symbols}{}
-\usecolortheme[base=blue]{cambridge}
-\useoutertheme{cambridge}
-\useinnertheme{cambridge}
+\usetheme{cambridge}
% Standard packages
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
-\usepackage{times}
-\usepackage[T1]{fontenc}
+%\usepackage{times}
+%\usepackage[T1]{fontenc}
+
+%\usepackage{fontspec}
+%\setsansfont{Myriad Pro}
+%\usefonttheme{professionalfonts}
% Setup TikZ
@@ -67,7 +69,7 @@
\institute[Tübingen and others]
{
\inst{1}%
- Universität Tübingen, Germany
+ Universit\"at T\"ubingen, Germany
\and
\vskip-2mm
\inst{2}%

0 comments on commit 48219c1

Please sign in to comment.