I was wondering how one can place the QED symbol at the end of an equation when using the IEEEproof
environment?
With the standard proof
environment of amsthm
this is done by simply placing \qedhere
at the end of the equation, for example:
\begin{equation}
x = y+z \qedhere
\end{equation}
But the same code does not work when we change the environment to IEEEproof
. In this case the QED symbol will be placed at the end of next line.
Best Answer
The
IEEEtran
documentclass does have its own versions of\qedhere
namely\IEEEQEDhereeqn
for use in equations and\IEEEQEDhere
foreqnarray
and other enviroments, e.g. lists (thank you to Aditya for noting the latter). Here is a demonstration:Note the spacing. For the equation version you need add some space afterwards otherwise it will be right up against the equation number. I have chose
\quad
but another possibility is\
. In the other cases you see that\IEEEQEDhere
does not place the symbol at the right-hand margin without help. I have shown how to this in anenumerate
. For theIEEEeqnarray
it is does not seem to be possible, but I give a work around, placing it inside anequation
, in the case when you only want one equation number.