Thanks. That module seems to be very useful, and the \tag* code works perfectly in English articles.
However, the specific article I'm writing is in Hebrew, and the Theorems (AMS) module does not seem to work in Hebrew language articles. Isn't there any way to insert the right-aligned (in Hebrew it's actually left-aligned...) square in the same line as the last equation without using the Theorems (AMS) module? Barak On Sun, Jan 16, 2011 at 8:47 PM, Jim Oldfield <jim_...@yahoo.co.uk> wrote: > Don't manually format your proof, but instead put it into a proof > environment. > > 1. Add the theorems (AMS) module to your document: from the menu choose > document->settings, and on the left hand side choose "modules". Then in the > list double click on "Theorems (AMS)". Of course you already need to do > this to put theorems, definitions etc into your document. > > 2. Now select your proof, then in the layout dropdown (near the top left of > the screen, saying "standard" by default) choose proof. > > Now your proof will automatically be captioned with "Proof." in italics, > and end with a \square. > > Sadly the square doesn't appear if the last line is an equation. If it's a > single line, then add the command \qedhere at the end of the equation. If > it's a multiline equation, see this message: > http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84894.html > > Jim > > > *From:* Barak Shoshany <bara...@gmail.com> > *To:* lyx-users@lists.lyx.org > *Sent:* Sun, 16 January, 2011 18:19:18 > *Subject:* \square aligned to the right > > Hi Everybody, > > I many mathematics texts, proofs are ended with a \square or \blacksquare > symbol. > Usually, the square appears at the same line as the last line of text or > last equation, aligned to the far right; i.e., even though the line ends in > the left or the middle of the page, the square is always aligned to the > right. > Obviously, adding spaces until the end of the line is reached is not a > feasible solution. Starting a new right-aligned paragraph containing only > the square is not a solution either, because the square should be in the > same line as the text. > Does anyone have an idea how to do this? > > Thank you, > Barak > > >