Skip to content

Commit

Permalink
first iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
ethiy committed Jun 1, 2020
0 parents commit 5e36e79
Show file tree
Hide file tree
Showing 83 changed files with 6,109 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Git ignored files

# Latex output
*.pdf
*.ist
*.synctex.gz
*.xml
*.bcf
*.aux
*.log
47 changes: 47 additions & 0 deletions beamercolorthemeign.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthemeign}[2018/03/29 IGN France color theme]
\RequirePackage{xcolor}

\definecolor{IGNDarkGreen}{RGB}{0, 155, 85}
\definecolor{IGNDarkerGreen}{RGB}{0, 105, 25}
\definecolor{IGNGreen}{RGB}{148, 192, 22}
\definecolor{IGNGrey}{RGB}{112, 119, 122}
\definecolor{IGNDarkGrey}{RGB}{101, 105, 110}
\definecolor{IGNRed}{RGB}{255, 100, 100}
\definecolor{IGNDarkOrange}{RGB}{200, 55, 40}

\mode<presentation>

\setbeamercolor*{title page header}{fg=white}
\setbeamercolor*{subtitle page header}{fg=white}
\setbeamercolor*{author}{fg=black}
\setbeamercolor*{date}{fg=black}
\setbeamercolor*{institute}{fg=black}

\setbeamercolor*{frametitle}{fg=white}

\setbeamercolor*{shorttitle footer}{fg=IGNGrey}
\setbeamercolor*{shortdate footer}{fg=IGNGrey}
\setbeamercolor*{framenumber footer}{fg=white}

\setbeamercolor*{sectionnumber}{fg=white}
\setbeamercolor*{sectiontitle}{fg=IGNDarkGrey}
\setbeamercolor*{subsectiontitle}{fg=IGNGrey}

\setbeamercolor{title in head/foot}{fg=IGNGrey}
\setbeamercolor{date in head/foot}{fg=IGNGrey}

\setbeamercolor{caption name}{fg=IGNGrey}

\setbeamercolor*{normal text}{fg=IGNDarkGrey}

\setbeamercolor*{item}{fg=IGNGreen}


\setbeamercolor*{block title alerted}{bg=IGNRed!70}
\setbeamercolor*{block body alerted}{bg=IGNRed!20}

\setbeamercolor*{block title}{bg=IGNGreen}
\setbeamercolor*{block body}{bg=IGNGreen!10}

\mode<all>
234 changes: 234 additions & 0 deletions beamerinnerthemeign.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,234 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerinnerthemeign}[2018/03/29 IGN France color theme]

\RequirePackage{tikz}
\RequirePackage{pgfplots}
\RequirePackage{graphicx}
\RequirePackage{adjustbox}

\usetikzlibrary{backgrounds, positioning}
\pgfplotsset{compat=1.13}


\usecolortheme{ign}

\mode<presentation>

\setbeamertemplate{background}{
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\ifnum\thepage>1\relax%
\fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fi
\end{tikzpicture}
}

\newsavebox \tramebox
\savebox \tramebox{
\begin{tikzpicture}
\begin{axis}[axis lines=none, width=9cm, height=7cm, at={(0cm, 0cm)}]
\foreach \line in {1,2,...,60}{
\addplot[
only marks,
color=IGNDarkGrey,
mark=*,
mark size=.075pt,
samples=50
] {\line};
}
\end{axis}
\end{tikzpicture}
}

