I want to make the qed symbol at the end of a proof appear at the end of the last sentence, not at the far right of the same line.
Would like to do this the simplest way possible.
All I can find online is people using \qedhere
to fix the symbol being on the wrong line.
Best Answer
You can redefine it to simply (Thanks to @egreg who pointed out the need for
\unskip\nobreak
)Here's a (not so minimal) MWE:
ISSUES
If your proof has equations, you should use
\qedhere
to avoid that the symbol goes to the next line (as @egreg suggested, it's not a good idea to add\qedhere
to all equation environments)