diff options
author | Karl Berry <karl@freefriends.org> | 2022-03-10 21:22:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-03-10 21:22:31 +0000 |
commit | 33c995c85bc1c5280fc16fb0895eea55ec390cc5 (patch) | |
tree | 04ab57314456d5ecbd70b8fa373fb5fc4314175b /Master/texmf-dist/source/latex/beamertheme-trigon/beamerouterthemetrigon.dtx | |
parent | b5426ff0a74df18762035ebb52d9d0cb4a24e4c4 (diff) |
beamertheme-trigon (10mar22) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2021.final@62597 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/beamertheme-trigon/beamerouterthemetrigon.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/beamertheme-trigon/beamerouterthemetrigon.dtx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/beamertheme-trigon/beamerouterthemetrigon.dtx b/Master/texmf-dist/source/latex/beamertheme-trigon/beamerouterthemetrigon.dtx index d33c019bcc4..de5dc23c169 100644 --- a/Master/texmf-dist/source/latex/beamertheme-trigon/beamerouterthemetrigon.dtx +++ b/Master/texmf-dist/source/latex/beamertheme-trigon/beamerouterthemetrigon.dtx @@ -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} |