How to add latex packages to the Writer?

I see the basis for the equations/forulas in Writer is latex. I want to add the amsmath package. How do I do that?

Thanks

There are extensions to use LaTex in Writer so I wouldn’t suppose the equation editor is LaTex.