How to write integral (multiple integral, bounds) symbols in LaTeX

Symbol Command
$\int$ \int
$\iint$ \iint
$\iiint$ \iiint
$\intop$ \intop
$\smallint$ \smallint
Symbol Command
$\oint$ \oint
$\oiint$ \oiint
$\oiiint$ \oiiint
\[
\int f(x)dx \\~\\
\int f(x) dx \\~\\
\int f(x) \ dx \\~\\
\int f(x) \, dx
\]

\[ \int f(x)dx \\~\\ \int f(x) dx \\~\\ \int f(x) \ dx \\~\\ \int f(x) \, dx \]

\[
\iint f(x)dxdy \\~\\
\iint f(x) dxdy \\~\\
\iint f(x) \ dxdy \\~\\
\iint f(x) \, dxdy \\~\\
\iint f(x) \ dx \ dy \\~\\
\iint f(x) \, dx \, dy
\]

\[ \iint f(x)dxdy \\~\\ \iint f(x) dxdy \\~\\ \iint f(x) \ dxdy \\~\\ \iint f(x) \, dxdy \\~\\ \iint f(x) \ dx \ dy \\~\\ \iint f(x) \, dx \, dy \]

Definite integral

\[
\int_{0}^{5} x^2 dx \\~\\
\int_{0}^{5} x^2 \ dx \\~\\
\int_{0}^{5} x^2 \, dx
\]

\[ \int_{0}^{5} x^2 dx \\~\\ \int_{0}^{5} x^2 \ dx \\~\\ \int_{0}^{5} x^2 \, dx \]

\[
\int_{0}^{5} \int_{-2}^{2} xy dxdy \\~\\
\int_{0}^{5} \! \int_{-2}^{2} xy dxdy \\~\\
\int_{0}^{5} \!\! \int_{-2}^{2} xy dxdy
\]

\[ \int_{0}^{5} \int_{-2}^{2} xy dxdy \\~\\ \int_{0}^{5} \! \int_{-2}^{2} xy dxdy \\~\\ \int_{0}^{5} \!\! \int_{-2}^{2} xy dxdy \]

LaTeX calculus

LaTeX