feat: bring back the `numbering` option and deprecate it
This fixes the second issue in #6.
This commit is contained in:
parent
8b3c02dcab
commit
9a013e4d46
|
@ -244,6 +244,14 @@ The list of options is structured as shown in the following example.
|
|||
|
||||
\subsubsection{Outer theme}
|
||||
|
||||
\DescribeOption{numbering}{none, counter, fraction}{}{
|
||||
\emph{This option is deprecated and will be removed in a future version.
|
||||
Please use Beamer's |page number in head/foot| template instead.}
|
||||
Controls whether the frame number at the bottom right of each slide is
|
||||
omitted (|none|), shown (|counter|) or displayed as a fraction of the total
|
||||
number of frames (|fraction|).
|
||||
}
|
||||
|
||||
\DescribeOption{progressbar}{none, head, frametitle, foot}{none}{
|
||||
Optionally adds a progress bar to the top of each frame (|head|),
|
||||
the bottom of each frame (|foot|), or directly below each frame title
|
||||
|
|
|
@ -82,6 +82,34 @@
|
|||
% \end{macrocode}%
|
||||
% \end{macro}
|
||||
%
|
||||
% \subsubsection{Deprecated Options}
|
||||
%
|
||||
% These options are deprecated and will be removed in a future version.
|
||||
%
|
||||
% \begin{macro}{numbering}
|
||||
% Adds slide numbers to the bottom right of each slide.
|
||||
% \begin{macrocode}
|
||||
\pgfkeys{
|
||||
/moloch/outer/numbering/.cd,
|
||||
.is choice,
|
||||
none/.code={%
|
||||
\PackageWarning{moloch}{The ``numbering'' option is deprecated.
|
||||
Use beamer's ``page number in head/foot'' template instead}%
|
||||
\setbeamertemplate{page number in head/foot}[default]
|
||||
},
|
||||
counter/.code={%
|
||||
\PackageWarning{moloch}{The ``numbering'' option is deprecated.
|
||||
Use beamer's ``page number in head/foot'' template instead}%
|
||||
\setbeamertemplate{page number in head/foot}[framenumber]
|
||||
},
|
||||
fraction/.code={%
|
||||
\PackageWarning{moloch}{The ``numbering'' option is deprecated.
|
||||
Use beamer's ``page number in head/foot'' template instead}%
|
||||
\setbeamertemplate{page number in head/foot}[totalframenumber]
|
||||
},
|
||||
}
|
||||
% \end{macrocode}
|
||||
% \end{macro}
|
||||
%
|
||||
%
|
||||
% \subsubsection{Head and footline}
|
||||
|
|
Loading…
Reference in New Issue