Re: \square aligned to the right

2011-01-17 Thread Barak Shoshany
Thanks, Jim! This is exactly what I needed. It works perfectly.

Barak

On Tue, Jan 18, 2011 at 2:20 AM, Jim Oldfield jim_...@yahoo.co.uk wrote:

 Ah, sorry, I have no idea about Hebrew.

 I can tell you something else that works in English language documents that
 might work in Hebrew.  You can put a symbol in place of the equation number,
 which would help you if equation numbers are on the same side as you want
 the QED symbol.  To do this, use \tag*{\square} or \tag*{\blacksquare}  (as
 opposed to \tag*{\qedhere} ).

 Note 1: You can change the side that equation numbers are on.  Go to
 document-settings, go to the document class section, and put leqno or
 reqno into the custom text box.

 Note 2: You do not need the Theorems (AMS) module for this to work, but you
 do need the AMS math package loaded.  To ensure this, go to document -
 settings, go to the math options section, **untick** Use AMS math
 package automatically, and **tick** Use AMS math package.

 Jim


 *From:* Barak Shoshany bara...@gmail.com
 *To:* Jim Oldfield jim_...@yahoo.co.uk
 *Cc:* lyx-users@lists.lyx.org
 *Sent:* Sun, 16 January, 2011 20:03:59
 *Subject:* Re: \square aligned to the right

 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







Re: \square aligned to the right

2011-01-17 Thread Barak Shoshany
Thanks, Jim! This is exactly what I needed. It works perfectly.

Barak

On Tue, Jan 18, 2011 at 2:20 AM, Jim Oldfield jim_...@yahoo.co.uk wrote:

 Ah, sorry, I have no idea about Hebrew.

 I can tell you something else that works in English language documents that
 might work in Hebrew.  You can put a symbol in place of the equation number,
 which would help you if equation numbers are on the same side as you want
 the QED symbol.  To do this, use \tag*{\square} or \tag*{\blacksquare}  (as
 opposed to \tag*{\qedhere} ).

 Note 1: You can change the side that equation numbers are on.  Go to
 document-settings, go to the document class section, and put leqno or
 reqno into the custom text box.

 Note 2: You do not need the Theorems (AMS) module for this to work, but you
 do need the AMS math package loaded.  To ensure this, go to document -
 settings, go to the math options section, **untick** Use AMS math
 package automatically, and **tick** Use AMS math package.

 Jim


 *From:* Barak Shoshany bara...@gmail.com
 *To:* Jim Oldfield jim_...@yahoo.co.uk
 *Cc:* lyx-users@lists.lyx.org
 *Sent:* Sun, 16 January, 2011 20:03:59
 *Subject:* Re: \square aligned to the right

 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







Re: \square aligned to the right

2011-01-17 Thread Barak Shoshany
Thanks, Jim! This is exactly what I needed. It works perfectly.

Barak

On Tue, Jan 18, 2011 at 2:20 AM, Jim Oldfield <jim_...@yahoo.co.uk> wrote:

> Ah, sorry, I have no idea about Hebrew.
>
> I can tell you something else that works in English language documents that
> might work in Hebrew.  You can put a symbol in place of the equation number,
> which would help you if equation numbers are on the same side as you want
> the QED symbol.  To do this, use \tag*{\square} or \tag*{\blacksquare}  (as
> opposed to \tag*{\qedhere} ).
>
> Note 1: You can change the side that equation numbers are on.  Go to
> document->settings, go to the "document class" section, and put "leqno" or
> "reqno" into the "custom" text box.
>
> Note 2: You do not need the Theorems (AMS) module for this to work, but you
> do need the AMS math package loaded.  To ensure this, go to document ->
> settings, go to the "math options" section, **untick** "Use AMS math
> package automatically", and **tick** "Use AMS math package".
>
> Jim
>
>
> *From:* Barak Shoshany <bara...@gmail.com>
> *To:* Jim Oldfield <jim_...@yahoo.co.uk>
> *Cc:* lyx-users@lists.lyx.org
> *Sent:* Sun, 16 January, 2011 20:03:59
> *Subject:* Re: \square aligned to the right
>
> 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
>>
>>
>>
>
>


\square aligned to the right

2011-01-16 Thread Barak Shoshany
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


Re: \square aligned to the right

2011-01-16 Thread Michael Joyner
On Sun, Jan 16, 2011 at 1:19 PM, Barak Shoshany bara...@gmail.com wrote:

 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?


Insert  Formatting - Insert horizontal space of type horizontal fill?


 Thank you,
 Barak




-- 
---

   - Learn to speak Cherokee: http://www.cherokeelessons.com/
   - Cherokee Language Help BBS/Chat:
   http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
   - Cherokee Lessons PDF made with: http://www.lyx.org/


