Within the preamble of the document. The mathtools package masses the amsmath package deal and that's why there is absolutely no must usepackage amsmath within the preamble if mathtools is applied. “I’ve listened to LaTeX can produce good shows—I want to give that a try out�? Look into our presentation https://www.tumblr.com/fashionlatex/