diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-06 21:16:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-06 21:16:58 +0000 |
commit | c436984614539aca09069bca93601eb10a989422 (patch) | |
tree | 14c26e259fc4b9074ce3ee38a076b91650b15488 /Master/texmf-dist/tex | |
parent | 737305d6530f920e571d83209f4bf897a277e5ec (diff) |
beamertheme-trigon (6sep21)
git-svn-id: svn://tug.org/texlive/trunk@60439 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
5 files changed, 78 insertions, 45 deletions
diff --git a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamercolorthemetrigon.sty b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamercolorthemetrigon.sty index e5730d3d9d8..91427ba2da7 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamercolorthemetrigon.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamercolorthemetrigon.sty @@ -18,21 +18,27 @@ %% International License (https://creativecommons.org/licenses/by-sa/4.0/) %% --------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamercolorthemetrigon}[2021/03/25 v0.5.0 Trigon color theme] +\ProvidesPackage{beamercolorthemetrigon}[2021/09/06 v0.6.0 Trigon color theme] \RequirePackage{pgfopts} -\def\headcol{black} +\pgfkeys{ + /trigon/color/background/.cd, + .is choice, + dark/.code=\trigon@colors@dark, + light/.code=\trigon@colors@light +} +\def\headcol{tDefaulttxt} \pgfkeys{ /trigon/color/headingcolor/.cd, .is choice, - black/.code=\def\headcol{black}, + default/.code=\def\headcol{tTxt}, theme/.code=\def\headcol{tPrim} } \def\txtcol{black} \pgfkeys{ /trigon/color/textcolor/.cd, .is choice, - black/.code=\def\txtcol{black}, - theme/.code=\def\txtcol{tPrim!50!black} + default/.code=\def\txtcol{tTxt}, + theme/.code=\def\txtcol{tPrim!50!tTxt} } \pgfkeys{ /trigon/color/block/.cd, @@ -42,19 +48,43 @@ } \newcommand{\trigon@color@setdefaults}{ \pgfkeys{/trigon/color/.cd, + background=light, block=fill, - headingcolor=black, - textcolor=black + headingcolor=default, + textcolor=default } } -\definecolor{tPrim}{HTML}{00707F} % Green-Blue -\definecolor{tSec}{HTML}{5FA4B0} % Green-Blue light -\definecolor{tAccent}{HTML}{F07F3C} % Orange -\definecolor{tGrey}{HTML}{E6E6E1} % Grey-Beige -\setbeamercolor{background canvas}{bg=white} -\setbeamercolor{normal text}{fg=\txtcol, bg= } +\definecolor{tGreenBlue}{HTML}{00707F} +\definecolor{tGreenBlueLight}{HTML}{5FA4B0} +\definecolor{tOrange}{HTML}{F07F3C} +\definecolor{tYellowOrange}{HTML}{F8AA00} +\definecolor{tBeigePale}{HTML}{E6E6E1} +\definecolor{tBeige}{HTML}{C6C0B4} +\definecolor{tDarkBg}{HTML}{232931} +\definecolor{tDarkFg}{HTML}{EEEEEE} +\definecolor{tLightBg}{HTML}{FFFFFF} +\newcommand{\trigon@colors@dark}{ + \colorlet{tPrim}{tGreenBlueLight} + \colorlet{tSec}{tGreenBlue} + \colorlet{tAccent}{tYellowOrange} + \colorlet{tTxt}{tDarkFg} + \colorlet{tBg}{tDarkBg} + \colorlet{tGreyBg}{tGrey!7!tBg} +} +\newcommand{\trigon@colors@light}{ + \colorlet{tPrim}{tGreenBlue} + \colorlet{tSec}{tGreenBlue} + \colorlet{tAccent}{tOrange} + \colorlet{tTxt}{black} + \colorlet{tBg}{tLightBg} + \colorlet{tGreyBg}{tGrey!25!tBg} +} +\colorlet{tGrey}{tBeige} +\colorlet{tTheme}{tGreenBlue} +\setbeamercolor{background canvas}{bg=tBg} +\setbeamercolor{normal text}{fg=\txtcol, bg=tBg} +\setbeamercolor{example text}{fg=tPrim} \setbeamercolor{alerted text}{fg=tAccent} -\setbeamercolor{example text}{fg=tSec} \setbeamercolor{title}{fg=\headcol, bg= , parent=normal text} \setbeamercolor{titlelike}{use=title, parent=title} @@ -80,7 +110,7 @@ \setbeamercolor{block title}{% use=normal text, fg=normal text.fg, - bg=normal text.bg!80!fg + bg=normal text.bg!80!normal text.fg } \setbeamercolor{block body}{ use={block title, normal text}, @@ -100,18 +130,18 @@ } \setbeamercolor{block body alerted}{use=block body, parent=block body} \setbeamercolor{block body example}{use=block body, parent=block body} -\setbeamercolor{footnote}{fg=normal text.fg!90} +\setbeamercolor{footnote}{fg=normal text.fg!90!normal text.bg} \setbeamercolor{footnote mark}{fg=.} -\setbeamercolor{footline}{fg=normal text.fg!50, parent=normal text} -\setbeamercolor{caption}{fg=black!60, parent=normal text} +\setbeamercolor{footline}{fg=normal text.fg!50!normal text.bg, parent=normal text} +\setbeamercolor{caption}{fg=normal text.fg!60!normal text.bg, parent=normal text} -\setbeamercolor{itemize item}{fg=tPrim, parent=normal text} +\setbeamercolor{itemize item}{use=example text, parent=example text} \setbeamercolor{itemize subitem}{use=itemize item, parent=itemize item} \setbeamercolor{itemize subsubitem}{use=itemize item, parent=itemize item} -\setbeamercolor{enumerate item}{fg=tPrim, parent=normal text} +\setbeamercolor{enumerate item}{use=example text, parent=example text} \setbeamercolor{enumerate subitem}{use=enumerate item, parent=enumerate item} \setbeamercolor{enumerate subsubitem}{use=enumerate item, parent=enumerate item} -\setbeamercolor{description item}{fg=tPrim, parent=normal text} +\setbeamercolor{description item}{use=example text, parent=example text} \trigon@color@setdefaults \ProcessPgfPackageOptions{/trigon/color} \endinput diff --git a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerfontthemetrigon.sty b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerfontthemetrigon.sty index c9122377c30..ea5048e7d70 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerfontthemetrigon.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerfontthemetrigon.sty @@ -18,7 +18,7 @@ %% International License (https://creativecommons.org/licenses/by-sa/4.0/) %% --------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerfontthemetrigon}[2021/03/25 v0.5.0 Trigon font theme] +\ProvidesPackage{beamerfontthemetrigon}[2021/09/06 v0.6.0 Trigon font theme] \RequirePackage{pgfopts} \pgfkeys{ /trigon/font/titleformat title/.cd, diff --git a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerinnerthemetrigon.sty b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerinnerthemetrigon.sty index 035f79bbe75..2626acbee97 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerinnerthemetrigon.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerinnerthemetrigon.sty @@ -18,7 +18,7 @@ %% International License (https://creativecommons.org/licenses/by-sa/4.0/) %% --------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerinnerthemetrigon}[2021/03/25 v0.5.0 Trigon inner theme] +\ProvidesPackage{beamerinnerthemetrigon}[2021/09/06 v0.6.0 Trigon inner theme] \RequirePackage{pgfopts} \RequirePackage{tikz} \usetikzlibrary{calc,3d} @@ -36,9 +36,12 @@ simple/.code=\trigon@enablesectionpage \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] } \def\titlestyle{} \pgfkeys{ @@ -99,14 +102,14 @@ sectionstyle=plain \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} } \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}, @@ -143,16 +146,16 @@ sectionstyle=plain \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}}; @@ -162,12 +165,12 @@ sectionstyle=plain \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}; @@ -177,29 +180,29 @@ sectionstyle=plain \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} } \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} } \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} } \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} } \setbeamertemplate{background}[\slidestyle] diff --git a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerouterthemetrigon.sty b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerouterthemetrigon.sty index 632340a5bd1..a2f9bbd77aa 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerouterthemetrigon.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerouterthemetrigon.sty @@ -18,7 +18,7 @@ %% International License (https://creativecommons.org/licenses/by-sa/4.0/) %% --------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerouterthemetrigon}[2021/03/25 v0.5.0 Trigon outer theme] +\ProvidesPackage{beamerouterthemetrigon}[2021/09/06 v0.6.0 Trigon outer theme] \RequirePackage{pgfopts} \def\logsmall{} \newcommand\smalllogo[1]{ diff --git a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerthemetrigon.sty b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerthemetrigon.sty index b6c99635a33..47389ad5013 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerthemetrigon.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerthemetrigon.sty @@ -18,7 +18,7 @@ %% International License (https://creativecommons.org/licenses/by-sa/4.0/) %% --------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerthemetrigon}[2021/03/25 v0.5.0 Trigon Beamer theme] +\ProvidesPackage{beamerthemetrigon}[2021/09/06 v0.6.0 Trigon Beamer theme] \RequirePackage{pgfopts} \RequirePackage{tikz} \pgfkeys{/trigon/.cd, |