[Tex/LaTex] number a system of 4 equations in 2 lines

equationssubequations

I have written 4 equations in two lines and I want to give a single number for all of them without changing their format.
My code for the equations is the following:

\begin{center}
$\dot{R}=\frac{66}{364}\ P_R+ \frac{\partial V}{\partial P_R}$\qquad
$\dot{\theta}=2P_{\theta}(\frac{13}{168r^2}-\frac{33}{364R^2})+\frac{\partial V}{\partial P_{\theta}}$
\end{center}
\begin{center}
$\dot{P_{\theta}}=-\frac{\partial V}{\partial \theta}$\qquad
$\dot{P_R}=\frac{66P^2_{\theta}}{364R^3}-\frac{\partial V}{\partial R}$
\end{center}

Any help will be much appreciated.

Best Answer

If you want to have some more alignment than you have right now I would recommend the following approach:

% arara: pdflatex

\documentclass{article}
\usepackage{mathtools}

\begin{document}
\begin{equation}
\begin{alignedat}{2}
    \dot{R}&=\frac{66}{364}\,P_R+ \frac{\partial V}{\partial P_R} \qquad
    &\dot{\theta}&=2P_{\theta}\Bigl(\frac{13}{168r^2}-\frac{33}{364R^2}\Bigr)+\frac{\partial V}{\partial P_{\theta}}\\
    \dot{P_{\theta}}&=-\frac{\partial V}{\partial \theta}
    &\dot{P_R}&=\frac{66P^2_{\theta}}{364R^3}-\frac{\partial V}{\partial R}
\end{alignedat}
\end{equation}
\end{document}

enter image description here

You may align to the very left or very right of every term by moving the & symbols there, of course.

Related Question