macro for norm in latex code example Example: macro for norm in latex \newcommand{\norm}[1]{\left\lVert #1 \right\rVert}