\newsavebox \titlebox
\savebox \titlebox{
\begin{tikzpicture}
\fill[top color=IGNDarkGreen, bottom color = IGNGreen]
(-3, 2.75)
-- (2.5, 2.25)
-- (2.8, -1.15)
-- (-1.5, -1.5)
-- (-3.2, 0);
\end{tikzpicture}
}
\defbeamertemplate*{title page}{ign}[1][]
{
\newgeometry{top=0cm, left=0cm, right=0cm, bottom=0cm}
\hspace{-.75cm}
\begin{tikzpicture}
\node (ign_logo) at (-1, 0) {
\includegraphics[width=1.606911447cm]{images/logos/logo-ign}
};
\path (ign_logo.south) node[anchor=north] (inria_logo) {
\includegraphics[width=1.606911447cm]{images/logos/logo-inria}
};
\path (ign_logo.north east) + (3, 0) node[anchor=north west] (trame) {\usebox \tramebox};
\path (inria_logo.south west) + (0, -2.25) node[anchor=north west] (background) {
{
\includegraphics[width=11.5cm]{images/logos/background-50}
}
};
\path (trame.west) + (2.5, -.75) node (title_box) {\usebox \titlebox};
\path (title_box) + (0, .4) node (title) {
\begin{beamercolorbox}[
wd=5.8cm,
sep=8pt,
#1
]{title page header}
\usebeamerfont{title}{\bf \inserttitle\par}
\end{beamercolorbox}
};
\path (title.south) + (0, -.1) node (subtitle) {
\begin{beamercolorbox}[
wd=6cm,
sep=8pt,
#1
]{subtitle page header}
\usebeamerfont{subtitle}
\begin{center}
\insertsubtitle\par
\end{center}
\end{beamercolorbox}
};
\path (background.north) node[anchor=north] (author) {
\begin{beamercolorbox}[
wd=10cm,
sep=8pt,
#1
]{author}
\usebeamerfont{author}
\begin{center}
\insertauthor\par
\end{center}
\end{beamercolorbox}
};
\path (author.south) + (0, -.1) node (institute) {
\begin{beamercolorbox}[
wd=6cm,
sep=8pt,
#1
]{institute}
\usebeamerfont{institute}
\begin{center}
\insertinstitute\par
\end{center}
\end{beamercolorbox}
};
\path (institute.south) + (0, -.1) node (date) {
\begin{beamercolorbox}[
wd=6cm,
sep=8pt,
#1
]{date}
\usebeamerfont{date}
\begin{center}
\insertdate\par
\end{center}
\end{beamercolorbox}
};
\end{tikzpicture}
\restoregeometry
\addtocounter{framenumber}{-1}
}


\setbeamertemplate{beginsection}{
\begin{tikzpicture}
\path (0, -2) node (trame) {\usebox \tramesectionbox};
\path (trame) + (1, 1) node (section_number_box) {\usebox \sectionnumberbox};
\path (section_number_box) + (0.2, .5) node (section_number) {
\begin{beamercolorbox}[
wd=2cm,
sep=8pt
]{sectionnumber}
\usebeamerfont{sectionnumber} {\bf \insertsectionnumber\par}
\end{beamercolorbox}
};
\path (trame.east) + (1, -1) node (sectiontitle) {
\begin{beamercolorbox}[
wd=7cm,
sep=8pt
]{sectiontitle}
\usebeamerfont{sectiontitle} \insertsection\par
\end{beamercolorbox}
};
\end{tikzpicture}
}

\setbeamertemplate{beginsubsection}{
\begin{tikzpicture}
\path (0, -2) node (trame) {\usebox \tramesectionbox};
\path (trame) + (1, 1) node (section_number_box) {\usebox \sectionnumberbox};
\path (section_number_box) + (0.2, .5) node (section_number) {
\begin{beamercolorbox}[
wd=2cm,
sep=8pt
]{sectionnumber}
\usebeamerfont{sectionnumber} {\bf \insertsectionnumber\par}
\end{beamercolorbox}
};
\path (trame.east) + (1, -1) node (sectiontitle) {
\begin{beamercolorbox}[
wd=7cm,
sep=8pt
]{sectiontitle}
\usebeamerfont{sectiontitle} \insertsection\par
\end{beamercolorbox}
};
\path (sectiontitle.south) + (2, -.2) node (sectionsubtitle) {
\begin{beamercolorbox}[
wd=7cm,
sep=8pt
]{sectionsubtitle}
\usebeamerfont{sectionsubtitle} \insertsubsection\par
\end{beamercolorbox}
};
\end{tikzpicture}
}


