Skip to content

Commit

Permalink
adapt to new lengths names
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-noel committed Nov 8, 2024
1 parent 8302b32 commit f5c068a
Show file tree
Hide file tree
Showing 8 changed files with 82 additions and 82 deletions.
4 changes: 2 additions & 2 deletions sources/CEA/beamerouterthemeCEA.sty
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
leftskip=\gotham@frametitle@leftpadding,
rightskip=\gotham@frametitle@rightpadding,
leftskip=\gothamFrametitleLeftpading,
rightskip=\gothamFrametitleRightpading,
]{frametitle}
\gotham@frametitlestrut@start
\insertframetitle
Expand Down
4 changes: 2 additions & 2 deletions sources/Inria/beamerinnerthemeinria.sty
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@

\defbeamertemplate{frametitle}{toc/inria~old}{
\nointerlineskip
\hspace*{-\leftskip-3\gotham@frametitle@leftpadding}
\hspace*{-\leftskip-3\gothamFrametitleLeftpading}
\begin{beamercolorbox}[
wd=0.3\paperwidth,
sep=0pt,
Expand Down Expand Up @@ -328,7 +328,7 @@

\defbeamertemplate{frametitle}{section/inria~old}{
\nointerlineskip
\hspace*{-\leftskip-3\gotham@frametitle@leftpadding}
\hspace*{-\leftskip-3\gothamFrametitleLeftpading}
\begin{beamercolorbox}[
wd=0.3\paperwidth,
sep=0pt,
Expand Down
22 changes: 11 additions & 11 deletions sources/Inria/beamerouterthemeinria.sty
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
%% Header & Frame title %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%

% \setlength{\gotham@frametitle@leftpadding}{8.2ex}
% \setlength{\gothamFrametitleLeftpading}{8.2ex}
\newlength{\inriaFrametitleHeight}
\setlength{\inriaFrametitleHeight}{0pt}
\addtolength{\inriaFrametitleHeight}{\gotham@frametitle@toppadding}
\addtolength{\inriaFrametitleHeight}{\gothamFrametitleToppading}
\addtolength{\inriaFrametitleHeight}{1.9ex}
\addtolength{\inriaFrametitleHeight}{\gotham@frametitle@bottompadding}
\addtolength{\inriaFrametitleHeight}{\gothamFrametitleBottompading}


%% Header color
Expand Down Expand Up @@ -63,8 +63,8 @@
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
leftskip=\gotham@frametitle@leftpadding,
rightskip=\gotham@frametitle@rightpadding,
leftskip=\gothamFrametitleLeftpading,
rightskip=\gothamFrametitleRightpading,
]{frametitle}
\gotham@frametitlestrut@start
\tikz[overlay,remember~picture]{
Expand Down Expand Up @@ -94,8 +94,8 @@
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
leftskip=\gotham@frametitle@leftpadding,
rightskip=\gotham@frametitle@rightpadding,
leftskip=\gothamFrametitleLeftpading,
rightskip=\gothamFrametitleRightpading,
]{frametitle}
\gotham@frametitlestrut@start
\tikz[overlay,remember~picture]{
Expand Down Expand Up @@ -125,8 +125,8 @@
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
leftskip=\gotham@frametitle@leftpadding,
rightskip=\gotham@frametitle@rightpadding,
leftskip=\gothamFrametitleLeftpading,
rightskip=\gothamFrametitleRightpading,
]{frametitle}
\gotham@frametitlestrut@start
\tikz[overlay,remember~picture]{
Expand Down Expand Up @@ -157,8 +157,8 @@
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
leftskip=\gotham@frametitle@leftpadding,
rightskip=\gotham@frametitle@rightpadding,
leftskip=\gothamFrametitleLeftpading,
rightskip=\gothamFrametitleRightpading,
]{frametitle}
\gotham@frametitlestrut@start
\tikz[overlay,remember~picture]{
Expand Down
4 changes: 2 additions & 2 deletions sources/UGE/beamerouterthemeuge.sty
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
% \begin{beamercolorbox}[
% wd=\paperwidth,
% sep=0pt,
% leftskip=\gotham@frametitle@leftpadding,
% rightskip=\gotham@frametitle@rightpadding,
% leftskip=\gothamFrametitleLeftpading,
% rightskip=\gothamFrametitleRightpading,
% ]{frametitle}
% \gotham@frametitlestrut@start
% \insertframetitle
Expand Down
14 changes: 7 additions & 7 deletions sources/gotham/beamerinnerthemegotham.sty
Original file line number Diff line number Diff line change
Expand Up @@ -840,11 +840,11 @@ subsubsectionstyle=show/show/hide,

%%%%%%
\newlength{\gotham@progressonsectionpage}
\newlength{\gotham@progressonsectionpage@linewidth}
\setlength{\gotham@progressonsectionpage@linewidth}{3pt}
\newlength{\gothamProgressSectionHeight}
\setlength{\gothamProgressSectionHeight}{3pt}

\defbeamertemplate{progress~bar~in~section~page}{empty}{
\vspace{\gotham@progressonsectionpage@linewidth+1ex}
\vspace{\gothamProgressSectionHeight+1ex}
}

\def\inserttotalframenumber{100}
Expand All @@ -853,8 +853,8 @@ subsubsectionstyle=show/show/hide,
\textwidth * \ratio{\insertframenumber~pt}{\inserttotalframenumber~pt}
}
\begin{tikzpicture}
\fill[bg] (0,0) rectangle (\textwidth, \gotham@progressonsectionpage@linewidth);
\fill[fg] (0,0) rectangle (\gotham@progressonsectionpage, \gotham@progressonsectionpage@linewidth);
\fill[bg] (0,0) rectangle (\textwidth, \gothamProgressSectionHeight);
\fill[fg] (0,0) rectangle (\gotham@progressonsectionpage, \gothamProgressSectionHeight);
\end{tikzpicture}
}

Expand Down Expand Up @@ -1036,8 +1036,8 @@ fg=normal~text.fg
\paperwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}
}
\begin{tikzpicture}
\fill[bg] (0,0) rectangle (\paperwidth, \gotham@progressonsectionpage@linewidth);
\fill[fg] (0,0) rectangle (\gotham@progressonsectionpage, \gotham@progressonsectionpage@linewidth);
\fill[bg] (0,0) rectangle (\paperwidth, \gothamProgressSectionHeight);
\fill[fg] (0,0) rectangle (\gotham@progressonsectionpage, \gothamProgressSectionHeight);
\end{tikzpicture}
}

