# How to display only one reference for equation using \align?

by Elisa m   Last Updated September 11, 2019 09:23 AM - source

Good morning. I would like to understand how to write this equation and receive only one reference (example: equation 1.1) and not euqation 1.1 and 1.2 relative to the second line of the equation. This is my code:

\documentclass[11pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\graphicspath{ {Figures/} }

\usepackage[%
style=apa, backend=biber
]{biblatex}

\usepackage{float,lipsum,subfig}
\usepackage{amsmath,geometry,booktabs}
\usepackage{mathtools,array,dcolumn,longtable}
\usepackage[justification = centering]{caption}
\usepackage{titlesec}
\usepackage{etoolbox}
\usepackage{siunitx}
\usepackage{xurl}
\usepackage{hyperref}

\begin{document}
\begin{align}
p= count[r_{j(i)}=0]\\
q=count[r_{j(i)}>10]
\label{eq:eqr}
\end{align}

\end{document}