[Tex/LaTex] How to write partial differential equation (Ex. dQ/dt=ds/dt) with real partial derivative signs

equations

I would like to make a partial differential equation by using the following notation:

dQ/dt

(without / but with a real numerator and denomenator). Earlier today I got help from this page on how to u_t, but now I also have to write it like dQ/dt. I understand how it can be done by using dollarsigns and fractions, but is it possible to do it using

\begin{equation}
....
\end{equation}

so that it can be on separate lines and using math-style?

Best Answer

You said partial differential equation:

\documentclass{article}
\begin{document}
\begin{equation}
\frac{\partial Q}{\partial t} = \frac{\partial s}{\partial t}
\end{equation}
\end{document}

enter image description here

now using physics package, extra goodies (bonus):

\documentclass{article}
\usepackage{physics}
\begin{document}
\[
\dv{Q}{t} = \dv{s}{t}  \quad
\dv[n]{Q}{t} = \dv[n]{s}{t}  \quad
\pdv{Q}{t} = \pdv{s}{t}  \quad
\pdv[n]{Q}{t} = \pdv[n]{s}{t}  \quad
\pdv{Q}{x}{t} = \pdv{s}{x}{t}  \quad
\]
\[
\fdv{F}{g}
\]
\end{document}

enter image description here