diff options
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} |