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

Hi does anyone have a solution to this:

  which always hold a an normal almost contact 
  metric structure (see [1, Lemma~2.1]).

as can be seen the box overflows the line instead of being moved to the next line. The text one the last line span the full text width.

share|improve this question

If you allow (but discourage) a line break and allow the symbol to go flush right it seems to work better in this case:

\theoremsymbol{\nolinebreak[1]\hspace*{.5em plus 1fill}\ensuremath{\Box}}
share|improve this answer
Interesting, thanks. The flush right part should happen automatically in this case. Maybe I should write Wolfgang May. – daleif Jul 18 '12 at 10:54
It didn't flush right without the fill when I tried it. (but I didn't look at the documentation, just suggested the penalty/glue combination from first principles) – David Carlisle Jul 18 '12 at 11:11

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.