Re: Help! A Hebrew document does not compile...
Solved by reinstalling the fonts and reconfiguring LyX.
Making paragraphs stick together
Hello, Sometimes I want to force two paragraphs to be on the same page. This may be done with Ctrl+Enter and the end of the first paragraph, but then the spacing between them is too small. How can I make two paragraphs (or maybe even a paragraph and an image, table, etc.) always be on the same page, no matter what? Thanks, Barak
Re: \square aligned to the right
Thanks, Jim! This is exactly what I needed. It works perfectly. Barak On Tue, Jan 18, 2011 at 2:20 AM, Jim Oldfield 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 > *To:* Jim Oldfield > *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 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 >> *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
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 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 > *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
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/ > > >
\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: Vertical space before and after equations
Thanks to both of you. This works perfectly. Barak
Re: Vertical space before and after equations
Paul Rubin msu.edu> writes: > > How are you entering the formulas (inline, display mode, equation arrays, > ...)? > Perhaps you could post a one page document showing a sample. > > /Paul > > Thanks, Paul. The equations are in display mode. All I need is some global command to make the vertical spacing before and after the equations smaller. I sent you a sample document by mail. Barak
Re: Vertical space before and after equations
Thanks, Gwen. I'm familiar with that code, but I'm looking for a global option. I have a lot of formulas and I can't insert the code manually for each one separately. Barak
Vertical space before and after equations
Hello, I'm preparing a formula sheet, and would like to get as many formulas as I can inside a limited number of pages. I've already used most of the tricks in the book: 3 columns, narrow margins, small paragraph & line spacing, etc. However, one important thing I want to change is the spacing before and after equations, which is disproportionately large but seems to be oblivious to the settings for paragraph and line spacing. How can I manually set the spacing for the equations? Thanks in advance, Barak
Background Color
Hello everyone, I'm making a formula sheet with 3 columns (and a vertical line between the columns), and would like to give the headings a solid background color so that they will be easier to find. Is there any way to do so? Thanks, and a happy new year, Barak