Re: \square aligned to the right

2011-01-16 Thread Barak Shoshany
Funny that I didn't know of that option. It works great, thanks!

I still have a problem with proofs that end with a displayed formula,
though. The formula is centered, and I want the square to be in the same
line as the formula, but aligned to the right. Is that possible?

Also, how do I create a keyboard shortcut to insert the horizontal space of
the right type automatically, perhaps even with the square automatically
added?

Thanks,
Barak


On Sun, Jan 16, 2011 at 8:23 PM, Michael Joyner mjoy...@vbservices.netwrote:



 On Sun, Jan 16, 2011 at 1:19 PM, Barak Shoshany bara...@gmail.com wrote:

 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?


 Insert  Formatting - Insert horizontal space of type horizontal fill?


 Thank you,
 Barak




 --
 ---

- Learn to speak Cherokee: http://www.cherokeelessons.com/
- Cherokee Language Help BBS/Chat:
http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
- Cherokee Lessons PDF made with: http://www.lyx.org/





Re: \square aligned to the right

2011-01-16 Thread Jim Oldfield
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


  

Re: \square aligned to the right

2011-01-16 Thread Barak Shoshany
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





\square aligned to the right

2011-01-16 Thread Barak Shoshany
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


Re: \square aligned to the right

2011-01-16 Thread Michael Joyner
On Sun, Jan 16, 2011 at 1:19 PM, Barak Shoshany bara...@gmail.com wrote:

 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?


Insert  Formatting - Insert horizontal space of type horizontal fill?


 Thank you,
 Barak




-- 
---

   - Learn to speak Cherokee: http://www.cherokeelessons.com/
   - Cherokee Language Help BBS/Chat:
   http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
   - Cherokee Lessons PDF made with: http://www.lyx.org/


Re: \square aligned to the right

2011-01-16 Thread Barak Shoshany
Funny that I didn't know of that option. It works great, thanks!

I still have a problem with proofs that end with a displayed formula,
though. The formula is centered, and I want the square to be in the same
line as the formula, but aligned to the right. Is that possible?

Also, how do I create a keyboard shortcut to insert the horizontal space of
the right type automatically, perhaps even with the square automatically
added?

Thanks,
Barak


On Sun, Jan 16, 2011 at 8:23 PM, Michael Joyner mjoy...@vbservices.netwrote:



 On Sun, Jan 16, 2011 at 1:19 PM, Barak Shoshany bara...@gmail.com wrote:

 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?


 Insert  Formatting - Insert horizontal space of type horizontal fill?


 Thank you,
 Barak




 --
 ---

- Learn to speak Cherokee: http://www.cherokeelessons.com/
- Cherokee Language Help BBS/Chat:
http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
- Cherokee Lessons PDF made with: http://www.lyx.org/





Re: \square aligned to the right

2011-01-16 Thread Jim Oldfield
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


  

Re: \square aligned to the right

2011-01-16 Thread Barak Shoshany
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





\square aligned to the right

2011-01-16 Thread Barak Shoshany
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


Re: \square aligned to the right

2011-01-16 Thread Michael Joyner
On Sun, Jan 16, 2011 at 1:19 PM, Barak Shoshany  wrote:

> 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?
>

Insert > Formatting -> Insert horizontal space of type horizontal fill?


> Thank you,
> Barak
>



-- 
---

   - Learn to speak Cherokee: http://www.cherokeelessons.com/
   - Cherokee Language Help BBS/Chat:
   http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
   - Cherokee Lessons PDF made with: http://www.lyx.org/


Re: \square aligned to the right

2011-01-16 Thread Barak Shoshany
Funny that I didn't know of that option. It works great, thanks!

I still have a problem with proofs that end with a displayed formula,
though. The formula is centered, and I want the square to be in the same
line as the formula, but aligned to the right. Is that possible?

Also, how do I create a keyboard shortcut to insert the horizontal space of
the right type automatically, perhaps even with the square automatically
added?

Thanks,
Barak


On Sun, Jan 16, 2011 at 8:23 PM, Michael Joyner wrote:

>
>
> On Sun, Jan 16, 2011 at 1:19 PM, Barak Shoshany  wrote:
>
>> 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?
>>
>
> Insert > Formatting -> Insert horizontal space of type horizontal fill?
>
>
>> Thank you,
>> Barak
>>
>
>
>
> --
> ---
>
>- Learn to speak Cherokee: http://www.cherokeelessons.com/
>- Cherokee Language Help BBS/Chat:
>http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
>- Cherokee Lessons PDF made with: http://www.lyx.org/
>
>
>


Re: \square aligned to the right

2011-01-16 Thread Jim Oldfield
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


  

Re: \square aligned to the right

2011-01-16 Thread Barak Shoshany
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
>
>
>