-
-
Save vermiculus/7f9b7a84351f1babc3bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage{xparse} | |
\ExplSyntaxOn | |
\cs_new:Npn \dd_parse:nn #1, #2 \q_stop: | |
{ | |
\frac { \mathrm {d} #1 } | |
{ \mathrm {d} #2 } | |
} | |
\NewDocumentCommand \dd { r[] } | |
{ | |
\dd_parse:nn #1 \q_stop: | |
} | |
\ExplSyntaxOff | |
% This can be made much more clever with l3clist, but I do not have my reference in front of me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
untested