texlive[74214] branches/branch2024.final/Master/texmf-dist: medmath
commits+karl at tug.org
commits+karl at tug.org
Sat Feb 22 22:08:46 CET 2025
Revision: 74214
https://tug.org/svn/texlive?view=revision&revision=74214
Author: karl
Date: 2025-02-22 22:08:46 +0100 (Sat, 22 Feb 2025)
Log Message:
-----------
medmath (branch) (22feb25)
Modified Paths:
--------------
branches/branch2024.final/Master/texmf-dist/doc/latex/medmath/medmath.pdf
branches/branch2024.final/Master/texmf-dist/doc/latex/medmath/medmath.tex
branches/branch2024.final/Master/texmf-dist/tex/latex/medmath/medmath.sty
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/medmath/medmath.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/medmath/medmath.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/latex/medmath/medmath.tex 2025-02-22 21:08:34 UTC (rev 74213)
+++ branches/branch2024.final/Master/texmf-dist/doc/latex/medmath/medmath.tex 2025-02-22 21:08:46 UTC (rev 74214)
@@ -2,7 +2,7 @@
\documentclass[oneside,11pt]{article}
\usepackage[a4paper,margin=2cm]{geometry}
-\newcommand*{\myversion}{2024E}
+\newcommand*{\myversion}{2025A}
\newcommand*{\mydate}{Version \myversion\ (\the\year-\mylpad\month-\mylpad\day)}
\newcommand*{\mylpad}[1]{\ifnum#1<10 0\the#1\else\the#1\fi}
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/medmath/medmath.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/medmath/medmath.sty 2025-02-22 21:08:34 UTC (rev 74213)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/medmath/medmath.sty 2025-02-22 21:08:46 UTC (rev 74214)
@@ -7,7 +7,7 @@
% aiming to provide more stable and flexible medium-size math commands.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{medmath}[2024-01-20 v2024E Better medium-size math commands]
+\ProvidesPackage{medmath}[2025-02-22 v2025A Better medium-size math commands]
\RequirePackage{array}
\RequirePackage{etoolbox}
@@ -323,6 +323,13 @@
%%> \section{Redefine existing math commands with all option}
%%% --------------------------------------------------------
+%% We have to replace "\displaystyle\frac" with "\dfrac" in the definition.
+%% Otherwise more than four level nested \cfrac will cause infinite loop.
+
+\DeclareRobustCommand{\mdm at all@cfrac}[3][c]{{\dfrac{%
+ \strut\ifx r#1\hfill\fi#2\ifx l#1\hfill\fi}{#3}}%
+ \kern-\nulldelimiterspace}
+
%% Redifine fractions and binoms.
\NewDocumentCommand\mdm at all@frac{}{\mdm at op@select\mfrac{\genfrac{}{}{}{}}}
@@ -451,6 +458,7 @@
\NewDocumentCommand\mdm at activate@all{}{%
\mdm at activate@base
+ \let \cfrac = \mdm at all@cfrac
\let \frac = \mdm at all@frac
\let \binom = \mdm at all@binom
\let \coprod = \mdm at all@coprod
More information about the tex-live-commits
mailing list.