\setbeamertemplate{endpage}{
\newgeometry{top=0cm, left=0cm, right=0cm, bottom=0cm}
\hspace{-.75cm}
\begin{tikzpicture}
\node (ign_logo) at (-1, 0) {
\includegraphics[width=1.606911447cm]{images/logos/logo-ign}
};
\path (ign_logo.south) node[anchor=north] (inria_logo) {
\includegraphics[width=1.606911447cm]{images/logos/logo-inria}
};
\path (inria_logo.south) node[anchor=north] (upe_logo) {
\includegraphics[width=1.606911447cm]{images/logos/logo-upe}
};
\path (ign_logo.north east) + (3, 0) node[anchor=north west] (trame) {\usebox \tramebox};
\path (upe_logo.south west) + (0, -1.75) node[anchor=north west] (background) {
{
\includegraphics[width=11.5cm]{images/logos/background-50}
}
};
\path (trame.west) + (2.5, -.75) node (title_box) {\usebox \titlebox};
\path (title_box) + (0, .75) node (thanks) {
\begin{beamercolorbox}[
wd=4cm,
sep=8pt
]{title page header}
\usebeamerfont{title}
\begin{center}
Thank you for your attention!
\end{center}
\end{beamercolorbox}
};
\path (background.north) node[anchor=north] (author) {
\begin{beamercolorbox}[
wd=4cm,
sep=8pt
]{author}
\usebeamerfont{author}
\begin{center}
\insertauthor\par
\end{center}
\end{beamercolorbox}
};
\end{tikzpicture}
\restoregeometry
}
81 changes: 81 additions & 0 deletions beamerouterthemeign.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerouterthemeign}[2018/03/29 IGN France color theme]

\RequirePackage{graphicx}


\usecolortheme{ign}

\mode<presentation>

\defbeamertemplate*{frametitle}{ign}[1][]
{
\vskip .5cm
\begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
\begin{tikzpicture}
\useasboundingbox[fill=white](0,0) rectangle(\the\paperwidth,1.2);
\fill[IGNGreen] (.5, 0) rectangle(\the\paperwidth,1.2);
\ifx\insertframesubtitle\@empty{
\node[anchor=west,font=\large] at (1,0.61){\insertframetitle};
}
\else{
\node[anchor= west,font=\large] at (1,0.81){\insertframetitle};%
\node[anchor= west,font=\small] at (1,0.41){\insertframesubtitle};
}
\fi
\end{tikzpicture}
\end{beamercolorbox}
}

\newsavebox \framenumberbox
\savebox \framenumberbox{
\begin{tikzpicture}
\fill[top color=IGNDarkGreen, bottom color = IGNGreen]
(0, .15)
-- (.25, .12)
-- (.3, -.09)
-- (-.05, -.15);
\end{tikzpicture}
}
\defbeamertemplate*{footline}{}
{
\leavevmode
\newgeometry{top=0cm, left=0cm, right=0cm, bottom=0cm}
\hspace{-1.25cm}
\begin{tikzpicture}
\node (origin) {};
\path (origin.east) + (11.8, 0) node[anchor=west] (framenumber_box) {\usebox \framenumberbox};
\path ($(framenumber_box.east)!.55!(framenumber_box.west)$) node {
\begin{beamercolorbox}[
wd=2em,
sep=8pt
]{framenumber footer}
\usebeamerfont{framenumber}
\centering \insertframenumber
\end{beamercolorbox}
};

\path (origin.east) + (.25, 0) node[anchor=west] (logo) {
\includegraphics[height=1.5em]{images/logos/bottom-logo-ign}
};
\path ($(logo.east)!.5!(framenumber_box.west)$) node (title) {
\begin{beamercolorbox}[
wd=6cm,
sep=8pt
]{shorttitle footer}
\usebeamerfont{shorttitle}\insertshorttitle
\end{beamercolorbox}
};
\path (framenumber_box.west) node[anchor=east] (date) {
\begin{beamercolorbox}[
wd=2cm,
sep=8pt
]{shortdate footer}
\usebeamerfont{shortdate}\insertshortdate
\end{beamercolorbox}
};
\draw[thick, color=IGNGrey!50] (logo.north west) -- (framenumber_box.north east);
\end{tikzpicture}
\restoregeometry
}
\mode<all>
Loading

0 comments on commit 5e36e79

Please sign in to comment.