# How to set the equation no with quad space to equation

How to set the equation no with quad space to equation content (centered) like below

Sample Text  Sample Text   Sample Text

(1.1)  A + b = 20

Sample Text


Can anyone suggest how to get these output.

As a once-off, you can set it manually using the construction below with \numeq:

\documentclass{article}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
\begin{document}
\section{A section}
Sample text sample text sample text
$\numeq A + b = 20 \label{eqn:stuff}$
Sample text and see~(\ref{eqn:stuff}).
\end{document}


For an automated way of adding these to equations, you could add

\makeatletter