TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It looks like the end-of-proof symbol is misaligned if multline* and \qedhere are used. Or am I just using them wrong?

 Only words here.
  A=form(u)la. \qedhere
  A=form(u)la.\\ with/many*lines \qedhere

enter image description here

Is there a way to fix this?

share|improve this question
this is definitely a known issue, but you have turned up a previously unknown problem as well -- with equation* a spurious warning is issued. that has been added to our list. – barbara beeton Mar 12 '13 at 12:53
up vote 5 down vote accepted

This seems to be a known issue; the log file for your example contains the following.

Package amsthm Warning: The \qedhere command may not work correctly here on input line 15.

I'm not aware of a fix, but there are others here who know much more about ams packages than I do. A workaround is


in place of \qedhere.

share|improve this answer
I checked, and I get that warning once for line 9 (where the \qedhere inside the equation* is) and twice for line 15 (where the one inside multline* is). Strange. Anyway, thanks for pointing this out; I use kile, and it did not display the warning for some reason. – Federico Poloni Mar 12 '13 at 10:31
this workaround will do the right thing only when equation numbers are positioned on the right. also, it's necessary to suppress the non-"here" box with \renewcommand{\qedsymbol}{}; since a proof is a local group, this definition will not persist after \end{proof}. – barbara beeton Mar 12 '13 at 13:02
@barbarabeeton Another workaround is to "guess" the correct shift and do \let\myqedsymbol\qedsymbol \def\qedsymbol{\myqedsymbol\hspace*{-10pt}} \qedhere inside minipage*. It's a dirty solution, but it works; one just have to make sure that the output is correct. – yo' Jan 26 '15 at 21:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.