Expand Down
44 changes: 22 additions & 22 deletions sources/gotham/beamerouterthemegotham.sty
Original file line number Diff line number Diff line change
Expand Up @@ -284,27 +284,27 @@ edging~default / unknown .code:n = { \PackageWarning{ gotham } { The~choice~'#1'
%%% Frametitle %%%

%%%%%%
\newlength{\gotham@frametitle@toppadding}
\setlength{\gotham@frametitle@toppadding}{2.2ex}
\newlength{\gotham@frametitle@bottompadding}
\setlength{\gotham@frametitle@bottompadding}{2.2ex}
\newlength{\gotham@frametitle@leftpadding}
\setlength{\gotham@frametitle@leftpadding}{2.2ex}
\newlength{\gotham@frametitle@rightpadding}
\setlength{\gotham@frametitle@rightpadding}{2.2ex}
\newlength{\gothamFrametitleToppading}
\setlength{\gothamFrametitleToppading}{2.2ex}
\newlength{\gothamFrametitleBottompading}
\setlength{\gothamFrametitleBottompading}{2.2ex}
\newlength{\gothamFrametitleLeftpading}
\setlength{\gothamFrametitleLeftpading}{2.2ex}
\newlength{\gothamFrametitleRightpading}
\setlength{\gothamFrametitleRightpading}{2.2ex}
\providecommand{\gotham@strut}{
\vphantom{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz (/)}
}

\providecommand{\gotham@frametitlestrut@start}{
\rule{0pt}{\gotham@frametitle@toppadding +
\rule{0pt}{\gothamFrametitleToppading +
\totalheightof{
\ifcsdef{gotham@frametitleformat}{\gotham@frametitleformat{X}}{X}
}
}
}
\providecommand{\gotham@frametitlestrut@end}{
\rule[-\gotham@frametitle@bottompadding]{0pt}{\gotham@frametitle@bottompadding}
\rule[-\gothamFrametitleBottompading]{0pt}{\gothamFrametitleBottompading}
}

%%%%%%
Expand Down Expand Up @@ -343,8 +343,8 @@ edging~default / unknown .code:n = { \PackageWarning{ gotham } { The~choice~'#1'
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
leftskip=\gotham@frametitle@leftpadding,
rightskip=\gotham@frametitle@rightpadding,
leftskip=\gothamFrametitleLeftpading,
rightskip=\gothamFrametitleRightpading,
]{frametitle}
\gotham@frametitlestrut@start
\insertframetitle
Expand Down Expand Up @@ -372,8 +372,8 @@ rightskip=\gotham@frametitle@rightpadding,
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
leftskip=\gotham@frametitle@leftpadding,
rightskip=\gotham@frametitle@rightpadding,
leftskip=\gothamFrametitleLeftpading,
rightskip=\gothamFrametitleRightpading,
]{frametitle}
\raisebox{0pt}[0pt][0pt]{
\raisebox{-0.3ex}{
Expand All @@ -391,8 +391,8 @@ rightskip=\gotham@frametitle@rightpadding,
\begin{beamercolorbox}[
wd=\paperwidth,
sep=0pt,
leftskip=\gotham@frametitle@leftpadding,
rightskip=\gotham@frametitle@rightpadding,
leftskip=\gothamFrametitleLeftpading,
rightskip=\gothamFrametitleRightpading,
]{frametitle}
\gotham@frametitlestrut@start
\insertframetitle
Expand Down Expand Up @@ -761,7 +761,7 @@ numbering / unknown .code:n = { \PackageWarning{ gotham } { The~choice~'#1'~is~u
\defbeamertemplate*{mini~nav~progress~left}{gotham~miniframes~theme}
{
\settoheight{\gotham@temp@heightFrametitle}{\gotham@strut}
\addtolength{\gotham@temp@heightFrametitle}{\gotham@frametitle@toppadding+\gotham@frametitle@bottompadding+\gothamProgressHeadFootLineheight}
\addtolength{\gotham@temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}

\setlength{\gotham@temp@PaperheightFrametitle}{\paperheight-\gotham@temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-\gothamProgressHeadFootLineheight}

Expand All @@ -776,7 +776,7 @@ numbering / unknown .code:n = { \PackageWarning{ gotham } { The~choice~'#1'~is~u
\defbeamertemplate*{mini~nav~progress~right}{gotham~miniframes~theme}
{
\settoheight{\gotham@temp@heightFrametitle}{\gotham@strut}
\addtolength{\gotham@temp@heightFrametitle}{\gotham@frametitle@toppadding+\gotham@frametitle@bottompadding+\gothamProgressHeadFootLineheight}
\addtolength{\gotham@temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}

\setlength{\gotham@temp@PaperheightFrametitle}{\paperheight-\gotham@temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-\gothamProgressHeadFootLineheight}

Expand Down Expand Up @@ -1557,7 +1557,7 @@ mini~frames~nav~position / unknown .code:n = { \PackageWarning{ gotham } { The~c
\nointerlineskip

\settoheight{\gotham@temp@heightFrametitle}{\gotham@strut}
\addtolength{\gotham@temp@heightFrametitle}{\gotham@frametitle@toppadding+\gotham@frametitle@bottompadding+\gothamProgressHeadFootLineheight}
\addtolength{\gotham@temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}

\setlength{\gotham@temp@PaperheightFrametitle}{\paperheight-\gotham@temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-0.25\baselineskip}

Expand All @@ -1570,7 +1570,7 @@ mini~frames~nav~position / unknown .code:n = { \PackageWarning{ gotham } { The~c
\nointerlineskip

\settoheight{\gotham@temp@heightFrametitle}{\gotham@strut}
\addtolength{\gotham@temp@heightFrametitle}{\gotham@frametitle@toppadding+\gotham@frametitle@bottompadding+\gothamProgressHeadFootLineheight}
\addtolength{\gotham@temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}

\setlength{\gotham@temp@PaperheightFrametitle}{\paperheight-\gotham@temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-0.25\baselineskip}

Expand Down Expand Up @@ -1641,7 +1641,7 @@ mini~frames~nav~position / unknown .code:n = { \PackageWarning{ gotham } { The~c
\nointerlineskip

\settoheight{\gotham@temp@heightFrametitle}{\gotham@strut}
\addtolength{\gotham@temp@heightFrametitle}{\gotham@frametitle@toppadding+\gotham@frametitle@bottompadding+\gothamProgressHeadFootLineheight}
\addtolength{\gotham@temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}

\setlength{\gotham@temp@PaperheightFrametitle}{\paperheight-\gotham@temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-0.25\baselineskip}

Expand All @@ -1660,7 +1660,7 @@ mini~frames~nav~position / unknown .code:n = { \PackageWarning{ gotham } { The~c
\nointerlineskip

\settoheight{\gotham@temp@heightFrametitle}{\gotham@strut}
\addtolength{\gotham@temp@heightFrametitle}{\gotham@frametitle@toppadding+\gotham@frametitle@bottompadding+\gothamProgressHeadFootLineheight}
\addtolength{\gotham@temp@heightFrametitle}{\gothamFrametitleToppading+\gothamFrametitleBottompading+\gothamProgressHeadFootLineheight}

\setlength{\gotham@temp@PaperheightFrametitle}{\paperheight-\gotham@temp@heightFrametitle-\gothamFootlineHeight-\gothamFootlineDepth-0.25\baselineskip}

Expand Down
Loading

0 comments on commit f5c068a

Please sign in to comment.