summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/beamer-contrib/themes/beamertheme-trigon/source/beamerinnerthemetrigon.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/beamer-contrib/themes/beamertheme-trigon/source/beamerinnerthemetrigon.dtx')
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-trigon/source/beamerinnerthemetrigon.dtx45
1 files changed, 24 insertions, 21 deletions
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-trigon/source/beamerinnerthemetrigon.dtx b/macros/latex/contrib/beamer-contrib/themes/beamertheme-trigon/source/beamerinnerthemetrigon.dtx
index c234dfc343..60344f6d4b 100644
--- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-trigon/source/beamerinnerthemetrigon.dtx
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-trigon/source/beamerinnerthemetrigon.dtx
@@ -13,7 +13,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerinnerthemetrigon}[2021/03/25 v0.5.0 Trigon inner theme]
+\ProvidesPackage{beamerinnerthemetrigon}[2021/09/06 v0.6.0 Trigon inner theme]
%</package>
% \fi
% \CheckSum{0}
@@ -79,9 +79,12 @@
\pgfkeys{
/trigon/inner/slidestyle/.cd,
.is choice,
- blank/.code=\def\slidestyle{blank},
- style1/.code=\def\slidestyle{smallcornertriangle},
+ blank/.code=\def\slidestyle{blank}
+ \setbeamertemplate{background}[\slidestyle],
+ style1/.code=\def\slidestyle{smallcornertriangle}
+ \setbeamertemplate{background}[\slidestyle],
cyber/.code=\def\slidestyle{cyberbottom}
+ \setbeamertemplate{background}[\slidestyle]
}
% \end{macrocode}
% \end{macro}
@@ -221,7 +224,7 @@
\defbeamertemplate{background}{smallcornertriangle}{
\begin{tikzpicture}[blend group=multiply]
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
- \leftColorTriangle{0.62\paperwidth}{0}{tGrey!30}
+ \leftColorTriangle{0.62\paperwidth}{0}{tGrey!30!tBg}
\end{tikzpicture}
}
% \end{macrocode}
@@ -232,10 +235,10 @@
% frames when the appropriate option is selected).
% \begin{macrocode}
\defbeamertemplate{background}{cyberbottom}{
-\tikzstyle{cyberVertex}=[scale=1,draw=tGrey!60,circle,fill=white]
-\tikzstyle{cyberVertex2}=[scale=0.5,draw=tGrey!60,circle,fill=tGrey!60]
-\tikzstyle{cyberEdge} = [draw,color=tGrey!60]
-\begin{tikzpicture}[blend group=multiply]
+\tikzstyle{cyberVertex}=[scale=1,draw=tGreyBg,circle,fill=tBg]
+\tikzstyle{cyberVertex2}=[scale=0.5,draw=tGreyBg,circle,fill=tGreyBg]
+\tikzstyle{cyberEdge} = [draw,color=tGreyBg]
+\begin{tikzpicture}%[blend group=multiply]
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\foreach \pos/\name in {
{(-0.05\paperwidth,0.75\paperheight)/0},
@@ -278,16 +281,16 @@
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\begin{scope}[blend group=multiply]
- \path[fill=tPrim]\leftTriangle{0.5\paperwidth}{0};
- \topColorTriangle{0.73\paperwidth}{0.70\paperheight}{tGrey!30};
+ \path[fill=tTheme]\leftTriangle{0.5\paperwidth}{0};
+ \topColorTriangle{0.73\paperwidth}{0.70\paperheight}{tGrey!30!tBg};
\ifx\inserttitlegraphic\@empty
- \leftColorTriangle{0.73\paperwidth}{0.70\paperheight}{tPrim}
+ \leftColorTriangle{0.73\paperwidth}{0.70\paperheight}{tTheme}
\else
\path[clip]\leftTriangle{0.73\paperwidth}{0.70\paperheight};
\node[anchor=north west, inner sep=0pt, outer sep=0pt] at (0,\the\paperheight) {\inserttitlegraphic};
\fi
\end{scope}
- \path[fill=white]\rightTriangle{0.45\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}};
@@ -303,12 +306,12 @@
\defbeamertemplate{background}{titlesmallimage}{
\begin{tikzpicture}[blend group=multiply]
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
- \leftColorTriangle{0.58\paperwidth}{0}{tGrey!30}
+ \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}};
\fi
\ifx\inserttitlegraphic\@empty
- \leftColorTriangle{0.58\paperwidth}{\the\paperheight}{tPrim}
+ \leftColorTriangle{0.58\paperwidth}{\the\paperheight}{tTheme}
\else
\path[clip]\leftTriangle{0.58\paperwidth}{\the\paperheight};
\node[anchor=north west, inner sep=0pt, outer sep=0pt] at (0,\the\paperheight) {\inserttitlegraphic};
@@ -325,7 +328,7 @@
\defbeamertemplate{background}{bottomtrianglescolor}{
\begin{tikzpicture}[blend group=multiply]
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
- \leftColorTriangle{0.62\paperwidth}{0}{tPrim}
+ \leftColorTriangle{0.62\paperwidth}{0}{tTheme}
\rightColorTriangle{0.38\paperwidth}{0}{tSec}
\end{tikzpicture}
}
@@ -339,8 +342,8 @@
\defbeamertemplate{background}{bottomtrianglesbw}{
\begin{tikzpicture}[blend group=multiply]
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
- \leftColorTriangle{0.62\paperwidth}{0}{tPrim}
- \rightColorTriangle{0.38\paperwidth}{0}{tGrey}
+ \leftColorTriangle{0.62\paperwidth}{0}{tTheme}
+ \rightColorTriangle{0.38\paperwidth}{0}{tGrey!30!tBg}
\end{tikzpicture}
}
% \end{macrocode}
@@ -352,8 +355,8 @@
\defbeamertemplate{background}{bigtriangles}{
\begin{tikzpicture}[blend group=multiply]
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
- \leftColorTriangle{0.80\paperwidth}{0.62\paperheight}{tPrim}
- \rightColorTriangle{0.68\paperwidth}{0.58\paperheight}{tGrey}
+ \leftColorTriangle{0.80\paperwidth}{0.62\paperheight}{tTheme}
+ \rightColorTriangle{0.68\paperwidth}{0.58\paperheight}{tGrey!30!tBg}
\end{tikzpicture}
}
% \end{macrocode}
@@ -365,8 +368,8 @@
\defbeamertemplate{background}{lefttriangles}{
\begin{tikzpicture}[blend group=multiply]
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
- \leftColorTriangle{0.52\paperwidth}{\the\paperheight}{tPrim}
- \leftColorTriangle{0.775\paperwidth}{0}{tGrey}
+ \leftColorTriangle{0.52\paperwidth}{\the\paperheight}{tTheme}
+ \leftColorTriangle{0.775\paperwidth}{0}{tGrey!30!tBg}
\end{tikzpicture}
}
% \end{macrocode}