texlive[62597] branches/branch2021.final/Master/texmf-dist:

commits+karl at tug.org commits+karl at tug.org
Thu Mar 10 22:22:31 CET 2022


Revision: 62597
          http://tug.org/svn/texlive?view=revision&revision=62597
Author:   karl
Date:     2022-03-10 22:22:31 +0100 (Thu, 10 Mar 2022)
Log Message:
-----------
beamertheme-trigon (10mar22) (branch)

Modified Paths:
--------------
    branches/branch2021.final/Master/texmf-dist/doc/latex/beamertheme-trigon/trigon_demo.pdf
    branches/branch2021.final/Master/texmf-dist/doc/latex/beamertheme-trigon/trigontheme.pdf
    branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamercolorthemetrigon.dtx
    branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerfontthemetrigon.dtx
    branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerinnerthemetrigon.dtx
    branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerouterthemetrigon.dtx
    branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerthemetrigon.dtx
    branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/trigontheme.dtx
    branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamercolorthemetrigon.sty
    branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerfontthemetrigon.sty
    branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerinnerthemetrigon.sty
    branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerouterthemetrigon.sty
    branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerthemetrigon.sty

Modified: branches/branch2021.final/Master/texmf-dist/doc/latex/beamertheme-trigon/trigon_demo.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2021.final/Master/texmf-dist/doc/latex/beamertheme-trigon/trigontheme.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamercolorthemetrigon.dtx
===================================================================
--- branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamercolorthemetrigon.dtx	2022-03-10 21:22:19 UTC (rev 62596)
+++ branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamercolorthemetrigon.dtx	2022-03-10 21:22:31 UTC (rev 62597)
@@ -13,7 +13,7 @@
 % \iffalse
 %<*package>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamercolorthemetrigon}[2021/11/10 v0.6.2 Trigon color theme]
+\ProvidesPackage{beamercolorthemetrigon}[2022/03/10 v0.6.3 Trigon color theme]
 %</package>
 % \fi
 % \CheckSum{0}

Modified: branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerfontthemetrigon.dtx
===================================================================
--- branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerfontthemetrigon.dtx	2022-03-10 21:22:19 UTC (rev 62596)
+++ branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerfontthemetrigon.dtx	2022-03-10 21:22:31 UTC (rev 62597)
@@ -13,7 +13,7 @@
 % \iffalse
 %<*package>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerfontthemetrigon}[2021/11/10 v0.6.2 Trigon font theme]
+\ProvidesPackage{beamerfontthemetrigon}[2022/03/10 v0.6.3 Trigon font theme]
 %</package>
 % \fi
 % \CheckSum{0}

Modified: branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerinnerthemetrigon.dtx
===================================================================
--- branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerinnerthemetrigon.dtx	2022-03-10 21:22:19 UTC (rev 62596)
+++ branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerinnerthemetrigon.dtx	2022-03-10 21:22:31 UTC (rev 62597)
@@ -13,7 +13,7 @@
 % \iffalse
 %<*package>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerinnerthemetrigon}[2021/11/10 v0.6.2 Trigon inner theme]
+\ProvidesPackage{beamerinnerthemetrigon}[2022/03/10 v0.6.3 Trigon inner theme]
 %</package>
 % \fi
 % \CheckSum{0}
@@ -46,12 +46,15 @@
 %
 % \subsubsection{Definitions}
 %
-% We define the command |\logobig| to specify the logo that needs to be applied
-% displayed on the title frame.
+% We define the command |\biglogo| to specify the logo that needs to be
+% displayed on the title frame. This command is just a replacement for
+% |\includegraphics|, so it accepts the same options.
 %    \begin{macrocode}
 \def\logbig{}
-\newcommand\biglogo[1]{
-  \def\logbig{#1}
+\newcommand\biglogo[2][width=0.28\textwidth]{
+  \ifx#2\@empty\else
+    \def\logbig{\includegraphics[#1]{#2}}
+  \fi
 }
 %    \end{macrocode}
 %
@@ -290,7 +293,7 @@
     \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}
 }
@@ -305,7 +308,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}
@@ -491,7 +495,7 @@
     \begin{minipage}[t][][t]{\textwidth}
       \centering%
       \ifx\logbig\@empty \else
-        \includegraphics[height=0.15\textheight]{\logbig}
+        \logbig
       \fi
     \end{minipage}
     \vskip15pt

Modified: branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerouterthemetrigon.dtx
===================================================================
--- branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerouterthemetrigon.dtx	2022-03-10 21:22:19 UTC (rev 62596)
+++ branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerouterthemetrigon.dtx	2022-03-10 21:22:31 UTC (rev 62597)
@@ -13,7 +13,7 @@
 % \iffalse
 %<*package>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerouterthemetrigon}[2021/11/10 v0.6.2 Trigon outer theme]
+\ProvidesPackage{beamerouterthemetrigon}[2022/03/10 v0.6.3 Trigon outer theme]
 %</package>
 % \fi
 % \CheckSum{0}
@@ -35,12 +35,16 @@
 %    \end{macrocode}
 %
 % \subsubsection{Definitions}
