diff options
Diffstat (limited to 'Master/texmf-dist/tex')
5 files changed, 505 insertions, 455 deletions
diff --git a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamercolorthemetrigon.sty b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamercolorthemetrigon.sty index 91427ba2da7..439e3739749 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamercolorthemetrigon.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamercolorthemetrigon.sty @@ -18,40 +18,40 @@ %% International License (https://creativecommons.org/licenses/by-sa/4.0/) %% --------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamercolorthemetrigon}[2021/09/06 v0.6.0 Trigon color theme] +\ProvidesPackage{beamercolorthemetrigon}[2021/11/10 v0.6.2 Trigon color theme] \RequirePackage{pgfopts} \pgfkeys{ /trigon/color/background/.cd, - .is choice, - dark/.code=\trigon@colors@dark, - light/.code=\trigon@colors@light + .is choice, + dark/.code=\trigon@colors@dark, + light/.code=\trigon@colors@light } \def\headcol{tDefaulttxt} \pgfkeys{ /trigon/color/headingcolor/.cd, - .is choice, - default/.code=\def\headcol{tTxt}, - theme/.code=\def\headcol{tPrim} + .is choice, + default/.code=\def\headcol{tTxt}, + theme/.code=\def\headcol{tPrim} } \def\txtcol{black} \pgfkeys{ /trigon/color/textcolor/.cd, - .is choice, - default/.code=\def\txtcol{tTxt}, - theme/.code=\def\txtcol{tPrim!50!tTxt} + .is choice, + default/.code=\def\txtcol{tTxt}, + theme/.code=\def\txtcol{tPrim!50!tTxt} } \pgfkeys{ /trigon/color/block/.cd, - .is choice, - transparent/.code=\trigon@block@transparent, - fill/.code=\trigon@block@fill + .is choice, + transparent/.code=\trigon@block@transparent, + fill/.code=\trigon@block@fill } \newcommand{\trigon@color@setdefaults}{ \pgfkeys{/trigon/color/.cd, - background=light, - block=fill, - headingcolor=default, - textcolor=default + background=light, + block=fill, + headingcolor=default, + textcolor=default } } \definecolor{tGreenBlue}{HTML}{00707F} diff --git a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerfontthemetrigon.sty b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerfontthemetrigon.sty index ea5048e7d70..83f9fc9d1eb 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerfontthemetrigon.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerfontthemetrigon.sty @@ -18,111 +18,111 @@ %% International License (https://creativecommons.org/licenses/by-sa/4.0/) %% --------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerfontthemetrigon}[2021/09/06 v0.6.0 Trigon font theme] +\ProvidesPackage{beamerfontthemetrigon}[2021/11/10 v0.6.2 Trigon font theme] \RequirePackage{pgfopts} \pgfkeys{ /trigon/font/titleformat title/.cd, - .is choice, - regular/.code={% - \let\trigon@titleformat\@empty% - \setbeamerfont{title}{shape=\normalfont}% - }, - smallcaps/.code={% - \let\trigon@titleformat\@empty% - \setbeamerfont{title}{shape=\scshape}% - }, - allsmallcaps/.code={% - \let\trigon@titleformat\lowercase% - \setbeamerfont{title}{shape=\scshape}% - \PackageWarning{beamerthemetrigon}{% - Be aware that titleformat title=allsmallcaps can lead to problems% - } - }, - allcaps/.code={% - \let\trigon@titleformat\uppercase% - \setbeamerfont{title}{shape=\normalfont} - \PackageWarning{beamerthemetrigon}{% - Be aware that titleformat title=allcaps can lead to problems% - } - }, + .is choice, + regular/.code={% + \let\trigon@titleformat\@empty% + \setbeamerfont{title}{shape=\normalfont}% + }, + smallcaps/.code={% + \let\trigon@titleformat\@empty% + \setbeamerfont{title}{shape=\scshape}% + }, + allsmallcaps/.code={% + \let\trigon@titleformat\lowercase% + \setbeamerfont{title}{shape=\scshape}% + \PackageWarning{beamerthemetrigon}{% + Be aware that titleformat title=allsmallcaps can lead to problems% + } + }, + allcaps/.code={% + \let\trigon@titleformat\uppercase% + \setbeamerfont{title}{shape=\normalfont}% + \PackageWarning{beamerthemetrigon}{% + Be aware that titleformat title=allcaps can lead to problems% + } + }, } \pgfkeys{ /trigon/font/titleformat subtitle/.cd, - .is choice, - regular/.code={% - \let\trigon@subtitleformat\@empty% - \setbeamerfont{subtitle}{shape=\normalfont}% - }, - smallcaps/.code={% - \let\trigon@subtitleformat\@empty% - \setbeamerfont{subtitle}{shape=\scshape}% - }, - allsmallcaps/.code={% - \let\trigon@subtitleformat\lowercase% - \setbeamerfont{subtitle}{shape=\scshape}% - \PackageWarning{beamerthemetrigon}{% - Be aware that titleformat subtitle=allsmallcaps can lead to problems% - } - }, - allcaps/.code={% - \let\trigon@subtitleformat\uppercase% - \setbeamerfont{subtitle}{shape=\normalfont}% - \PackageWarning{beamerthemetrigon}{% - Be aware that titleformat subtitle=allcaps can lead to problems% - } - }, + .is choice, + regular/.code={% + \let\trigon@subtitleformat\@empty% + \setbeamerfont{subtitle}{shape=\normalfont}% + }, + smallcaps/.code={% + \let\trigon@subtitleformat\@empty% + \setbeamerfont{subtitle}{shape=\scshape}% + }, + allsmallcaps/.code={% + \let\trigon@subtitleformat\lowercase% + \setbeamerfont{subtitle}{shape=\scshape}% + \PackageWarning{beamerthemetrigon}{% + Be aware that titleformat subtitle=allsmallcaps can lead to problems% + } + }, + allcaps/.code={% + \let\trigon@subtitleformat\uppercase% + \setbeamerfont{subtitle}{shape=\normalfont}% + \PackageWarning{beamerthemetrigon}{% + Be aware that titleformat subtitle=allcaps can lead to problems% + } + }, } \pgfkeys{ /trigon/font/titleformat section/.cd, - .is choice, - regular/.code={% - \let\trigon@sectiontitleformat\@empty% - \setbeamerfont{section title}{shape=\normalfont}% - }, - smallcaps/.code={% - \let\trigon@sectiontitleformat\@empty% - \setbeamerfont{section title}{shape=\scshape}% - }, - allsmallcaps/.code={% - \let\trigon@sectiontitleformat\MakeLowercase% - \setbeamerfont{section title}{shape=\scshape}% - \PackageWarning{beamerthemetrigon}{% - Be aware that titleformat section=allsmallcaps can lead to problems% - } - }, - allcaps/.code={% - \let\trigon@sectiontitleformat\MakeUppercase% - \setbeamerfont{section title}{shape=\normalfont}% - \PackageWarning{beamerthemetrigon}{% - Be aware that titleformat section=allcaps can lead to problems% - } - }, + .is choice, + regular/.code={% + \let\trigon@sectiontitleformat\@empty% + \setbeamerfont{section title}{shape=\normalfont}% + }, + smallcaps/.code={% + \let\trigon@sectiontitleformat\@empty% + \setbeamerfont{section title}{shape=\scshape}% + }, + allsmallcaps/.code={% + \let\trigon@sectiontitleformat\MakeLowercase% + \setbeamerfont{section title}{shape=\scshape}% + \PackageWarning{beamerthemetrigon}{% + Be aware that titleformat section=allsmallcaps can lead to problems% + } + }, + allcaps/.code={% + \let\trigon@sectiontitleformat\MakeUppercase% + \setbeamerfont{section title}{shape=\normalfont}% + \PackageWarning{beamerthemetrigon}{% + Be aware that titleformat section=allcaps can lead to problems% + } + }, } \pgfkeys{ /trigon/font/titleformat frame/.cd, - .is choice, - regular/.code={% - \let\trigon@frametitleformat\@empty% - \setbeamerfont{frametitle}{shape=\normalfont}% - }, - smallcaps/.code={% - \let\trigon@frametitleformat\@empty% - \setbeamerfont{frametitle}{shape=\scshape}% - }, - allsmallcaps/.code={% - \let\trigon@frametitleformat\MakeLowercase% - \setbeamerfont{frametitle}{shape=\scshape}% - \PackageWarning{beamerthemetrigon}{% - Be aware that titleformat frame=allsmallcaps can lead to problems% - } - }, - allcaps/.code={% - \let\trigon@frametitleformat\MakeUppercase% - \setbeamerfont{frametitle}{shape=\normalfont} - \PackageWarning{beamerthemetrigon}{% - Be aware that titleformat frame=allcaps can lead to problems% - } - }, + .is choice, + regular/.code={% + \let\trigon@frametitleformat\@empty% + \setbeamerfont{frametitle}{shape=\normalfont}% + }, + smallcaps/.code={% + \let\trigon@frametitleformat\@empty% + \setbeamerfont{frametitle}{shape=\scshape}% + }, + allsmallcaps/.code={% + \let\trigon@frametitleformat\MakeLowercase% + \setbeamerfont{frametitle}{shape=\scshape}% + \PackageWarning{beamerthemetrigon}{% + Be aware that titleformat frame=allsmallcaps can lead to problems% + } + }, + allcaps/.code={% + \let\trigon@frametitleformat\MakeUppercase% + \setbeamerfont{frametitle}{shape=\normalfont} + \PackageWarning{beamerthemetrigon}{% + Be aware that titleformat frame=allcaps can lead to problems% + } + }, } \pgfkeys{ /trigon/font/.cd, @@ -144,80 +144,80 @@ \def\trigon@sectiontitleformat#1{#1} \def\trigon@frametitleformat#1{#1} \patchcmd{\beamer@title}% - {\def\inserttitle{#2}}% - {\def\inserttitle{\trigon@titleformat{#2}}}% - {}% - {\PackageError{beamerfontthemetrigon}{Patching title failed}\@ehc} +{\def\inserttitle{#2}}% +{\def\inserttitle{\trigon@titleformat{#2}}}% +{}% +{\PackageError{beamerfontthemetrigon}{Patching title failed}\@ehc} \patchcmd{\beamer@subtitle}% - {\def\insertsubtitle{#2}}% - {\def\insertsubtitle{\trigon@subtitleformat{#2}}}% - {}% - {\PackageError{beamerfontthemetrigon}{Patching subtitle failed}\@ehc} +{\def\insertsubtitle{#2}}% +{\def\insertsubtitle{\trigon@subtitleformat{#2}}}% +{}% +{\PackageError{beamerfontthemetrigon}{Patching subtitle failed}\@ehc} \patchcmd{\sectionentry} - {\def\insertsectionhead{#2}} - {\def\insertsectionhead{\trigon@sectiontitleformat{#2}}} - {} - {\PackageError{beamerfontthemetrigon}{Patching section title failed}\@ehc} +{\def\insertsectionhead{#2}} +{\def\insertsectionhead{\trigon@sectiontitleformat{#2}}} +{} +{\PackageError{beamerfontthemetrigon}{Patching section title failed}\@ehc} \@tempswafalse \patchcmd{\beamer@section} - {\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}} - {\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% - \noexpand\trigon@sectiontitleformat{\unexpanded{#1}}}}} - {\@tempswatrue} - {} +{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}} +{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% +\noexpand\trigon@sectiontitleformat{\unexpanded{#1}}}}} +{\@tempswatrue} +{} \patchcmd{\beamer@section} - {\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}} - {\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{% - \trigon@sectiontitleformat{#1}}}} - {\@tempswatrue} - {} +{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}} +{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{% +\trigon@sectiontitleformat{#1}}}} +{\@tempswatrue} +{} \patchcmd{\beamer@section} - {\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}} - {\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% - \noexpand\trigon@sectiontitleformat{#1}}}} - {\@tempswatrue} - {} +{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}} +{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% +\noexpand\trigon@sectiontitleformat{#1}}}} +{\@tempswatrue} +{} \if@tempswa\else \PackageError{beamerfontthemetrigon}{Patching section title failed}\@ehc \fi \@tempswafalse \patchcmd{\beamer@subsection} - {\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}} - {\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% - \noexpand\trigon@sectiontitleformat{\unexpanded{#1}}}}} - {\@tempswatrue} - {} +{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}} +{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% +\noexpand\trigon@sectiontitleformat{\unexpanded{#1}}}}} +{\@tempswatrue} +{} \patchcmd{\beamer@subsection} - {\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{#1}}} - {\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{% - \trigon@sectiontitleformat{#1}}}} - {\@tempswatrue} - {} +{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{#1}}} +{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{% +\trigon@sectiontitleformat{#1}}}} +{\@tempswatrue} +{} \patchcmd{\beamer@subsection} - {\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}} - {\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% - \noexpand\trigon@sectiontitleformat{#1}}}} - {\@tempswatrue} - {} +{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}} +{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% +\noexpand\trigon@sectiontitleformat{#1}}}} +{\@tempswatrue} +{} \if@tempswa\else \PackageError{beamerfontthemetrigon}{Patching section title failed}\@ehc \fi \patchcmd{\beamer@@frametitle} - {{% - \gdef\insertframetitle{{#2\ifnum\beamer@autobreakcount>0\relax{}\space% - \usebeamertemplate*{frametitle continuation}\fi}}% +{{% + \gdef\insertframetitle{{#2\ifnum\beamer@autobreakcount>0\relax{}\space% + \usebeamertemplate*{frametitle continuation}\fi}}% \gdef\beamer@frametitle{#2}% \gdef\beamer@shortframetitle{#1}% - }} - {{% - \gdef\insertframetitle{{\trigon@frametitleformat{#2}\ifnum% - \beamer@autobreakcount>0\relax{}\space% - \usebeamertemplate*{frametitle continuation}\fi}}% +}} +{{% + \gdef\insertframetitle{{\trigon@frametitleformat{#2}\ifnum% + \beamer@autobreakcount>0\relax{}\space% + \usebeamertemplate*{frametitle continuation}\fi}}% \gdef\beamer@frametitle{#2}% \gdef\beamer@shortframetitle{#1}% - }} - {} - {\PackageError{beamerfontthemetrigon}{Patching frame title failed}\@ehc} +}} +{} +{\PackageError{beamerfontthemetrigon}{Patching frame title failed}\@ehc} \setbeamerfont{author} {size=\normalsize} \setbeamerfont{title} {size=\LARGE,series=\bfseries} \setbeamerfont{section title}{size=\LARGE,series=\mdseries} diff --git a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerinnerthemetrigon.sty b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerinnerthemetrigon.sty index 2626acbee97..f12fd292f96 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerinnerthemetrigon.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerinnerthemetrigon.sty @@ -18,345 +18,395 @@ %% International License (https://creativecommons.org/licenses/by-sa/4.0/) %% --------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerinnerthemetrigon}[2021/09/06 v0.6.0 Trigon inner theme] +\ProvidesPackage{beamerinnerthemetrigon}[2021/11/10 v0.6.2 Trigon inner theme] \RequirePackage{pgfopts} \RequirePackage{tikz} \usetikzlibrary{calc,3d} \def\logbig{} \newcommand\biglogo[1]{ -\def\logbig{#1} + \def\logbig{#1} } \pgfkeys{ -/trigon/inner/sectionpage/.cd, -.is choice, -none/.code=\trigon@disablesectionpage, -simple/.code=\trigon@enablesectionpage + /trigon/inner/sectionpage/.cd, + .is choice, + none/.code=\trigon@disablesectionpage, + simple/.code=\trigon@enablesectionpage } \def\slidestyle{} \pgfkeys{ -/trigon/inner/slidestyle/.cd, -.is choice, -blank/.code=\def\slidestyle{blank} -\setbeamertemplate{background}[\slidestyle], -style1/.code=\def\slidestyle{smallcornertriangle} -\setbeamertemplate{background}[\slidestyle], -cyber/.code=\def\slidestyle{cyberbottom} -\setbeamertemplate{background}[\slidestyle] + /trigon/inner/slidestyle/.cd, + .is choice, + 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{ -/trigon/inner/titlestyle/.cd, -.is choice, -plain/.code=\def\titlestyle{bottomtrianglescolor}, -style1/.code=\def\titlestyle{titlesmallimage}, -style2/.code=\def\titlestyle{titlebigimage} + /trigon/inner/titlestyle/.cd, + .is choice, + plain/.code=\def\titlestyle{bottomtrianglescolor}, + style1/.code=\def\titlestyle{titlesmallimage}, + style2/.code=\def\titlestyle{titlebigimage} } \def\sectionstyle{} \pgfkeys{ -/trigon/inner/sectionstyle/.cd, -.is choice, -plain/.code=\def\sectionstyle{bottomtrianglescolor}, -style1/.code=\def\sectionstyle{bigtriangles}, -style2/.code=\def\sectionstyle{lefttriangles}, -style3/.code=\def\sectionstyle{bottomtrianglesbw} + /trigon/inner/sectionstyle/.cd, + .is choice, + plain/.code=\def\sectionstyle{bottomtrianglescolor}, + style1/.code=\def\sectionstyle{bigtriangles}, + style2/.code=\def\sectionstyle{lefttriangles}, + style3/.code=\def\sectionstyle{bottomtrianglesbw} } \newcommand{\trigon@inner@setdefaults}{ -\pgfkeys{/trigon/inner/.cd, -sectionpage=simple, -slidestyle=blank, -titlestyle=style2, -sectionstyle=plain -} + \pgfkeys{/trigon/inner/.cd, + sectionpage=simple, + slidestyle=blank, + titlestyle=style2, + sectionstyle=plain + } } \newcommand{\leftTriangle}[2]{ -(#1,#2) --- (0,{#2 + tan(30)*#1} ) --- (0,{#2 - tan(30)*#1} ) --- cycle; + (#1,#2) + -- (0,{#2 + tan(30)*#1} ) + -- (0,{#2 - tan(30)*#1} ) + -- cycle; } \newcommand{\rightTriangle}[2]{ -(#1,#2) --- (\the\paperwidth,{#2 + tan(30)*(\the\paperwidth-#1)} ) --- (\the\paperwidth,{#2 - tan(30)*(\the\paperwidth-#1)} ) --- cycle; + (#1,#2) + -- (\the\paperwidth,{#2 + tan(30)*(\the\paperwidth-#1)} ) + -- (\the\paperwidth,{#2 - tan(30)*(\the\paperwidth-#1)} ) + -- cycle; } \newcommand{\topTriangle}[2]{ -(#1,#2) --- ({#1 - tan(60)*#2},0) --- ({#1 + tan(60)*#2},0) --- cycle; + (#1,#2) + -- ({#1 - tan(60)*#2},0) + -- ({#1 + tan(60)*#2},0) + -- cycle; } \newcommand{\leftColorTriangle}[3]{ -\path[fill=#3] -\leftTriangle{#1}{#2} + \path[fill=#3] + \leftTriangle{#1}{#2} } \newcommand{\rightColorTriangle}[3]{ -\path[fill=#3] -\rightTriangle{#1}{#2} + \path[fill=#3] + \rightTriangle{#1}{#2} } \newcommand{\topColorTriangle}[3]{ -\path[fill=#3] -\topTriangle{#1}{#2} + \path[fill=#3] + \topTriangle{#1}{#2} } \defbeamertemplate{background}{blank}{} \defbeamertemplate{background}{smallcornertriangle}{ -\begin{tikzpicture}[blend group=multiply] -\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight); -\leftColorTriangle{0.62\paperwidth}{0}{tGrey!30!tBg} -\end{tikzpicture} + \begin{tikzpicture}[blend group=multiply] + \useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight); + \leftColorTriangle{0.62\paperwidth}{0}{tGrey!30!tBg} + \end{tikzpicture} } \defbeamertemplate{background}{cyberbottom}{ -\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}, -{(0.02\paperwidth,0.53\paperheight)/1}, -{(-0.04\paperwidth,0.38\paperheight)/2}, -{(0.08\paperwidth,0.40\paperheight)/3}, -{(0.052\paperwidth,0.21\paperheight)/5}, -{(0.24\paperwidth,0.26\paperheight)/6}, -{(-0.08\paperwidth,-0.06\paperheight)/7}, -{(0.12\paperwidth,0.07\paperheight)/8}, -{(0.2\paperwidth,0.-0.08\paperheight)/9}, -{(0.38\paperwidth,0.06\paperheight)/10}, -{(0.56\paperwidth,-0.08\paperheight)/11}} -\node[cyberVertex] (\name) at \pos {}; -\foreach \pos/\name in { -{(-0.05\paperwidth,0.75\paperheight)/0}, -{(0.02\paperwidth,0.53\paperheight)/1}, -{(-0.04\paperwidth,0.38\paperheight)/2}, -{(0.08\paperwidth,0.40\paperheight)/3}, -{(0.052\paperwidth,0.21\paperheight)/5}, -{(0.24\paperwidth,0.26\paperheight)/6}, -{(-0.08\paperwidth,-0.06\paperheight)/7}, -{(0.12\paperwidth,0.07\paperheight)/8}, -{(0.2\paperwidth,0.-0.08\paperheight)/9}, -{(0.38\paperwidth,0.06\paperheight)/10}, -{(0.56\paperwidth,-0.08\paperheight)/11}} -\node[cyberVertex2] (\name_2) at \pos {}; -\foreach \source/ \dest in -{0/1,1/2,1/3,2/3,2/5,3/5,3/6,5/6,5/7,7/8,5/8,8/6,8/9,6/9,9/10,10/6,10/11} -\path[cyberEdge] (\source) -- (\dest); -\end{tikzpicture} + \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}, + {(0.02\paperwidth,0.53\paperheight)/1}, + {(-0.04\paperwidth,0.38\paperheight)/2}, + {(0.08\paperwidth,0.40\paperheight)/3}, + {(0.052\paperwidth,0.21\paperheight)/5}, + {(0.24\paperwidth,0.26\paperheight)/6}, + {(-0.08\paperwidth,-0.06\paperheight)/7}, + {(0.12\paperwidth,0.07\paperheight)/8}, + {(0.2\paperwidth,0.-0.08\paperheight)/9}, + {(0.38\paperwidth,0.06\paperheight)/10}, + {(0.56\paperwidth,-0.08\paperheight)/11}} + \node[cyberVertex] (\name) at \pos {}; + \foreach \pos/\name in { + {(-0.05\paperwidth,0.75\paperheight)/0}, + {(0.02\paperwidth,0.53\paperheight)/1}, + {(-0.04\paperwidth,0.38\paperheight)/2}, + {(0.08\paperwidth,0.40\paperheight)/3}, + {(0.052\paperwidth,0.21\paperheight)/5}, + {(0.24\paperwidth,0.26\paperheight)/6}, + {(-0.08\paperwidth,-0.06\paperheight)/7}, + {(0.12\paperwidth,0.07\paperheight)/8}, + {(0.2\paperwidth,0.-0.08\paperheight)/9}, + {(0.38\paperwidth,0.06\paperheight)/10}, + {(0.56\paperwidth,-0.08\paperheight)/11}} + \node[cyberVertex2] (\name_2) at \pos {}; + \foreach \source/ \dest in + {0/1,1/2,1/3,2/3,2/5,3/5,3/6,5/6,5/7,7/8,5/8,8/6,8/9,6/9,9/10,10/6,10/11} + \path[cyberEdge] (\source) -- (\dest); + \end{tikzpicture} } \defbeamertemplate{background}{titlebigimage}{ -\begin{tikzpicture} -\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight); -\begin{scope}[blend group=multiply] -\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}{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=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}}; -\fi -\end{tikzpicture} + \begin{tikzpicture} + \useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight); + \begin{scope}[blend group=multiply] + \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}{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=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}}; + \fi + \end{tikzpicture} } \defbeamertemplate{background}{titlesmallimage}{ -\begin{tikzpicture}[blend group=multiply] -\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}}; -\fi -\ifx\inserttitlegraphic\@empty -\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}; -\fi -\end{tikzpicture} + \begin{tikzpicture}[blend group=multiply] + \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}}; + \fi + \ifx\inserttitlegraphic\@empty + \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}; + \fi + \end{tikzpicture} } \defbeamertemplate{background}{bottomtrianglescolor}{ -\begin{tikzpicture}[blend group=multiply] -\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight); -\leftColorTriangle{0.62\paperwidth}{0}{tTheme} -\rightColorTriangle{0.38\paperwidth}{0}{tSec} -\end{tikzpicture} + \begin{tikzpicture}[blend group=multiply] + \useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight); + \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}{tTheme} -\rightColorTriangle{0.38\paperwidth}{0}{tGrey!30!tBg} -\end{tikzpicture} + \begin{tikzpicture}[blend group=multiply] + \useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight); + \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}{tTheme} -\rightColorTriangle{0.68\paperwidth}{0.58\paperheight}{tGrey!30!tBg} -\end{tikzpicture} + \begin{tikzpicture}[blend group=multiply] + \useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight); + \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}{tTheme} -\leftColorTriangle{0.775\paperwidth}{0}{tGrey!30!tBg} -\end{tikzpicture} + \begin{tikzpicture}[blend group=multiply] + \useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight); + \leftColorTriangle{0.52\paperwidth}{\the\paperheight}{tTheme} + \leftColorTriangle{0.775\paperwidth}{0}{tGrey!30!tBg} + \end{tikzpicture} } \setbeamertemplate{background}[\slidestyle] \newcommand{\titleframe}{ -\setbeamertemplate{title page}[\titlestyle] -\setbeamertemplate{background}[\titlestyle] -\frame[plain,noframenumbering]{\titlepage} -\setbeamertemplate{background}[\slidestyle] + \setbeamertemplate{title page}[\titlestyle] + \setbeamertemplate{background}[\titlestyle] + \frame[plain,noframenumbering]{\titlepage} + \setbeamertemplate{background}[\slidestyle] } \newcommand{\sectionframe}{ -\setbeamertemplate{section page}[\sectionstyle] -\setbeamertemplate{background}[\sectionstyle] -\frame[plain,noframenumbering]{\sectionpage} -\setbeamertemplate{background}[\slidestyle] + \setbeamertemplate{section page}[\sectionstyle] + \setbeamertemplate{background}[\sectionstyle] + \frame[plain,noframenumbering]{\sectionpage} + \setbeamertemplate{background}[\slidestyle] } \newcommand{\trigon@disablesectionpage}{ -\AtBeginSection{ -} + \AtBeginSection{ + % intentionally empty + } } \newcommand{\trigon@enablesectionpage}{ -\AtBeginSection{ -\sectionframe -} + \AtBeginSection{ + \sectionframe + } } \defbeamertemplate{title page}{titlebigimage} { -\vskip140pt -\begin{flushright} -\begin{minipage}[t][][c]{0.5\textwidth}% -\centering -\usebeamerfont{title}\usebeamercolor[fg]{title} -\inserttitle\par -\end{minipage} -\ifx \insertsubtitle\@empty -\else -\vskip15pt -\begin{minipage}[t][][c]{0.5\textwidth}% -\centering -\usebeamerfont{subtitle}\insertsubtitle\par% -\end{minipage} -\fi -\vskip15pt -\begin{minipage}[t][][c]{0.5\textwidth}% -\centering -\usebeamerfont{author}\insertauthor% -\vskip10pt -\usebeamerfont{date}\insertdate% -\end{minipage} + \vskip135pt + \begin{flushright} + \begin{minipage}[t][][c]{0.5\textwidth}% + \centering + \usebeamerfont{title}\usebeamercolor[fg]{title} + \inserttitle\par + \end{minipage} + \ifx \insertsubtitle\@empty + \else + \vskip15pt + \begin{minipage}[t][][c]{0.5\textwidth}% + \centering + \usebeamerfont{subtitle}\insertsubtitle\par% + \end{minipage} + \fi + \vskip13pt + \begin{minipage}[t][][c]{0.5\textwidth}% + \centering + \usebeamerfont{author}\insertauthor% + \vskip5pt + \usebeamerfont{date}\insertdate% + \end{minipage} \end{flushright} \vfill } \defbeamertemplate{title page}{titlesmallimage} { -\vskip140pt% -\begin{beamercolorbox}[wd=\textwidth,sep=4pt]{title page header} -\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle\par% -\end{beamercolorbox}% -\ifx \insertsubtitle\@empty + \vskip140pt% + \begin{beamercolorbox}[wd=\textwidth,sep=4pt]{title page header} + \usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle\par% + \end{beamercolorbox}% + \ifx \insertsubtitle\@empty \else -\vskip8pt -\begin{beamercolorbox}[wd=\textwidth,sep=4pt]{subtitle page header} -\usebeamerfont{subtitle}\insertsubtitle\par% -\end{beamercolorbox}% + \vskip8pt + \begin{beamercolorbox}[wd=\textwidth,sep=4pt]{subtitle page header} + \usebeamerfont{subtitle}\insertsubtitle\par% + \end{beamercolorbox}% \fi \vskip10pt \begin{beamercolorbox}[wd=\textwidth,sep=4pt]{author} -\usebeamerfont{author}\insertauthor% + \usebeamerfont{author}\insertauthor% \end{beamercolorbox} \vskip2pt% \begin{beamercolorbox}[wd=\textwidth,sep=4pt]{date} -\usebeamerfont{date}\insertdate% + \usebeamerfont{date}\insertdate% \end{beamercolorbox} \vfill } \defbeamertemplate{title page}{bottomtrianglescolor} { -\vskip0pt -\begin{center} -\begin{minipage}[t][][t]{\textwidth} -\centering% -\ifx\logbig\@empty \else -\includegraphics[height=0.15\textheight]{\logbig} -\fi -\end{minipage} -\vskip15pt -\begin{minipage}[t][][c]{\textwidth}% -\centering -\usebeamerfont{title}\usebeamercolor[fg]{title} -\inserttitle\par -\end{minipage} -\ifx \insertsubtitle\@empty -\else -\vskip15pt -\begin{minipage}[t][][c]{\textwidth}% -\centering -\usebeamerfont{subtitle}\insertsubtitle\par% -\end{minipage} -\fi -\vskip20pt -\begin{minipage}[t][][c]{0.5\textwidth}% -\centering -\usebeamerfont{author}\insertauthor\\[0.3cm]% -\usebeamerfont{date}\insertdate -\end{minipage} + \vskip0pt + \begin{center} + \begin{minipage}[t][][t]{\textwidth} + \centering% + \ifx\logbig\@empty \else + \includegraphics[height=0.15\textheight]{\logbig} + \fi + \end{minipage} + \vskip15pt + \begin{minipage}[t][][c]{\textwidth}% + \centering + \usebeamerfont{title}\usebeamercolor[fg]{title} + \inserttitle\par + \end{minipage} + \ifx \insertsubtitle\@empty + \else + \vskip15pt + \begin{minipage}[t][][c]{\textwidth}% + \centering + \usebeamerfont{subtitle}\insertsubtitle\par% + \end{minipage} + \fi + \vskip20pt + \begin{minipage}[t][][c]{0.5\textwidth}% + \centering + \usebeamerfont{author}\insertauthor\\[0.3cm]% + \usebeamerfont{date}\insertdate + \end{minipage} \end{center} \vfill } \defbeamertemplate{section page}{bottomtrianglescolor} { -\vskip40pt -\begin{center} -\begin{minipage}[t][][c]{\textwidth}% -\centering -\usebeamerfont{section title}\usebeamercolor[fg]{title} -\insertsectionhead\par -\end{minipage} -\end{center} -\vfill + \vskip40pt + \begin{center} + \begin{minipage}[t][][c]{\textwidth}% + \centering + \usebeamerfont{section title}\usebeamercolor[fg]{title} + \insertsectionhead\par + \end{minipage} + \end{center} + \vfill } \defbeamertemplate{section page}{bottomtrianglesbw} { -\vskip40pt -\begin{center} -\begin{minipage}[t][][c]{\textwidth}% -\centering -\usebeamerfont{section title}\usebeamercolor[fg]{title} -\insertsectionhead\par -\end{minipage} -\end{center} -\vfill + \vskip40pt + \begin{center} + \begin{minipage}[t][][c]{\textwidth}% + \centering + \usebeamerfont{section title}\usebeamercolor[fg]{title} + \insertsectionhead\par + \end{minipage} + \end{center} + \vfill } \defbeamertemplate{section page}{bigtriangles} { -\vskip200pt -\begin{flushright} -\begin{minipage}[t]{0.62\textwidth}%7 -\usebeamerfont{section title}\usebeamercolor[fg]{title} -\raggedleft -\insertsectionhead\par -\end{minipage} -\end{flushright} -\vfill + \vskip200pt + \begin{flushright} + \begin{minipage}[t]{0.62\textwidth}%7 + \usebeamerfont{section title}\usebeamercolor[fg]{title} + \raggedleft + \insertsectionhead\par + \end{minipage} + \end{flushright} + \vfill } \defbeamertemplate{section page}{lefttriangles} { -\vskip25pt -\begin{beamercolorbox}[wd=\textwidth,leftskip=100pt,sep=4pt]{section page header} -\usebeamerfont{section title}\usebeamercolor[fg]{title} -\insertsectionhead\par -\end{beamercolorbox}% -\vfill -} + \vskip25pt + \begin{beamercolorbox}[wd=\textwidth,leftskip=100pt,sep=4pt]{section page header} + \usebeamerfont{section title}\usebeamercolor[fg]{title} + \insertsectionhead\par + \end{beamercolorbox}% + \vfill +} +\newlength{\trigon@blocksep} +\newlength{\trigon@blockadjust} +\setlength{\trigon@blocksep}{0.75ex} +\setlength{\trigon@blockadjust}{0.25ex} +\providecommand{\trigon@strut}{% + \vphantom{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz()}% +} +\newcommand{\trigon@block}[1]{ + \par\vskip\medskipamount% + \setlength{\parskip}{0pt} + \ifbeamercolorempty[bg]{block title#1}{% + \begin{beamercolorbox}[rightskip=0pt plus 4em]{block title#1}}{% + \ifbeamercolorempty[bg]{block title}{% + \begin{beamercolorbox}[rightskip=0pt plus 4em]{block title#1}% + }% + {% + \begin{beamercolorbox}[ + sep=\dimexpr\trigon@blocksep-\trigon@blockadjust\relax, + leftskip=\trigon@blockadjust, + rightskip=\dimexpr\trigon@blockadjust plus 4em\relax + ]{block title#1}% + }}% + \usebeamerfont*{block title#1}% + \trigon@strut% + \insertblocktitle% + \trigon@strut% + \end{beamercolorbox}% + \nointerlineskip% + \ifbeamercolorempty[bg]{block body#1}{% + \begin{beamercolorbox}[vmode]{block body#1}}{ + \ifbeamercolorempty[bg]{block body}{% + \begin{beamercolorbox}[vmode]{block body#1}% + }{% + \begin{beamercolorbox}[sep=\trigon@blocksep, vmode]{block body#1}% + \vspace{-\trigon@parskip} + }}% + \usebeamerfont{block body#1}% + \setlength{\parskip}{\trigon@parskip}% +} +\setbeamertemplate{block begin}{\trigon@block{}} +\setbeamertemplate{block alerted begin}{\trigon@block{ alerted}} +\setbeamertemplate{block example begin}{\trigon@block{ example}} +\setbeamertemplate{block end}{\end{beamercolorbox}\vspace*{0.2ex}} +\setbeamertemplate{block alerted end}{\end{beamercolorbox}\vspace*{0.2ex}} +\setbeamertemplate{block example end}{\end{beamercolorbox}\vspace*{0.2ex}} \setbeamertemplate{caption label separator}{: } \setbeamertemplate{caption}[numbered] +\newlength{\trigon@parskip} +\setlength{\trigon@parskip}{0.5em} +\setlength{\parskip}{\trigon@parskip} +\linespread{1.15} \setbeamersize{text margin left=.05\paperwidth, text margin right=.05\paperwidth} \trigon@inner@setdefaults \ProcessPgfPackageOptions{/trigon/inner} diff --git a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerouterthemetrigon.sty b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerouterthemetrigon.sty index a2f9bbd77aa..47062c5af29 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/09/06 v0.6.0 Trigon outer theme] +\ProvidesPackage{beamerouterthemetrigon}[2021/11/10 v0.6.2 Trigon outer theme] \RequirePackage{pgfopts} \def\logsmall{} \newcommand\smalllogo[1]{ @@ -26,10 +26,10 @@ } \pgfkeys{ /trigon/outer/numbering/.cd, - .is choice, - none/.code=\setbeamertemplate{frame numbering}[none], - counter/.code=\setbeamertemplate{frame numbering}[counter], - fraction/.code=\setbeamertemplate{frame numbering}[fraction] + .is choice, + none/.code=\setbeamertemplate{frame numbering}[none], + counter/.code=\setbeamertemplate{frame numbering}[counter], + fraction/.code=\setbeamertemplate{frame numbering}[fraction] } \newcommand{\trigon@outer@setdefaults}{ \pgfkeys{/trigon/outer/.cd, @@ -40,21 +40,21 @@ { \vspace{-1pt} \begin{beamercolorbox}[wd=\paperwidth,leftskip=0.05\paperwidth]{frametitle} - \vskip.4cm - \ifx\insertframesubtitle\@empty% + \vskip.4cm + \ifx\insertframesubtitle\@empty% {\usebeamerfont{frametitle}\usebeamercolor[fg]{frametitle}\insertframetitle}% - \else% + \else% {\usebeamerfont{frametitle}\usebeamercolor[fg]{frametitle}\insertframetitle}\\[-.25cm] {\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle}% - \fi - \vskip.3cm + \fi + \vskip.3cm \end{beamercolorbox} } \defbeamertemplate{headline}{none}{} \defbeamertemplate*{headline}{logo}{ -\ifx\logsmall\@empty\else - \hfill\includegraphics[width=20pt]{\logsmall}\hspace{20pt}\vspace{-40pt} -\fi + \ifx\logsmall\@empty\else + \hfill\includegraphics[width=20pt]{\logsmall}\hspace{20pt}\vspace{-40pt} + \fi } \setbeamertemplate{navigation symbols}{} @@ -81,8 +81,8 @@ \apptocmd{\appendix}{% \pgfkeys{% /trigon/outer/.cd, - numbering=none} - }{}{} + numbering=none} + }{}{} } \trigon@outer@setdefaults \ProcessPgfPackageOptions{/trigon/outer} diff --git a/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerthemetrigon.sty b/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerthemetrigon.sty index 47389ad5013..778ac5a6dc4 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/09/06 v0.6.0 Trigon Beamer theme] +\ProvidesPackage{beamerthemetrigon}[2021/11/10 v0.6.2 Trigon Beamer theme] \RequirePackage{pgfopts} \RequirePackage{tikz} \pgfkeys{/trigon/.cd, @@ -31,38 +31,38 @@ } \pgfkeys{ /trigon/titleformat plain/.cd, - .is choice, - regular/.code={% - \let\trigon@plaintitleformat\@empty% - \setbeamerfont{standout}{shape=\normalfont}% - }, - smallcaps/.code={% - \let\trigon@plaintitleformat\@empty% - \setbeamerfont{standout}{shape=\scshape}% - }, - allsmallcaps/.code={% - \let\trigon@plaintitleformat\MakeLowercase% - \setbeamerfont{standout}{shape=\scshape}% - \PackageWarning{beamerthemetrigon}{% - Be aware that titleformat plain=allsmallcaps can lead to problems% - } - }, - allcaps/.code={% - \let\trigon@plaintitleformat\MakeUppercase% - \setbeamerfont{standout}{shape=\normalfont}% - \PackageWarning{beamerthemetrigon}{% - Be aware that titleformat plain=allcaps can lead to problems% - } - }, + .is choice, + regular/.code={% + \let\trigon@plaintitleformat\@empty% + \setbeamerfont{standout}{shape=\normalfont}% + }, + smallcaps/.code={% + \let\trigon@plaintitleformat\@empty% + \setbeamerfont{standout}{shape=\scshape}% + }, + allsmallcaps/.code={% + \let\trigon@plaintitleformat\MakeLowercase% + \setbeamerfont{standout}{shape=\scshape}% + \PackageWarning{beamerthemetrigon}{% + Be aware that titleformat plain=allsmallcaps can lead to problems% + } + }, + allcaps/.code={% + \let\trigon@plaintitleformat\MakeUppercase% + \setbeamerfont{standout}{shape=\normalfont}% + \PackageWarning{beamerthemetrigon}{% + Be aware that titleformat plain=allcaps can lead to problems% + } + }, } \pgfkeys{ /trigon/titleformat/.code=\pgfkeysalso{ - font/titleformat title=#1, - font/titleformat subtitle=#1, - font/titleformat section=#1, - font/titleformat frame=#1, - titleformat plain=#1, - } + font/titleformat title=#1, + font/titleformat subtitle=#1, + font/titleformat section=#1, + font/titleformat frame=#1, + titleformat plain=#1, + } } \newif\if@trigon@usesourcefonts \pgfkeys{/trigon/.cd, |