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)
}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
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}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis