When I don't reference a question, a blank space appeared after the equation.
MWE:
\documentclass[12pt,reqno]{amsart}
\usepackage{graphicx}
\usepackage{amssymb , amsthm}
\theoremstyle{plain}
%This allows for theorems which are not automatically numbered
\newtheorem*{theorem*}{Theorem}
% The bellow lines are for formatting. In general, you will not want to change these.
\newtheorem{definition}{Definition}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{example}{Example}
\usepackage{lineno}
% Added packages
\usepackage[utf8]{inputenc}
\usepackage{amsmath , amsfonts}
\usepackage{mathtools}
\mathtoolsset{showonlyrefs=true , showmanualtags=true}
\usepackage{physics}
\usepackage{hyperref , url}
% Title
\title{Vector spaces}
\author{DS}
\date{\today}
\begin{document}
\maketitle
Notice that for sets $A$ and $B$, if $A \not\subset B$, then there exists an element $x$ such that $x \in A$ and $x \notin B$. That is,
%
\begin{equation}\label{1}
\qty(A \not\subset B) \iff \exists x \qty( x \in A \wedge x \notin B).
\end{equation}
%
We now prove theorem $2.1$. By way of contradiction, suppose that the theorem fails. Let $A$ be a set such that $\emptyset \not\subset A$.
Notice that for sets $A$ and $B$, if $A \not\subset B$, then there exists an element $x$ such that $x \in A$ and $x \notin B$. That is,
%
\begin{equation}\label{2}
\qty(A \not\subset B) \iff \exists x \qty( x \in A \wedge x \notin B).
\end{equation}
%
We now prove theorem $2.1$. By way of contradiction \eqref{2}, suppose that the theorem fails. Let $A$ be a set such that $\emptyset \not\subset A$.
\end{document}
articleis used instead ofamsart– daleif Jan 17 '20 at 08:58amsartbut it's there. – campa Jan 17 '20 at 09:08:-)– campa Jan 17 '20 at 09:23\strutdoes not work – daleif Jan 17 '20 at 09:29\kern1spin the right place. The kern is added in one branch of the tag handling but not the other – daleif Jan 17 '20 at 09:31mathtoolsdtx literally saysHave to watch out for \TeX\ inserting a blank line so do not let the tag have width zero.– daleif Jan 17 '20 at 09:33