-% We define the command |\logsmall| to specify the logo that needs to be applied
-% displayed on all normal frames.
+%
+% We define the command |\smalllogo| to specify the logo that needs to be applied
+% displayed on all normal frames. This command is just a replacement for
+% |\includegraphics|, so it accepts the same options.
 %    \begin{macrocode}
 \def\logsmall{}
-\newcommand\smalllogo[1]{
-  \def\logsmall{#1}
+\newcommand\smalllogo[2][width=20pt]{
+  \ifx#2\@empty\else
+    \def\logsmall{\includegraphics[#1]{#2}}
+  \fi
 }
 %    \end{macrocode}
 %
@@ -100,7 +104,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
 }
 %    \end{macrocode}

Modified: branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerthemetrigon.dtx
===================================================================
--- branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerthemetrigon.dtx	2022-03-10 21:22:19 UTC (rev 62596)
+++ branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/beamerthemetrigon.dtx	2022-03-10 21:22:31 UTC (rev 62597)
@@ -13,7 +13,7 @@
 % \iffalse
 %<*package>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerthemetrigon}[2021/11/10 v0.6.2 Trigon Beamer theme]
+\ProvidesPackage{beamerthemetrigon}[2022/03/10 v0.6.3 Trigon Beamer theme]
 %</package>
 % \fi
 % \CheckSum{0}

Modified: branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/trigontheme.dtx
===================================================================
--- branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/trigontheme.dtx	2022-03-10 21:22:19 UTC (rev 62596)
+++ branches/branch2021.final/Master/texmf-dist/source/latex/beamertheme-trigon/trigontheme.dtx	2022-03-10 21:22:31 UTC (rev 62597)
@@ -426,6 +426,19 @@
 \end{lstlisting}
 in your preamble.
 
+\subsection{Logos}
+
+The package allows the inclusion of logos on the title page and on the content
+slides. For that, the following commands are defined:
+\begin{lstlisting}
+  \biglogo[<options>]{path/to/your/titlepage_logo}
+  \smalllogo[<options>]{path/to/your/titlepage_logo}
+\end{lstlisting}
+These two commands are just replacements for |\includegraphics| and they will
+pass the options as-is so you can perfectly size and position the images.
+
+
+
 \section{Tips \& Tricks}
 
 \subsection{Backup Slides}

Modified: branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamercolorthemetrigon.sty
===================================================================
--- branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamercolorthemetrigon.sty	2022-03-10 21:22:19 UTC (rev 62596)
+++ branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamercolorthemetrigon.sty	2022-03-10 21:22:31 UTC (rev 62597)
@@ -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/03/10 v0.6.3 Trigon color theme]
 \RequirePackage{pgfopts}
 \pgfkeys{
   /trigon/color/background/.cd,

Modified: branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerfontthemetrigon.sty
===================================================================
--- branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerfontthemetrigon.sty	2022-03-10 21:22:19 UTC (rev 62596)
+++ branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerfontthemetrigon.sty	2022-03-10 21:22:31 UTC (rev 62597)
@@ -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/03/10 v0.6.3 Trigon font theme]
 \RequirePackage{pgfopts}
 \pgfkeys{
   /trigon/font/titleformat title/.cd,

Modified: branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerinnerthemetrigon.sty
===================================================================
--- branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerinnerthemetrigon.sty	2022-03-10 21:22:19 UTC (rev 62596)
+++ branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerinnerthemetrigon.sty	2022-03-10 21:22:31 UTC (rev 62597)
@@ -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/03/10 v0.6.3 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
+    \def\logbig{\includegraphics[#1]{#2}}
+  \fi
 }
 \pgfkeys{
   /trigon/inner/sectionpage/.cd,
@@ -158,7 +160,7 @@
     \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 +169,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 +288,7 @@
     \begin{minipage}[t][][t]{\textwidth}
       \centering%
       \ifx\logbig\@empty \else
-        \includegraphics[height=0.15\textheight]{\logbig}
+        \logbig
       \fi
     \end{minipage}
     \vskip15pt

Modified: branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerouterthemetrigon.sty
===================================================================
--- branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerouterthemetrigon.sty	2022-03-10 21:22:19 UTC (rev 62596)
+++ branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerouterthemetrigon.sty	2022-03-10 21:22:31 UTC (rev 62597)
@@ -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/03/10 v0.6.3 Trigon outer theme]
 \RequirePackage{pgfopts}
 \def\logsmall{}
-\newcommand\smalllogo[1]{
-  \def\logsmall{#1}
+\newcommand\smalllogo[2][width=20pt]{
+  \ifx#2\@empty\else
+    \def\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}{}

Modified: branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerthemetrigon.sty
===================================================================
--- branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerthemetrigon.sty	2022-03-10 21:22:19 UTC (rev 62596)
+++ branches/branch2021.final/Master/texmf-dist/tex/latex/beamertheme-trigon/beamerthemetrigon.sty	2022-03-10 21:22:31 UTC (rev 62597)
@@ -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/03/10 v0.6.3 Trigon Beamer theme]
 \RequirePackage{pgfopts}
 \RequirePackage{tikz}
 \pgfkeys{/trigon/.cd,



More information about the tex-live-commits mailing list.