From 0a6bff26eee8debf38e61059dadc1b5e1f458d38 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Thu, 25 Mar 2021 01:25:18 +0100 Subject: [PATCH] Add command for permuations and combinations --- tex/latex/local/ntnu-math.sty | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tex/latex/local/ntnu-math.sty b/tex/latex/local/ntnu-math.sty index e394955..309f553 100644 --- a/tex/latex/local/ntnu-math.sty +++ b/tex/latex/local/ntnu-math.sty @@ -20,6 +20,8 @@ \newcommand{\N}{\mathbb{N}} \newcommand{\Z}{\mathbb{Z}} +\newcommand{\nCr}[2]{\,_{#1}C_{#2}} +\newcommand{\nPr}[2]{\,_{#1}P_{#2}} % ░█▀▀░█▀▄░█▀█░█▀█░█░█░█▀▀ % ░█░█░█▀▄░█▀█░█▀▀░█▀█░▀▀█