From 3d87ec2d8d4a81c09d13083aa61af2a36ce6dd1d Mon Sep 17 00:00:00 2001 From: Johan Larsson Date: Mon, 2 Dec 2024 07:51:51 +0100 Subject: [PATCH] feat: deprecate `\mreducelistspacing` --- src/beamerthememoloch.dtx | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/beamerthememoloch.dtx b/src/beamerthememoloch.dtx index a1bf4e44..1787c1b9 100644 --- a/src/beamerthememoloch.dtx +++ b/src/beamerthememoloch.dtx @@ -141,21 +141,26 @@ % \end{macrocode} % \end{macro} % +% \subsubsection{Process Package Options} % -% \begin{macro}{\mreducelistspacing} % \begin{macrocode} -\newcommand{\mreducelistspacing}{\vspace{-\topsep}} +\moloch@setdefaults +\ProcessPgfOptions{/moloch} % \end{macrocode} -% \end{macro} -% % +% \subsubsection{Deprecated Functionality} % -% \subsubsection{Process Package Options} -% +% \begin{macro}{\mreducelistspacing} % \begin{macrocode} -\moloch@setdefaults -\ProcessPgfOptions{/moloch} +\newcommand{% + \PackageWarning{moloch}{The ``mreducelistspacing'' macro is deprecated and + will be removed in a future version of the package. It is no longer + needed since there is no paragraph spacing by default. + }% + \mreducelistspacing}{\vspace{-\topsep} +} % \end{macrocode} +% \end{macro} % % \iffalse %