Skip to content

Commit

Permalink
nice frametitle background
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Jacquet committed Jun 11, 2016
1 parent baed2a6 commit 085f5a6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
Binary file added presentation-IA04/img/blueprint.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified presentation-IA04/main.pdf
Binary file not shown.
5 changes: 2 additions & 3 deletions presentation-IA04/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
\usepackage{lmodern}
\usepackage[francais]{babel}

\usepackage{textpos}

\input{src/config}

% title info
Expand All @@ -29,7 +31,6 @@


\begin{document}
\newcommand*{\ClipSep}{0.3cm}
\title{
\hspace*{-.55cm}
\begin{tikzpicture}
Expand All @@ -43,9 +44,7 @@
\end{tikzpicture}
}


\small

\begin{frame}
\vspace{-0.75cm}
\titlepage
Expand Down
22 changes: 20 additions & 2 deletions presentation-IA04/src/config.tex
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

\makeatletter

\newcommand*{\ClipSep}{0.3cm}

% create beamer ball commands
\newcommand\beamerball{%
\parbox[t]{10pt}{\raisebox{0.2pt}{\beamer@usesphere{item}{bigsphere}}}}
Expand All @@ -38,7 +40,21 @@
\setbeamersize{text margin left=2em}
\setbeamersize{text margin right=1em}

\newcommand*{\currentname}{\@currentlabelname}
\newcommand*{\currentname}{
\rlap{\raisebox{-.6cm}{
\hspace*{-.7cm}
\begin{tikzpicture}
\node [inner sep=0pt] at (0,0) {\includegraphics[width=12.5cm, height=1.5cm]{img/blueprint}};
\draw [white, rounded corners=0.1cm, line width=0.1cm]
(current bounding box.north west) --
(current bounding box.north east) --
(current bounding box.south east) --
(current bounding box.south west) -- cycle
;
\end{tikzpicture}
}}
\@currentlabelname
}

%--------------%
% beamer theme %
Expand All @@ -61,7 +77,7 @@
% color theme
\setbeamercolor{structure}{fg=white, bg=blue}
\setbeamercolor{titlelike}{fg=white, bg=white}
\setbeamercolor{frametitle}{fg=white, bg=blue}
\setbeamercolor{frametitle}{fg=white}
\setbeamercolor{section in head/foot}{fg=white} % miniframe
\setbeamercolor{section in toc}{fg=black, bg=white}
\setbeamercolor{subsection in toc}{fg=black, bg=white}
Expand All @@ -73,6 +89,8 @@
\setbeamercolor{palette secondary}{bg=blue, fg=white}
\setbeamercolor{palette tertiary}{bg=darkblue, fg=white}

\addtobeamertemplate{frametitle begin}{\pgfsetfillopacity{0}}{\pgfsetfillopacity{1}}

% font theme
\setbeamerfont{section in toc}{size=\small}
\setbeamerfont{subsection in toc}{size=\small}
Expand Down

0 comments on commit 085f5a6

Please sign in to comment.