Code: Select all
\newcommand{\mvncdf}[3]{\Phi_{#1}\left(#2\middle|#3\right)}
Code: Select all
\newcommand{\mvncdf}[3]{\Phi_{#1}\left(#2\middle|#3\right)}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Code: Select all
\newcommand{foo}[bar]{#bar}
If that is the goal: this is indeed impossible.hugovdberg wrote:I think I understand what you're after: using named variables in the macro definition likeBut as far as I know that's not possible, and I'm not sure why you should want it.Code: Select all
\newcommand{foo}[bar]{#bar}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p