This is over a single line. I honestly thought it would be very simple but so far I have tried:
\hfill\hspace*{\fill}\null\hfill\hspace*{0pt}\hfill\mbox{}\hfill
In the following line:
$$g(x) = \underset{c \in \mathcal{Y}}{\operatorname{arg max}} \mathcal{P}(f(x + \epsilon)=c), \hfill \epsilon \sim \mathcal{N}(0, \sigma^2I)$$
All of them result in:
If I just use inline math-mode with a new line, it results in the main equation being left-aligned. I want the main equation to be centrally aligned, with the noise right-aligned.


flaligndoes something like this. – Someone Aug 20 '23 at 14:40flalignonly works over multiple lines I believe? At least in this case using an ampersand doesn't move the noise to the right. – Somniare Aug 20 '23 at 15:34\begin{equation} g(x)...c), \tag{\epsilon \sim ...} \end{equation}. I'm pretty sure this is a duplicate. – barbara beeton Aug 20 '23 at 17:40