How to add packages to LaTex?

When writing LaTex in an .md file, the live preview doesn’t render tags like \dv or \dd, which are part of the physics package.
How can I manually add packages to JupyterLab’s Latex, in a way that the live preview renders them?