Skip to content
Snippets Groups Projects
Verified Commit 32cc972f authored by Thomas Lambert's avatar Thomas Lambert :helicopter:
Browse files

feat: update trigon, add notes to handout

parent f1d7afb0
Branches dev
No related tags found
No related merge requests found
Pipeline #6440 failed
......@@ -18,7 +18,7 @@
%% International License (https://creativecommons.org/licenses/by-sa/4.0/)
%% ---------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthemetrigon}[2021/11/10 v0.6.2 Trigon color theme]
\ProvidesPackage{beamercolorthemetrigon}[2022/05/08 v0.6.5 Trigon color theme]
\RequirePackage{pgfopts}
\pgfkeys{
/trigon/color/background/.cd,
......
......@@ -18,7 +18,7 @@
%% International License (https://creativecommons.org/licenses/by-sa/4.0/)
%% ---------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerfontthemetrigon}[2021/11/10 v0.6.2 Trigon font theme]
\ProvidesPackage{beamerfontthemetrigon}[2022/05/08 v0.6.5 Trigon font theme]
\RequirePackage{pgfopts}
\pgfkeys{
/trigon/font/titleformat title/.cd,
......
......@@ -18,13 +18,15 @@
%% International License (https://creativecommons.org/licenses/by-sa/4.0/)
%% ---------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerinnerthemetrigon}[2021/11/10 v0.6.2 Trigon inner theme]
\ProvidesPackage{beamerinnerthemetrigon}[2022/05/08 v0.6.5 Trigon inner theme]
\RequirePackage{pgfopts}
\RequirePackage{tikz}
\usetikzlibrary{calc,3d}
\def\logbig{}
\newcommand\biglogo[1]{
\def\logbig{#1}
\newcommand*\biglogo[2][width=0.28\textwidth]{
\ifx{#2}\@empty\else
\edef\logbig{\includegraphics[#1]{#2}}
\fi
}
\pgfkeys{
/trigon/inner/sectionpage/.cd,
......@@ -87,14 +89,17 @@
-- cycle;
}
\newcommand{\leftColorTriangle}[3]{
\clip(0,0) rectangle(\the\paperwidth,\the\paperheight);
\path[fill=#3]
\leftTriangle{#1}{#2}
}
\newcommand{\rightColorTriangle}[3]{
\clip(0,0) rectangle(\the\paperwidth,\the\paperheight);
\path[fill=#3]
\rightTriangle{#1}{#2}
}
\newcommand{\topColorTriangle}[3]{
\clip(0,0) rectangle(\the\paperwidth,\the\paperheight);
\path[fill=#3]
\topTriangle{#1}{#2}
}
......@@ -146,6 +151,7 @@
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\begin{scope}[blend group=multiply]
\clip(0,0) rectangle(\the\paperwidth,\the\paperheight);
\path[fill=tTheme]\leftTriangle{0.5\paperwidth}{0};
\topColorTriangle{0.73\paperwidth}{0.70\paperheight}{tGrey!30!tBg};
\ifx\inserttitlegraphic\@empty
......@@ -155,10 +161,11 @@
\node[anchor=north west, inner sep=0pt, outer sep=0pt] at (0,\the\paperheight) {\inserttitlegraphic};
\fi
\end{scope}
\clip(0,0) rectangle(\the\paperwidth,\the\paperheight);
\path[fill=tBg]\rightTriangle{0.45\paperwidth}{\the\paperheight};
\ifx\logbig\@empty \else
\node[anchor=north east,inner sep=0mm] at
(.96*\the\paperwidth,.96*\the\paperheight) {\includegraphics[width=0.28\textwidth]{\logbig}};
(.96*\the\paperwidth,.96*\the\paperheight) {\logbig};
\fi
\end{tikzpicture}
}
......@@ -167,7 +174,8 @@
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\leftColorTriangle{0.58\paperwidth}{0}{tGrey!30!tBg}
\ifx\logbig\@empty \else
\node[anchor=north east,inner sep=0mm] at (.94*\the\paperwidth,.94*\the\paperheight) {\includegraphics[width=0.33\textwidth]{\logbig}};
\node[anchor=north east,inner sep=0mm] at
(.94*\the\paperwidth,.94*\the\paperheight) {\logbig};
\fi
\ifx\inserttitlegraphic\@empty
\leftColorTriangle{0.58\paperwidth}{\the\paperheight}{tTheme}
......@@ -285,7 +293,7 @@
\begin{minipage}[t][][t]{\textwidth}
\centering%
\ifx\logbig\@empty \else
\includegraphics[height=0.15\textheight]{\logbig}
\logbig
\fi
\end{minipage}
\vskip15pt
......
......@@ -18,11 +18,13 @@
%% International License (https://creativecommons.org/licenses/by-sa/4.0/)
%% ---------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerouterthemetrigon}[2021/11/10 v0.6.2 Trigon outer theme]
\ProvidesPackage{beamerouterthemetrigon}[2022/05/08 v0.6.5 Trigon outer theme]
\RequirePackage{pgfopts}
\def\logsmall{}
\newcommand\smalllogo[1]{
\def\logsmall{#1}
\newcommand*\smalllogo[2][width=20pt]{
\ifx{#2}\@empty\else
\edef\logsmall{\includegraphics[#1]{#2}}
\fi
}
\pgfkeys{
/trigon/outer/numbering/.cd,
......@@ -53,7 +55,7 @@
\defbeamertemplate{headline}{none}{}
\defbeamertemplate*{headline}{logo}{
\ifx\logsmall\@empty\else
\hfill\includegraphics[width=20pt]{\logsmall}\hspace{20pt}\vspace{-40pt}
\hfill\logsmall\hspace{20pt}\vspace{-40pt}
\fi
}
\setbeamertemplate{navigation symbols}{}
......
......@@ -18,7 +18,7 @@
%% International License (https://creativecommons.org/licenses/by-sa/4.0/)
%% ---------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthemetrigon}[2021/11/10 v0.6.2 Trigon Beamer theme]
\ProvidesPackage{beamerthemetrigon}[2022/05/08 v0.6.5 Trigon Beamer theme]
\RequirePackage{pgfopts}
\RequirePackage{tikz}
\pgfkeys{/trigon/.cd,
......
......@@ -12,13 +12,11 @@
% Automatically manage handout version
\ifdefined\ishandout
\documentclass[handout, aspectratio=169]{beamer}
%\documentclass[handout, notes, aspectratio=169]{beamer}
%\usepackage{handoutWithNotes}
%\usepackage[slide-frame=true, beamer-notes=true]{handoutWithNotes}
%\pgfpagesuselayout{2 on 1 with notes}
\documentclass[handout, notes, aspectratio=169]{beamer}
\usepackage[slide-frame=true, beamer-notes=true]{handoutWithNotes}
\pgfpagesuselayout{2 on 1 with notes landscape}[a4paper,border shrink=5mm]
\else
\documentclass[aspectratio=169]{beamer}
\documentclass[aspectratio=169]{beamer}
\fi
% Theme
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment