diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa.sty | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa.sty b/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa.sty index df1fdf51a05..8ee2144e3dc 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa.sty +++ b/Master/texmf-dist/tex/latex/tuda-ci/beamerinnerthemeTUDa.sty @@ -1,4 +1,4 @@ -%% This is file `beamerinnerthemeTUDa.sty' version 3.18 (2021/08/05), +%% This is file `beamerinnerthemeTUDa.sty' version 3.20 (2021/10/12), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.18} -\def\filedate{2021/08/05} +\def\fileversion{3.20} +\def\filedate{2021/10/12} \NeedsTeXFormat{LaTeX2e} \ProvidesExplPackage{beamerinnerthemeTUDa}{\filedate}{\fileversion}{Inner~beamer~theme~of~tuda-ci} @@ -56,6 +56,7 @@ \box_new:N \g__ptxcd_logo_box } +\cs_set:Nn \__ptxcd_block_colorsep: {.75ex} \RenewDocumentCommand{\titlegraphic}{sm}{ \IfBooleanTF{#1}{ @@ -156,10 +157,11 @@ { \par\vskip\medskipamount% \begin{beamercolorbox}[wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim,sep=.5pt, - leftskip=\dimexpr\ifdim\l__ptxcd_beamer_extraindent_dim>\z@\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep\else\z@\fi]{block~title} + leftskip=\dim_eval:n {\dim_compare:nTF {\l__ptxcd_beamer_extraindent_dim>\c_zero_dim} {\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep} {\__ptxcd_block_colorsep:}}, + ]{block~title} \ifx\insertblocktitle\@empty \else - \begin{beamercolorbox}[colsep*=.75ex, + \begin{beamercolorbox}[colsep*=\__ptxcd_block_colorsep:, wd=\dimexpr\linewidth-1pt-1.5ex\relax]{block~title} \usebeamerfont*{block title}\insertblocktitle% \end{beamercolorbox}% @@ -168,9 +170,9 @@ {\ifbeamercolorempty[bg]{block~body}{}{\par\nointerlineskip\vskip-0.5pt}}% \leavevmode \fi - \begin{beamercolorbox}[colsep*=.75ex,vmode, wd=\dimexpr\linewidth-1.5ex-1pt\relax]{block~body}% + \begin{beamercolorbox}[colsep*=\__ptxcd_block_colorsep:,vmode, wd=\dimexpr\linewidth-1.5ex-1pt\relax]{block~body}% \usebeamerfont{block~body}% - \ifbeamercolorempty[bg]{block~body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% + \ifbeamercolorempty[bg]{block~body}{\vskip-.25ex}{\vskip-\__ptxcd_block_colorsep:}\vbox{}% } \defbeamertemplate*{block~end}{TUDa} @@ -182,18 +184,18 @@ \begin{beamercolorbox}[ wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim, sep=1.5pt, - leftskip=\dimexpr\ifdim\l__ptxcd_beamer_extraindent_dim>\z@\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep\else\z@\fi, + leftskip=\dim_eval:n {\dim_compare:nTF {\l__ptxcd_beamer_extraindent_dim>\c_zero_dim} {\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep} {\__ptxcd_block_colorsep:}}, ]{block~frame~alerted} \ifx\insertblocktitle\@empty \else - \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=.75ex]{block~title~alerted} + \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~title~alerted} \usebeamerfont*{block~title~alerted}\insertblocktitle% \end{beamercolorbox}% \vskip1.5pt\par\nointerlineskip \fi \leavevmode \usebeamerfont{block~body~alerted}% - \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=.75ex]{block~body~alerted}% + \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~body~alerted}% } \defbeamertemplate*{block~alerted~end}{TUDa} @@ -206,18 +208,18 @@ \begin{beamercolorbox}[ wd=\dimexpr\linewidth+2\l__ptxcd_beamer_extraindent_dim, sep=1.5pt, - leftskip=\dim_eval:n {\dim_compare:nTF {\l__ptxcd_beamer_extraindent_dim>\c_zero_dim} {\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep} {\c_zero_dim}}, + leftskip=\dim_eval:n {\dim_compare:nTF {\l__ptxcd_beamer_extraindent_dim>\c_zero_dim} {\l__ptxcd_beamer_extraindent_dim-\beamer@colbox@sep} {\__ptxcd_block_colorsep:}}, ]{block~frame~example} \ifx\insertblocktitle\@empty \else - \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=.75ex]{block~title~example} + \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~title~example} \usebeamerfont*{block~title~example}\insertblocktitle% \end{beamercolorbox}% \vskip1.5pt\par\nointerlineskip \fi \leavevmode \usebeamerfont{block~body~example}% - \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=.75ex]{block~body~example}% + \begin{beamercolorbox}[wd=\dim_eval:n {\linewidth-1.5ex-3pt},colsep*=\__ptxcd_block_colorsep:]{block~body~example}% } \defbeamertemplate*{block~example~end}{TUDa} {\end{beamercolorbox}\end{beamercolorbox}\vskip\smallskipamount} |