This commit is contained in:
Jeff Lance 2017-08-27 01:22:40 +02:00
parent f3bc4d68cb
commit 36030c381d
4 changed files with 23 additions and 21 deletions

View File

@ -55,18 +55,19 @@
\colorlet{main1}{color31}
\colorlet{main2}{color51}
% Colors used in the cours_beamer class
\colorlet{sectioncolor}{color71}
\colorlet{subsectioncolor}{color71}
% Colors of the structure, palettes, etc
\setbeamercolor*{structure}{fg=color51} % itemize, enumerate, etc
\setbeamercolor*{palette primary}{use=structure,bg=color1,fg=color0}
\setbeamercolor*{palette secondary}{use=structure,bg=color1,fg=color0}
\setbeamercolor*{palette tertiary}{use=structure,bg=color1,fg=color0}
\setbeamercolor*{palette quaternary}{use=structure,bg=color1,fg=color0}
\setbeamercolor*{palette primary}{use=structure,fg=color1,bg=color0}
\setbeamercolor*{palette secondary}{use=structure,fg=color1,bg=color0}
\setbeamercolor*{palette tertiary}{use=structure,fg=color1,bg=color0}
\setbeamercolor*{palette quaternary}{use=structure,fg=color1,bg=color0}
% Color of the title page frame
\setbeamercolor*{title page header}{fg=color0}
% Colors of sections and subsections in the cours_beamer class
\setbeamercolor*{sectioncolor}{fg=color31}
\setbeamercolor*{subsectioncolor}{fg=color51}
\mode
<all>

View File

@ -1,18 +1,19 @@
\mode<presentation>
% Background of frames
\setbeamertemplate{background}{
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fill[color=mypurple1] (0,2) rectangle (\the\paperwidth,\the\paperheight);
\fill[color=myred1] (0,0) rectangle(2.95,1.9);
\fill[color=mygrey1] (3.05,0) rectangle(\the\paperwidth,1.9);
\fill[color=main2] (0,2) rectangle (\the\paperwidth,\the\paperheight);
\fill[color=main1] (0,0) rectangle(2.95,1.9);
\fill[color=main0] (3.05,0) rectangle(\the\paperwidth,1.9);
\ifnum\thepage>1\relax%
\fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fi
\end{tikzpicture}
}
% Title page
% Title page of frames
\defbeamertemplate*{title page}{Akatsuki}[1][]
{
\vskip6cm%
@ -30,6 +31,6 @@
\vfill
}
% Items
\setbeamertemplate{items}[square]
\setbeamertemplate{sections/subsections in toc}[square]
% Items in frames
\setbeamertemplate{items}[bullets]
\setbeamertemplate{sections/subsections in toc}[bullets]

View File

@ -6,14 +6,14 @@
\vskip1cm%
\begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
\begin{tikzpicture}
\useasboundingbox[fill=mywhite](0,0) rectangle(\the\paperwidth,1.2);
\fill[color=mygrey1] (0,0) rectangle(2.95,1.2);
\fill[color=mypurple1] (3.05,0) rectangle(\the\paperwidth,1.2);
\useasboundingbox[fill=white](0,0) rectangle(\the\paperwidth,1.2);
\fill[color=main0] (0,0) rectangle(2.95,1.2);
\fill[color=main2] (3.05,0) rectangle(\the\paperwidth,1.2);
\ifx\insertframesubtitle\@empty%
{\node[anchor=west, color=mywhite, font=\large] at (3.2,0.61){\insertframetitle};}
{\node[anchor=west, color=white, font=\large] at (3.2,0.61){\insertframetitle};}
\else%
{\node[anchor= west, color=mywhite, font=\large] at (3.2,0.81){\insertframetitle};%
\node[anchor= west, color=mywhite, font=\small] at (3.2,0.41){\insertframesubtitle};}%
{\node[anchor= west, color=white, font=\large] at (3.2,0.81){\insertframetitle};%
\node[anchor= west, color=white, font=\small] at (3.2,0.41){\insertframesubtitle};}%
\fi
\end{tikzpicture}
\end{beamercolorbox}

Binary file not shown.