Re: Figure Float Placement: Many Figures, Many Small Subsections
* Rich Shepard rshep...@appl-ecosys.com [2015-05-27 13:33:43 -0700]: I'm looking for suggestions on placing figure floats in a document where each figure is associated with a short subsection or sub-subsection. There are approximately 33 figures in the document (so far) and I would like to place each figure somewhere close to the associated text. This document is a user manual for a software application so having the figures close to the text they illustrate would be a Good Thing(TM). To address the 'too many unresolved floats' LaTeX error I added \usepackage[section]{placeins} to the preamble, and \clearpage at the point LaTeX became constipated. These allowed the document to compile, but the figures are grouped after the section. I'm sure others have figured out how to produce a good-looking document having many figure floats and short pieces of text associated with each. Please share your experiences or suggestions on how best to handle this situation. Do the Document Settings Float Placement Here if possible or Here definitely options help? Nikos
Re: Figure Float Placement: Many Figures, Many Small Subsections
On Wed, 27 May 2015, Nikos Alexandris wrote: Do the Document Settings Float Placement Here if possible or Here definitely options help? Nikos, Not so far. I'm still playing with them, but I get the maximum number of figures allowed in a section, then no graphic is displayed. That's because they're all in the same section of the document. I suppose I can expand each portion into a section of its own. Maybe. Thanks, Rich
Figure Float Placement: Many Figures, Many Small Subsections
I'm looking for suggestions on placing figure floats in a document where each figure is associated with a short subsection or sub-subsection. There are approximately 33 figures in the document (so far) and I would like to place each figure somewhere close to the associated text. This document is a user manual for a software application so having the figures close to the text they illustrate would be a Good Thing(TM). To address the 'too many unresolved floats' LaTeX error I added \usepackage[section]{placeins} to the preamble, and \clearpage at the point LaTeX became constipated. These allowed the document to compile, but the figures are grouped after the section. I'm sure others have figured out how to produce a good-looking document having many figure floats and short pieces of text associated with each. Please share your experiences or suggestions on how best to handle this situation. TIA, Rich
Re: Figure Float Placement: Many Figures, Many Small Subsections [RESOLVED]
On Wed, 27 May 2015, Rich Shepard wrote: I'm looking for suggestions on placing figure floats in a document where each figure is associated with a short subsection or sub-subsection. The solution consists of restructuring the document, raising subsections to sections and cascading to sub-subsections. And, playing with figure size. Interestingly, setting the size to 75% of the text line width produces tiny figures, while not restricting the size produces text line width figures, but isolates each one. More futzing will find the appropriate size for these. Thanks for the suggestions, Rich
Re: Figure Float Placement: Many Figures, Many Small Subsections
On Wed, 27 May 2015, Enrico Forestieri wrote: Note that latex allows only a fixed number of floats per page. By default, this is 3 but this number is stored in a counter and it can be changed. Enrico, Each float occupies about a half-page. There would be room for the figure and accompanying text on a page, or two figures on a page, but that's not how LaTeX is composing the page. One per page is the result, no text on that page, either. Strange. I think the most parsimonius solution is to restructure the manual so each related set of floats are in separate sections rather than sub-sections. Thanks, Rich
Re: Figure Float Placement: Many Figures, Many Small Subsections
Rich Shepard writes: On Wed, 27 May 2015, Nikos Alexandris wrote: Do the Document Settings Float Placement Here if possible or Here definitely options help? Nikos, Not so far. I'm still playing with them, but I get the maximum number of figures allowed in a section, then no graphic is displayed. That's because they're all in the same section of the document. I suppose I can expand each portion into a section of its own. Maybe. Note that latex allows only a fixed number of floats per page. By default, this is 3 but this number is stored in a counter and it can be changed. Try whether putting \setcounter{totalnumber}{10} in the preamble helps. It may or may not succeed, depending on the vertical space occupied by the floats. There are also other style parameters that may help: topnumber: (counter) maximum number of floats allowed at the top of a page. \topfraction: maximum fraction of the page that can be occupied by floats at the top of the page. A value of 0.25 means the top quarter. bottomnumber: (counter) same as topnumber except for the bottom of the page. \bottomfraction: same as \topfraction except for the bottom of the page. \texfraction: the minimum fraction of a page the must be devoted to text. The other 1-\textfraction may be occupied by floats. As an example: \setcounter{totalnumber}{10} \setcounter{topnumber}{5} \setcounter{bottomnumber}{5} \def\topfraction{1} \def\bottomfraction{1} \def\textfraction{0} allows placing up to 10 floats on a page (if they fit), even at the cost of not outputting any text on that page. There are also other parameters that can be tuned, such the spacing between text and floats, but I don't remember what they are. I think you can find them in a good latex book. HTH -- Enrico
Figure Float Placement: Many Figures, Many Small Subsections
I'm looking for suggestions on placing figure floats in a document where each figure is associated with a short subsection or sub-subsection. There are approximately 33 figures in the document (so far) and I would like to place each figure somewhere close to the associated text. This document is a user manual for a software application so having the figures close to the text they illustrate would be a Good Thing(TM). To address the 'too many unresolved floats' LaTeX error I added \usepackage[section]{placeins} to the preamble, and \clearpage at the point LaTeX became constipated. These allowed the document to compile, but the figures are grouped after the section. I'm sure others have figured out how to produce a good-looking document having many figure floats and short pieces of text associated with each. Please share your experiences or suggestions on how best to handle this situation. TIA, Rich
Re: Figure Float Placement: Many Figures, Many Small Subsections
* Rich Shepard rshep...@appl-ecosys.com [2015-05-27 13:33:43 -0700]: I'm looking for suggestions on placing figure floats in a document where each figure is associated with a short subsection or sub-subsection. There are approximately 33 figures in the document (so far) and I would like to place each figure somewhere close to the associated text. This document is a user manual for a software application so having the figures close to the text they illustrate would be a Good Thing(TM). To address the 'too many unresolved floats' LaTeX error I added \usepackage[section]{placeins} to the preamble, and \clearpage at the point LaTeX became constipated. These allowed the document to compile, but the figures are grouped after the section. I'm sure others have figured out how to produce a good-looking document having many figure floats and short pieces of text associated with each. Please share your experiences or suggestions on how best to handle this situation. Do the Document Settings Float Placement Here if possible or Here definitely options help? Nikos
Re: Figure Float Placement: Many Figures, Many Small Subsections
On Wed, 27 May 2015, Nikos Alexandris wrote: Do the Document Settings Float Placement Here if possible or Here definitely options help? Nikos, Not so far. I'm still playing with them, but I get the maximum number of figures allowed in a section, then no graphic is displayed. That's because they're all in the same section of the document. I suppose I can expand each portion into a section of its own. Maybe. Thanks, Rich
Re: Figure Float Placement: Many Figures, Many Small Subsections
Rich Shepard writes: On Wed, 27 May 2015, Nikos Alexandris wrote: Do the Document Settings Float Placement Here if possible or Here definitely options help? Nikos, Not so far. I'm still playing with them, but I get the maximum number of figures allowed in a section, then no graphic is displayed. That's because they're all in the same section of the document. I suppose I can expand each portion into a section of its own. Maybe. Note that latex allows only a fixed number of floats per page. By default, this is 3 but this number is stored in a counter and it can be changed. Try whether putting \setcounter{totalnumber}{10} in the preamble helps. It may or may not succeed, depending on the vertical space occupied by the floats. There are also other style parameters that may help: topnumber: (counter) maximum number of floats allowed at the top of a page. \topfraction: maximum fraction of the page that can be occupied by floats at the top of the page. A value of 0.25 means the top quarter. bottomnumber: (counter) same as topnumber except for the bottom of the page. \bottomfraction: same as \topfraction except for the bottom of the page. \texfraction: the minimum fraction of a page the must be devoted to text. The other 1-\textfraction may be occupied by floats. As an example: \setcounter{totalnumber}{10} \setcounter{topnumber}{5} \setcounter{bottomnumber}{5} \def\topfraction{1} \def\bottomfraction{1} \def\textfraction{0} allows placing up to 10 floats on a page (if they fit), even at the cost of not outputting any text on that page. There are also other parameters that can be tuned, such the spacing between text and floats, but I don't remember what they are. I think you can find them in a good latex book. HTH -- Enrico
Re: Figure Float Placement: Many Figures, Many Small Subsections
On Wed, 27 May 2015, Enrico Forestieri wrote: Note that latex allows only a fixed number of floats per page. By default, this is 3 but this number is stored in a counter and it can be changed. Enrico, Each float occupies about a half-page. There would be room for the figure and accompanying text on a page, or two figures on a page, but that's not how LaTeX is composing the page. One per page is the result, no text on that page, either. Strange. I think the most parsimonius solution is to restructure the manual so each related set of floats are in separate sections rather than sub-sections. Thanks, Rich
Re: Figure Float Placement: Many Figures, Many Small Subsections [RESOLVED]
On Wed, 27 May 2015, Rich Shepard wrote: I'm looking for suggestions on placing figure floats in a document where each figure is associated with a short subsection or sub-subsection. The solution consists of restructuring the document, raising subsections to sections and cascading to sub-subsections. And, playing with figure size. Interestingly, setting the size to 75% of the text line width produces tiny figures, while not restricting the size produces text line width figures, but isolates each one. More futzing will find the appropriate size for these. Thanks for the suggestions, Rich
Figure Float Placement: Many Figures, Many Small Subsections
I'm looking for suggestions on placing figure floats in a document where each figure is associated with a short subsection or sub-subsection. There are approximately 33 figures in the document (so far) and I would like to place each figure somewhere close to the associated text. This document is a user manual for a software application so having the figures close to the text they illustrate would be a Good Thing(TM). To address the 'too many unresolved floats' LaTeX error I added \usepackage[section]{placeins} to the preamble, and \clearpage at the point LaTeX became constipated. These allowed the document to compile, but the figures are grouped after the section. I'm sure others have figured out how to produce a good-looking document having many figure floats and short pieces of text associated with each. Please share your experiences or suggestions on how best to handle this situation. TIA, Rich
Re: Figure Float Placement: Many Figures, Many Small Subsections
* Rich Shepard <rshep...@appl-ecosys.com> [2015-05-27 13:33:43 -0700]: >I'm looking for suggestions on placing figure floats in a document where > each figure is associated with a short subsection or sub-subsection. There > are approximately 33 figures in the document (so far) and I would like to > place each figure somewhere close to the associated text. This document is a > user manual for a software application so having the figures close to the > text they illustrate would be a Good Thing(TM). > >To address the 'too many unresolved floats' LaTeX error I added > \usepackage[section]{placeins} to the preamble, and \clearpage at the point > LaTeX became constipated. These allowed the document to compile, but the > figures are grouped after the section. > >I'm sure others have figured out how to produce a good-looking document > having many figure floats and short pieces of text associated with each. > Please share your experiences or suggestions on how best to handle this > situation. Do the Document > Settings > Float Placement > "Here if possible" or "Here definitely" options help? Nikos
Re: Figure Float Placement: Many Figures, Many Small Subsections
On Wed, 27 May 2015, Nikos Alexandris wrote: Do the Document > Settings > Float Placement > "Here if possible" or "Here definitely" options help? Nikos, Not so far. I'm still playing with them, but I get the maximum number of figures allowed in a section, then no graphic is displayed. That's because they're all in the same section of the document. I suppose I can expand each portion into a section of its own. Maybe. Thanks, Rich
Re: Figure Float Placement: Many Figures, Many Small Subsections
Rich Shepard writes: > > On Wed, 27 May 2015, Nikos Alexandris wrote: > > > Do the > > > > Document > Settings > Float Placement > "Here if possible" or "Here > > definitely" > > > > options help? > > Nikos, > >Not so far. I'm still playing with them, but I get the maximum number > of figures allowed in a section, then no graphic is displayed. That's > because they're all in the same section of the document. I suppose I can > expand each portion into a section of its own. Maybe. Note that latex allows only a fixed number of floats per page. By default, this is 3 but this number is stored in a counter and it can be changed. Try whether putting \setcounter{totalnumber}{10} in the preamble helps. It may or may not succeed, depending on the vertical space occupied by the floats. There are also other style parameters that may help: topnumber: (counter) maximum number of floats allowed at the top of a page. \topfraction: maximum fraction of the page that can be occupied by floats at the top of the page. A value of 0.25 means the top quarter. bottomnumber: (counter) same as topnumber except for the bottom of the page. \bottomfraction: same as \topfraction except for the bottom of the page. \texfraction: the minimum fraction of a page the must be devoted to text. The other 1-\textfraction may be occupied by floats. As an example: \setcounter{totalnumber}{10} \setcounter{topnumber}{5} \setcounter{bottomnumber}{5} \def\topfraction{1} \def\bottomfraction{1} \def\textfraction{0} allows placing up to 10 floats on a page (if they fit), even at the cost of not outputting any text on that page. There are also other parameters that can be tuned, such the spacing between text and floats, but I don't remember what they are. I think you can find them in a good latex book. HTH -- Enrico
Re: Figure Float Placement: Many Figures, Many Small Subsections
On Wed, 27 May 2015, Enrico Forestieri wrote: Note that latex allows only a fixed number of floats per page. By default, this is 3 but this number is stored in a counter and it can be changed. Enrico, Each float occupies about a half-page. There would be room for the figure and accompanying text on a page, or two figures on a page, but that's not how LaTeX is composing the page. One per page is the result, no text on that page, either. Strange. I think the most parsimonius solution is to restructure the manual so each related set of floats are in separate sections rather than sub-sections. Thanks, Rich
Re: Figure Float Placement: Many Figures, Many Small Subsections [RESOLVED]
On Wed, 27 May 2015, Rich Shepard wrote: I'm looking for suggestions on placing figure floats in a document where each figure is associated with a short subsection or sub-subsection. The solution consists of restructuring the document, raising subsections to sections and cascading to sub-subsections. And, playing with figure size. Interestingly, setting the size to 75% of the text line width produces tiny figures, while not restricting the size produces text line width figures, but isolates each one. More futzing will find the appropriate size for these. Thanks for the suggestions, Rich
Re: Help! Float placement problem
Thanks to everyone who answered. I did change the default setting to here if possible and after several replacement of the figures in the document (moving the spanning columns figure higher and the other lower), I was able to get it right. pheww! -- myriam Go Proverb: Don't peep at cutting points.
Re: Help! Float placement problem
Thanks to everyone who answered. I did change the default setting to here if possible and after several replacement of the figures in the document (moving the spanning columns figure higher and the other lower), I was able to get it right. pheww! -- myriam Go Proverb: Don't peep at cutting points.
Re: Help! Float placement problem
Thanks to everyone who answered. I did change the default setting to "here if possible" and after several replacement of the figures in the document (moving the spanning columns figure higher and the other lower), I was able to get it right. pheww! -- myriam Go Proverb: Don't peep at cutting points.
Re: Help! Float placement problem
On Fri, Apr 20, 2012 at 4:43 AM, Myriam Abramson mabram...@gmail.com wrote: Hello, I have lyx 2.0.3. My figures come out of order, that is Figure 2 is displayed before Figure 1. They are both float. Figure 1 is span columns. Lyx puts it on top of the next page instead of the top of the current page. I tried everything. Like what? Have you tried changing the 'Default' placement method---right click on the float label settings? Often 'Place here' or 'Ignore latex rules' has some effect. I also think that there is a command that makes LaTeX typeset all remaining floats before continuing, possibly: \afterpage{\clearpage} See. [1] [1] http://www.staff.science.uu.nl/~oostr102/floats/node1.html Liviu The option to put it at the bottom of the page is not available (greyed out). I am using the IEEEtran document class. What to do? Help! -- myriam PS better email me directly as I am not yet subscribed to this list. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Help! Float placement problem
On Fri, Apr 20, 2012 at 4:43 AM, Myriam Abramson mabram...@gmail.com wrote: Hello, I have lyx 2.0.3. My figures come out of order, that is Figure 2 is displayed before Figure 1. They are both float. Figure 1 is span columns. Lyx puts it on top of the next page instead of the top of the current page. I tried everything. Like what? Have you tried changing the 'Default' placement method---right click on the float label settings? Often 'Place here' or 'Ignore latex rules' has some effect. I also think that there is a command that makes LaTeX typeset all remaining floats before continuing, possibly: \afterpage{\clearpage} See. [1] [1] http://www.staff.science.uu.nl/~oostr102/floats/node1.html Liviu The option to put it at the bottom of the page is not available (greyed out). I am using the IEEEtran document class. What to do? Help! -- myriam PS better email me directly as I am not yet subscribed to this list. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Help! Float placement problem
On Fri, Apr 20, 2012 at 4:43 AM, Myriam Abramsonwrote: > > Hello, > > I have lyx 2.0.3. My figures come out of order, that is Figure 2 is > displayed before Figure 1. They are both float. Figure 1 is span > columns. Lyx puts it on top of the next page instead of the top of the > current page. I tried everything. > Like what? Have you tried changing the 'Default' placement method---right click on the float label > settings? Often 'Place here' or 'Ignore latex rules' has some effect. I also think that there is a command that makes LaTeX typeset all remaining floats before continuing, possibly: \afterpage{\clearpage} See. [1] [1] http://www.staff.science.uu.nl/~oostr102/floats/node1.html Liviu > The option to put it at the bottom > of the page is not available (greyed out). I am using the IEEEtran > document class. What to do? > > Help! > -- > myriam > > PS better email me directly as I am not yet subscribed to this list. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Help! Float placement problem
Hello, I have lyx 2.0.3. My figures come out of order, that is Figure 2 is displayed before Figure 1. They are both float. Figure 1 is span columns. Lyx puts it on top of the next page instead of the top of the current page. I tried everything. The option to put it at the bottom of the page is not available (greyed out). I am using the IEEEtran document class. What to do? Help! -- myriam PS better email me directly as I am not yet subscribed to this list.
Help! Float placement problem
Hello, I have lyx 2.0.3. My figures come out of order, that is Figure 2 is displayed before Figure 1. They are both float. Figure 1 is span columns. Lyx puts it on top of the next page instead of the top of the current page. I tried everything. The option to put it at the bottom of the page is not available (greyed out). I am using the IEEEtran document class. What to do? Help! -- myriam PS better email me directly as I am not yet subscribed to this list.
Help! Float placement problem
Hello, I have lyx 2.0.3. My figures come out of order, that is Figure 2 is displayed before Figure 1. They are both float. Figure 1 is span columns. Lyx puts it on top of the next page instead of the top of the current page. I tried everything. The option to put it at the bottom of the page is not available (greyed out). I am using the IEEEtran document class. What to do? Help! -- myriam PS better email me directly as I am not yet subscribed to this list.
Re: prevent float placement on page with /newpage
On 10. aug. 2011 14:51, Csikos Bela wrote: Hello lyx users: I have a question on float placement. I am working on a document with sections, and I start every section on a new page inserting an InsertFormattingNew page before the section title. But lyx occasionally places floats on the same (new) page above the new section title. How can I prevent this so that the section would start on a completely new page and the float would be inserted on a previous page? You can set the floats to appear in a page of floats, that is, a page with floats only and no mixing with text. That way, the previous section will end, a page with only floats appear, and then your next section starts on top of the page. To achieve this, right-click the float to bring up its settings, and select page of floats as the only option. Or you can set this in the document settings, as a standard for all floats. However, it seems to me that you should consider using one of the book types for document class, and chapters instead of sections. Chapters automatically start on a new page - this way you won't need to insert linefeeds. I also believe floats will be handled before the chapter page starts, so you shouldn't get a float above a chapter heading. Helge Hafting
Re: prevent float placement on page with /newpage
On 10. aug. 2011 14:51, Csikos Bela wrote: Hello lyx users: I have a question on float placement. I am working on a document with sections, and I start every section on a new page inserting an InsertFormattingNew page before the section title. But lyx occasionally places floats on the same (new) page above the new section title. How can I prevent this so that the section would start on a completely new page and the float would be inserted on a previous page? You can set the floats to appear in a page of floats, that is, a page with floats only and no mixing with text. That way, the previous section will end, a page with only floats appear, and then your next section starts on top of the page. To achieve this, right-click the float to bring up its settings, and select page of floats as the only option. Or you can set this in the document settings, as a standard for all floats. However, it seems to me that you should consider using one of the book types for document class, and chapters instead of sections. Chapters automatically start on a new page - this way you won't need to insert linefeeds. I also believe floats will be handled before the chapter page starts, so you shouldn't get a float above a chapter heading. Helge Hafting
Re: prevent float placement on page with /newpage
On 10. aug. 2011 14:51, Csikos Bela wrote: Hello lyx users: I have a question on float placement. I am working on a document with sections, and I start every section on a new page inserting an Insert>Formatting>New page before the section title. But lyx occasionally places floats on the same (new) page above the new section title. How can I prevent this so that the section would start on a completely new page and the float would be inserted on a previous page? You can set the floats to appear in a "page of floats", that is, a page with floats only and no mixing with text. That way, the previous section will end, a page with only floats appear, and then your next section starts on top of the page. To achieve this, right-click the float to bring up its settings, and select "page of floats" as the only option. Or you can set this in the document settings, as a standard for all floats. However, it seems to me that you should consider using one of the book types for document class, and chapters instead of sections. Chapters automatically start on a new page - this way you won't need to insert linefeeds. I also believe floats will be handled before the chapter page starts, so you shouldn't get a float above a chapter heading. Helge Hafting
prevent float placement on page with /newpage
Hello lyx users: I have a question on float placement. I am working on a document with sections, and I start every section on a new page inserting an InsertFormattingNew page before the section title. But lyx occasionally places floats on the same (new) page above the new section title. How can I prevent this so that the section would start on a completely new page and the float would be inserted on a previous page? Thanks, bcsikos
Re: prevent float placement on page with /newpage
2011/8/10 Csikos Bela bcsikos...@freemail.hu: Hello lyx users: I have a question on float placement. I am working on a document with sections, and I start every section on a new page inserting an InsertFormattingNew page before the section title. But lyx occasionally places floats on the same (new) page above the new section title. How can I prevent this so that the section would start on a completely new page and the float would be inserted on a previous page? For some pointers see Section 11 in LyX Essentials [1]. If it still doesn't work I would also look into the afterpage package. Liviu [1] https://sites.google.com/site/tsewiki/resources/latex/LyX_Essentials.pdf?attredirects=0d=1 Thanks, bcsikos -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: prevent float placement on page with /newpage
On 10/08/2011 8:51 AM, Csikos Bela wrote: Hello lyx users: I have a question on float placement. I am working on a document with sections, and I start every section on a new page inserting an InsertFormattingNew page before the section title. But lyx occasionally places floats on the same (new) page above the new section title. How can I prevent this so that the section would start on a completely new page and the float would be inserted on a previous page? Thanks, bcsikos Try to use Clear page instead of New page. -- Julien
prevent float placement on page with /newpage
Hello lyx users: I have a question on float placement. I am working on a document with sections, and I start every section on a new page inserting an InsertFormattingNew page before the section title. But lyx occasionally places floats on the same (new) page above the new section title. How can I prevent this so that the section would start on a completely new page and the float would be inserted on a previous page? Thanks, bcsikos
Re: prevent float placement on page with /newpage
2011/8/10 Csikos Bela bcsikos...@freemail.hu: Hello lyx users: I have a question on float placement. I am working on a document with sections, and I start every section on a new page inserting an InsertFormattingNew page before the section title. But lyx occasionally places floats on the same (new) page above the new section title. How can I prevent this so that the section would start on a completely new page and the float would be inserted on a previous page? For some pointers see Section 11 in LyX Essentials [1]. If it still doesn't work I would also look into the afterpage package. Liviu [1] https://sites.google.com/site/tsewiki/resources/latex/LyX_Essentials.pdf?attredirects=0d=1 Thanks, bcsikos -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: prevent float placement on page with /newpage
On 10/08/2011 8:51 AM, Csikos Bela wrote: Hello lyx users: I have a question on float placement. I am working on a document with sections, and I start every section on a new page inserting an InsertFormattingNew page before the section title. But lyx occasionally places floats on the same (new) page above the new section title. How can I prevent this so that the section would start on a completely new page and the float would be inserted on a previous page? Thanks, bcsikos Try to use Clear page instead of New page. -- Julien
prevent float placement on page with /newpage
Hello lyx users: I have a question on float placement. I am working on a document with sections, and I start every section on a new page inserting an Insert>Formatting>New page before the section title. But lyx occasionally places floats on the same (new) page above the new section title. How can I prevent this so that the section would start on a completely new page and the float would be inserted on a previous page? Thanks, bcsikos
Re: prevent float placement on page with /newpage
2011/8/10 Csikos Bela <bcsikos...@freemail.hu>: > Hello lyx users: > > I have a question on float placement. > I am working on a document with sections, and I start every section > on a new page inserting an Insert>Formatting>New page > before the section title. But lyx occasionally places floats on the > same (new) page above the new section title. > How can I prevent this so that the section would start > on a completely new page and the float would be inserted > on a previous page? > For some pointers see Section 11 in LyX Essentials [1]. If it still doesn't work I would also look into the afterpage package. Liviu [1] https://sites.google.com/site/tsewiki/resources/latex/LyX_Essentials.pdf?attredirects=0=1 > Thanks, > > bcsikos > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: prevent float placement on page with /newpage
On 10/08/2011 8:51 AM, Csikos Bela wrote: Hello lyx users: I have a question on float placement. I am working on a document with sections, and I start every section on a new page inserting an Insert>Formatting>New page before the section title. But lyx occasionally places floats on the same (new) page above the new section title. How can I prevent this so that the section would start on a completely new page and the float would be inserted on a previous page? Thanks, bcsikos Try to use "Clear page" instead of "New page". -- Julien
2 questions regarding float placement
Hi LyX-users, I have 2 questions regarding the placement of floats and the numbers assigned to them in cross-references. The first is whether it is possible to have to order in which floats are referred to in the text determine the order in which they appear in the final document. For example, suppose I have 2 tables, A and B, but I don't know ex-ante which will logically appear first in my final document. I would like for this to be automatically determined by the one that is first referred to in the text. Is this possible? Second, I would like to know how best to maintain consistency in table and figure numbering between a paper and a corresponding Beamer presentation. That is, suppose I have a paper with three tables but in a brief presentation only want to use the first and third of these. For example, the second is just a variant on the first that is worth including in a paper but not needed for a time-limited presentation. It would be useful for the numbering in the presentation to match the numbering in the paper, so as not to confuse people in the audience who have a copy of the paper. Thanks.
2 questions regarding float placement
Hi LyX-users, I have 2 questions regarding the placement of floats and the numbers assigned to them in cross-references. The first is whether it is possible to have to order in which floats are referred to in the text determine the order in which they appear in the final document. For example, suppose I have 2 tables, A and B, but I don't know ex-ante which will logically appear first in my final document. I would like for this to be automatically determined by the one that is first referred to in the text. Is this possible? Second, I would like to know how best to maintain consistency in table and figure numbering between a paper and a corresponding Beamer presentation. That is, suppose I have a paper with three tables but in a brief presentation only want to use the first and third of these. For example, the second is just a variant on the first that is worth including in a paper but not needed for a time-limited presentation. It would be useful for the numbering in the presentation to match the numbering in the paper, so as not to confuse people in the audience who have a copy of the paper. Thanks.
2 questions regarding float placement
Hi LyX-users, I have 2 questions regarding the placement of floats and the numbers assigned to them in cross-references. The first is whether it is possible to have to order in which floats are referred to in the text determine the order in which they appear in the final document. For example, suppose I have 2 tables, A and B, but I don't know ex-ante which will logically appear first in my final document. I would like for this to be automatically determined by the one that is first referred to in the text. Is this possible? Second, I would like to know how best to maintain consistency in table and figure numbering between a paper and a corresponding Beamer presentation. That is, suppose I have a paper with three tables but in a brief presentation only want to use the first and third of these. For example, the second is just a variant on the first that is worth including in a paper but not needed for a time-limited presentation. It would be useful for the numbering in the presentation to match the numbering in the paper, so as not to confuse people in the audience who have a copy of the paper. Thanks.
Float placement with SWeave
Can anyone give me some hints about float placement of figures created with SWeave. I have tried a float and a wrap float, but the former seems to put the floats one per page, and the latter seems to end up with text running through the figure. Is there a standard way of doing this, or do I just have to keep fiddling. Of course this migt be more my inexperience wth Lyx rather than SWeave, but normally with a figure, I can alter the size of the figures, to find an optimum size for the float, but with SWeave, the float doesn't contain the figure, only the code to create the figure in R, so this isn't an option. This is Lyx 1.6.2 on a Mac with tiger. Many thanks, Graham
Float placement with SWeave
Can anyone give me some hints about float placement of figures created with SWeave. I have tried a float and a wrap float, but the former seems to put the floats one per page, and the latter seems to end up with text running through the figure. Is there a standard way of doing this, or do I just have to keep fiddling. Of course this migt be more my inexperience wth Lyx rather than SWeave, but normally with a figure, I can alter the size of the figures, to find an optimum size for the float, but with SWeave, the float doesn't contain the figure, only the code to create the figure in R, so this isn't an option. This is Lyx 1.6.2 on a Mac with tiger. Many thanks, Graham
Float placement with SWeave
Can anyone give me some hints about float placement of figures created with SWeave. I have tried a float and a wrap float, but the former seems to put the floats one per page, and the latter seems to end up with text running through the figure. Is there a "standard" way of doing this, or do I just have to keep fiddling. Of course this migt be more my inexperience wth Lyx rather than SWeave, but normally with a figure, I can alter the size of the figures, to find an optimum size for the float, but with SWeave, the float doesn't contain the figure, only the code to create the figure in R, so this isn't an option. This is Lyx 1.6.2 on a Mac with tiger. Many thanks, Graham
Re: Float placement
Guillaume Larocque wrote: Hi, I would like to use the natbib package for my citations in Lyx with the [sort] option so that multiple citations are ordered into the sequence in which they appear in the list of references. However, specifying \usepackage[numbers,sortcompress]{natbib} in the preamble of my document produces an error when compiling to pdf. It says the package has already been called. Is there any other way of doing this in Lyx? You can just add the options to the Options field in DocumentSettingsDocument Class. They're passed to other packages, as they're loaded. rh
Re: Float placement
Guillaume Larocque wrote: Hi, I would like to use the natbib package for my citations in Lyx with the [sort] option so that multiple citations are ordered into the sequence in which they appear in the list of references. However, specifying \usepackage[numbers,sortcompress]{natbib} in the preamble of my document produces an error when compiling to pdf. It says the package has already been called. Is there any other way of doing this in Lyx? You can just add the options to the Options field in DocumentSettingsDocument Class. They're passed to other packages, as they're loaded. rh
Re: Float placement
Guillaume Larocque wrote: Hi, I would like to use the natbib package for my citations in Lyx with the [sort] option so that multiple citations are ordered into the sequence in which they appear in the list of references. However, specifying \usepackage[numbers,sort]{natbib} in the preamble of my document produces an error when compiling to pdf. It says the package has already been called. Is there any other way of doing this in Lyx? You can just add the options to the Options field in Document>Settings>Document Class. They're passed to other packages, as they're loaded. rh
Re: Float placement
On 22.08.08, Guillaume Larocque wrote: Guillaume Larocque wrote: Ok, here are the exact symptoms of the problem. If I have a few floats inserted in a sequence in Lyx, as soon as Latex decides that one float will be on a separate page, all the floats following it will also be placed on a separate page, regardless of their size. Are you saying that after the first float gets a separate page, each of the subsequent floats sits alone on a page? Yes. What I have in a few places in my document is something like: one large float, 4 smaller floats, one other large float and then 3 smaller floats again. Latex decides to put the one large float on a separate page and then it puts all the rest of the floats on seperate pages **also at the end of the Chapter.** It looks to me as if your documentclass (or some loaded package or preamble setting) creates a page of floats only **at the end of a chapter**. As the order of floats is never changed, subsequent floats in this chapter are placed behind this page of floats. As a new chapter starts on a new page, these floats will also be alone on a page. Its probably deciding that there are too many floats that will break the text. I get that behaviour even if I select 'top of page' for all the floats. What happens, if you activate the ignore LaTeX rules button? I managed to get the floats pretty much where I want them with info from this website: http://people.cs.uu.nl/piet/floats/node1.html Particularly with the use of: \afterpage{\clearpage} and by moving some floats between paragraphs. I was just hoping that Latex would figure all this out for me. As good layout (and font-placing) is a matter of taste, LaTeX cannot please all without some configuration efforts from the side of users that have a different taste from the documentclass designers. This is why typesetting with LaTeX/LyX is straightforward if you find a documentstyle you happen to like (or which fullfills the requirements of the institution you write for) but is a pain, if you do not like the default output. Günter
Re: Float placement
Hi, I would like to use the natbib package for my citations in Lyx with the [sort] option so that multiple citations are ordered into the sequence in which they appear in the list of references. However, specifying \usepackage[numbers,sortcompress]{natbib} in the preamble of my document produces an error when compiling to pdf. It says the package has already been called. Is there any other way of doing this in Lyx? Thanks, Guillaume
Re: Float placement
On 22.08.08, Guillaume Larocque wrote: Guillaume Larocque wrote: Ok, here are the exact symptoms of the problem. If I have a few floats inserted in a sequence in Lyx, as soon as Latex decides that one float will be on a separate page, all the floats following it will also be placed on a separate page, regardless of their size. Are you saying that after the first float gets a separate page, each of the subsequent floats sits alone on a page? Yes. What I have in a few places in my document is something like: one large float, 4 smaller floats, one other large float and then 3 smaller floats again. Latex decides to put the one large float on a separate page and then it puts all the rest of the floats on seperate pages **also at the end of the Chapter.** It looks to me as if your documentclass (or some loaded package or preamble setting) creates a page of floats only **at the end of a chapter**. As the order of floats is never changed, subsequent floats in this chapter are placed behind this page of floats. As a new chapter starts on a new page, these floats will also be alone on a page. Its probably deciding that there are too many floats that will break the text. I get that behaviour even if I select 'top of page' for all the floats. What happens, if you activate the ignore LaTeX rules button? I managed to get the floats pretty much where I want them with info from this website: http://people.cs.uu.nl/piet/floats/node1.html Particularly with the use of: \afterpage{\clearpage} and by moving some floats between paragraphs. I was just hoping that Latex would figure all this out for me. As good layout (and font-placing) is a matter of taste, LaTeX cannot please all without some configuration efforts from the side of users that have a different taste from the documentclass designers. This is why typesetting with LaTeX/LyX is straightforward if you find a documentstyle you happen to like (or which fullfills the requirements of the institution you write for) but is a pain, if you do not like the default output. Günter
Re: Float placement
Hi, I would like to use the natbib package for my citations in Lyx with the [sort] option so that multiple citations are ordered into the sequence in which they appear in the list of references. However, specifying \usepackage[numbers,sortcompress]{natbib} in the preamble of my document produces an error when compiling to pdf. It says the package has already been called. Is there any other way of doing this in Lyx? Thanks, Guillaume
Re: Float placement
On 22.08.08, Guillaume Larocque wrote: > Guillaume Larocque wrote: > >> Ok, here are the exact symptoms of the problem. If I have a few floats > >> inserted in a sequence in Lyx, as soon as Latex decides that one float > >> will be on a separate page, all the floats following it will also be > >> placed on a separate page, regardless of their size. > > > >Are you saying that after the first float gets a separate page, each of > >the subsequent floats sits alone on a page? > Yes. What I have in a few places in my document is something like: one > large float, 4 smaller floats, one other large float and then 3 > smaller floats again. > Latex decides to put the one large float on a separate page and then > it puts all the rest of the floats on seperate pages > **also at the end of the Chapter.** It looks to me as if your documentclass (or some loaded package or preamble setting) creates a "page of floats" only **at the end of a chapter**. As the order of floats is never changed, subsequent floats in this chapter are placed behind this "page of floats". As a new chapter starts on a new page, these floats will also be alone on a page. > Its probably deciding that there are too many floats that will break > the text. I get that behaviour even if I select 'top of page' for all > the floats. What happens, if you activate the "ignore LaTeX rules" button? > I managed to get the floats pretty much where I want them with info > from this website: http://people.cs.uu.nl/piet/floats/node1.html > Particularly with the use of: > \afterpage{\clearpage} > and by moving some floats between paragraphs. I was just hoping that > Latex would figure all this out for me. As "good layout" (and font-placing) is a matter of taste, LaTeX cannot please all without some configuration efforts from the side of users that have a different taste from the documentclass designers. This is why typesetting with LaTeX/LyX is straightforward if you find a documentstyle you happen to like (or which fullfills the requirements of the institution you write for) but is a pain, if you do not like the default output. Günter
Re: Float placement
Hi, I would like to use the natbib package for my citations in Lyx with the [sort] option so that multiple citations are ordered into the sequence in which they appear in the list of references. However, specifying \usepackage[numbers,sort]{natbib} in the preamble of my document produces an error when compiling to pdf. It says the package has already been called. Is there any other way of doing this in Lyx? Thanks, Guillaume
Re: Float placement
On 21.08.08, Guillaume Larocque wrote: Ok, here are the exact symptoms of the problem. If I have a few floats inserted in a sequence in Lyx, as soon as Latex decides that one float will be on a separate page, all the floats following it will also be placed on a separate page, regardless of their size. That has got to be a bug. I just don't see why this behaviour would make sense. This is a (La)TeX feature. Like it or not, but LyX cannot circumvent it that easily. The idea is that the *order* of the floats should not be changed. So, if a too big float will go on a separate page, no other float that follows it in the source will appear before this extra page. Instead, they will be printed at the next possible location, which most likely is the remaining space on this extra page. You can either * change the order or placement of the floats in the LyX file, * change settings so that the odd float is not placed on a separate page. (See http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=floats/parameter) Günter
Re: Float placement
Guillaume Larocque wrote: Ok, here are the exact symptoms of the problem. If I have a few floats inserted in a sequence in Lyx, as soon as Latex decides that one float will be on a separate page, all the floats following it will also be placed on a separate page, regardless of their size. That has got to be a bug. I just don't see why this behaviour would make sense. Are you saying that after the first float gets a separate page, each of the subsequent floats sits alone on a page? If so, I don't reproduce that here. I made a small test document (Komascript book class) like this: textbig floatmedium floatsmall floatmore text. The big float is big enough that it has to be on its own page; the smaller floats are not. What I get is all text on page 1, the big float alone on page 2, the other two floats one after the other at the top of page 3 followed by more text. Or did I misunderstand what you wrote? /Paul
Re: Float placement
Guillaume Larocque wrote: Ok, here are the exact symptoms of the problem. If I have a few floats inserted in a sequence in Lyx, as soon as Latex decides that one float will be on a separate page, all the floats following it will also be placed on a separate page, regardless of their size. That has got to be a bug. I just don't see why this behaviour would make sense. Are you saying that after the first float gets a separate page, each of the subsequent floats sits alone on a page? If so, I don't reproduce that here. I made a small test document (Komascript book class) like this: textbig floatmedium floatsmall floatmore text. The big float is big enough that it has to be on its own page; the smaller floats are not. What I get is all text on page 1, the big float alone on page 2, the other two floats one after the other at the top of page 3 followed by more text. Yes. What I have in a few places in my document is something like: one large float, 4 smaller floats, one other large float and then 3 smaller floats again. Latex decides to put the one large float on a separate page and then it puts all the rest of the floats on seperate pages also at the end of the Chapter. Its probably deciding that there are too many floats that will break the text. I get that behaviour even if I select 'top of page' for all the floats. I managed to get the floats pretty much where I want them with info from this website: http://people.cs.uu.nl/piet/floats/node1.html Particularly with the use of: \afterpage{\clearpage} and by moving some floats between paragraphs. I was just hoping that Latex would figure all this out for me. Thanks for the answers, Guillaume
Re: Float placement
On 21.08.08, Guillaume Larocque wrote: Ok, here are the exact symptoms of the problem. If I have a few floats inserted in a sequence in Lyx, as soon as Latex decides that one float will be on a separate page, all the floats following it will also be placed on a separate page, regardless of their size. That has got to be a bug. I just don't see why this behaviour would make sense. This is a (La)TeX feature. Like it or not, but LyX cannot circumvent it that easily. The idea is that the *order* of the floats should not be changed. So, if a too big float will go on a separate page, no other float that follows it in the source will appear before this extra page. Instead, they will be printed at the next possible location, which most likely is the remaining space on this extra page. You can either * change the order or placement of the floats in the LyX file, * change settings so that the odd float is not placed on a separate page. (See http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=floats/parameter) Günter
Re: Float placement
Guillaume Larocque wrote: Ok, here are the exact symptoms of the problem. If I have a few floats inserted in a sequence in Lyx, as soon as Latex decides that one float will be on a separate page, all the floats following it will also be placed on a separate page, regardless of their size. That has got to be a bug. I just don't see why this behaviour would make sense. Are you saying that after the first float gets a separate page, each of the subsequent floats sits alone on a page? If so, I don't reproduce that here. I made a small test document (Komascript book class) like this: textbig floatmedium floatsmall floatmore text. The big float is big enough that it has to be on its own page; the smaller floats are not. What I get is all text on page 1, the big float alone on page 2, the other two floats one after the other at the top of page 3 followed by more text. Or did I misunderstand what you wrote? /Paul
Re: Float placement
Guillaume Larocque wrote: Ok, here are the exact symptoms of the problem. If I have a few floats inserted in a sequence in Lyx, as soon as Latex decides that one float will be on a separate page, all the floats following it will also be placed on a separate page, regardless of their size. That has got to be a bug. I just don't see why this behaviour would make sense. Are you saying that after the first float gets a separate page, each of the subsequent floats sits alone on a page? If so, I don't reproduce that here. I made a small test document (Komascript book class) like this: textbig floatmedium floatsmall floatmore text. The big float is big enough that it has to be on its own page; the smaller floats are not. What I get is all text on page 1, the big float alone on page 2, the other two floats one after the other at the top of page 3 followed by more text. Yes. What I have in a few places in my document is something like: one large float, 4 smaller floats, one other large float and then 3 smaller floats again. Latex decides to put the one large float on a separate page and then it puts all the rest of the floats on seperate pages also at the end of the Chapter. Its probably deciding that there are too many floats that will break the text. I get that behaviour even if I select 'top of page' for all the floats. I managed to get the floats pretty much where I want them with info from this website: http://people.cs.uu.nl/piet/floats/node1.html Particularly with the use of: \afterpage{\clearpage} and by moving some floats between paragraphs. I was just hoping that Latex would figure all this out for me. Thanks for the answers, Guillaume
Re: Float placement
On 21.08.08, Guillaume Larocque wrote: > Ok, here are the exact symptoms of the problem. If I have a few floats > inserted in a sequence in Lyx, as soon as Latex decides that one float > will be on a separate page, all the floats following it will also be > placed on a separate page, regardless of their size. That has got to > be a bug. I just don't see why this behaviour would make sense. This is a (La)TeX feature. Like it or not, but LyX cannot circumvent it that easily. The idea is that the *order* of the floats should not be changed. So, if a "too big" float will go on a separate page, no other float that follows it in the source will appear before this extra page. Instead, they will be printed at the next possible location, which most likely is the remaining space on this extra page. You can either * change the order or placement of the floats in the LyX file, * change settings so that the "odd" float is not placed on a separate page. (See http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=floats/parameter) Günter
Re: Float placement
Guillaume Larocque wrote: Ok, here are the exact symptoms of the problem. If I have a few floats inserted in a sequence in Lyx, as soon as Latex decides that one float will be on a separate page, all the floats following it will also be placed on a separate page, regardless of their size. That has got to be a bug. I just don't see why this behaviour would make sense. Are you saying that after the first float gets a separate page, each of the subsequent floats sits alone on a page? If so, I don't reproduce that here. I made a small test document (Komascript book class) like this: . The big float is big enough that it has to be on its own page; the smaller floats are not. What I get is all text on page 1, the big float alone on page 2, the other two floats one after the other at the top of page 3 followed by more text. Or did I misunderstand what you wrote? /Paul
Re: Float placement
Guillaume Larocque wrote: >> Ok, here are the exact symptoms of the problem. If I have a few floats >> inserted in a sequence in Lyx, as soon as Latex decides that one float >> will be on a separate page, all the floats following it will also be >> placed on a separate page, regardless of their size. That has got to >> be a bug. I just don't see why this behaviour would make sense. > > >Are you saying that after the first float gets a separate page, each of >the subsequent floats sits alone on a page? If so, I don't reproduce >that here. I made a small test document (Komascript book class) like >this: . The big >float is big enough that it has to be on its own page; the smaller >floats are not. What I get is all text on page 1, the big float alone >on page 2, the other two floats one after the other at the top of page 3 >followed by more text. Yes. What I have in a few places in my document is something like: one large float, 4 smaller floats, one other large float and then 3 smaller floats again. Latex decides to put the one large float on a separate page and then it puts all the rest of the floats on seperate pages also at the end of the Chapter. Its probably deciding that there are too many floats that will break the text. I get that behaviour even if I select 'top of page' for all the floats. I managed to get the floats pretty much where I want them with info from this website: http://people.cs.uu.nl/piet/floats/node1.html Particularly with the use of: \afterpage{\clearpage} and by moving some floats between paragraphs. I was just hoping that Latex would figure all this out for me. Thanks for the answers, Guillaume
Re: Float placement
Ok, here are the exact symptoms of the problem. If I have a few floats inserted in a sequence in Lyx, as soon as Latex decides that one float will be on a separate page, all the floats following it will also be placed on a separate page, regardless of their size. That has got to be a bug. I just don't see why this behaviour would make sense. Thanks, Guillaume Just a guess: Put each float in a seperate paragraph (press Enter). Lyx won't allow me to insert paragraph breaks between floats. Guillaume
Re: Float placement
Ok, here are the exact symptoms of the problem. If I have a few floats inserted in a sequence in Lyx, as soon as Latex decides that one float will be on a separate page, all the floats following it will also be placed on a separate page, regardless of their size. That has got to be a bug. I just don't see why this behaviour would make sense. Thanks, Guillaume Just a guess: Put each float in a seperate paragraph (press Enter). Lyx won't allow me to insert paragraph breaks between floats. Guillaume
Re: Float placement
Ok, here are the exact symptoms of the problem. If I have a few floats inserted in a sequence in Lyx, as soon as Latex decides that one float will be on a separate page, all the floats following it will also be placed on a separate page, regardless of their size. That has got to be a bug. I just don't see why this behaviour would make sense. Thanks, Guillaume > > Just a guess: Put each float in a seperate paragraph (press Enter). > > > > Lyx won't allow me to insert paragraph breaks between floats. > > Guillaume >
Float placement
Hi, I am writing my thesis using Lyx (Koma-script(Book) layout) and I have issues with the placement of floats. I find that in some cases, even if a figure only takes 50-60% of the page, the floats will be put on a separate page without any text over or below it. This is especially a problem when multiple floats are inserted one after the other in Lyx. What I would like is it a more compact document where floats are placed at the top or botton of pages more often, even if multiple floats follow each other in the document. I have tried inserting this in the preamble of the document: \renewcommand{\bottomfraction}{0.5} \renewcommand{\topfraction}{0.85} but that did not seem to solve the problem. Thank you for any hints that may help me solve this issue. Guillaume
Re: Float placement
I got my floats mostly to the right place when I set the options * Here if posible * Top of page * Bottom of page Therefore you have right-click on a collapsed float object and you can select these option in the Float-Settings. The user manual on embedded objects seems to suggest that these are already the default latex placement priorities. In fact, my problem seems to be related to the particular case where multiple floats are inserted one after the other in Lyx. Thanks, Guillaume
Re: Float placement
On Thu, Aug 14, 2008 at 05:11:43PM -0400, Guillaume Larocque wrote: In fact, my problem seems to be related to the particular case where multiple floats are inserted one after the other in Lyx. Just a guess: Put each float in a seperate paragraph (press Enter). By, Friedrich Otherwise you could send me the lyx-file and I look up tomorow.
Re: Float placement
Just a guess: Put each float in a seperate paragraph (press Enter). Lyx won't allow me to insert paragraph breaks between floats. Guillaume
Re: Float placement
I had this problem before, then I found a way to control Figure float. You can control the float by right click inside the figure float and uncheck use default placement, select either one top of page, bottom of page, here if possible or here definitely. It behaves similarly in Table float, do the same thing. If you want to change the default, DocumentSettingsFloat placement uncheck the default system and select other type. Actually, You can select more than one, but I have not tried. You can find the explanation in the User Guide 4.6.3 Regards /Adi On Fri, Aug 15, 2008 at 4:17 AM, Guillaume Larocque [EMAIL PROTECTED]wrote: Hi, I am writing my thesis using Lyx (Koma-script(Book) layout) and I have issues with the placement of floats. I find that in some cases, even if a figure only takes 50-60% of the page, the floats will be put on a separate page without any text over or below it. This is especially a problem when multiple floats are inserted one after the other in Lyx. What I would like is it a more compact document where floats are placed at the top or botton of pages more often, even if multiple floats follow each other in the document. I have tried inserting this in the preamble of the document: \renewcommand{\bottomfraction}{0.5} \renewcommand{\topfraction}{0.85} but that did not seem to solve the problem. Thank you for any hints that may help me solve this issue. Guillaume -- Waluyo Adi Siswanto, PhD Dept. Engineering Mechanics Univ. Tun Hussein Onn Malaysia (UTHM) http://www.uthm.edu.my
Float placement
Hi, I am writing my thesis using Lyx (Koma-script(Book) layout) and I have issues with the placement of floats. I find that in some cases, even if a figure only takes 50-60% of the page, the floats will be put on a separate page without any text over or below it. This is especially a problem when multiple floats are inserted one after the other in Lyx. What I would like is it a more compact document where floats are placed at the top or botton of pages more often, even if multiple floats follow each other in the document. I have tried inserting this in the preamble of the document: \renewcommand{\bottomfraction}{0.5} \renewcommand{\topfraction}{0.85} but that did not seem to solve the problem. Thank you for any hints that may help me solve this issue. Guillaume
Re: Float placement
I got my floats mostly to the right place when I set the options * Here if posible * Top of page * Bottom of page Therefore you have right-click on a collapsed float object and you can select these option in the Float-Settings. The user manual on embedded objects seems to suggest that these are already the default latex placement priorities. In fact, my problem seems to be related to the particular case where multiple floats are inserted one after the other in Lyx. Thanks, Guillaume
Re: Float placement
On Thu, Aug 14, 2008 at 05:11:43PM -0400, Guillaume Larocque wrote: In fact, my problem seems to be related to the particular case where multiple floats are inserted one after the other in Lyx. Just a guess: Put each float in a seperate paragraph (press Enter). By, Friedrich Otherwise you could send me the lyx-file and I look up tomorow.
Re: Float placement
Just a guess: Put each float in a seperate paragraph (press Enter). Lyx won't allow me to insert paragraph breaks between floats. Guillaume
Re: Float placement
I had this problem before, then I found a way to control Figure float. You can control the float by right click inside the figure float and uncheck use default placement, select either one top of page, bottom of page, here if possible or here definitely. It behaves similarly in Table float, do the same thing. If you want to change the default, DocumentSettingsFloat placement uncheck the default system and select other type. Actually, You can select more than one, but I have not tried. You can find the explanation in the User Guide 4.6.3 Regards /Adi On Fri, Aug 15, 2008 at 4:17 AM, Guillaume Larocque [EMAIL PROTECTED]wrote: Hi, I am writing my thesis using Lyx (Koma-script(Book) layout) and I have issues with the placement of floats. I find that in some cases, even if a figure only takes 50-60% of the page, the floats will be put on a separate page without any text over or below it. This is especially a problem when multiple floats are inserted one after the other in Lyx. What I would like is it a more compact document where floats are placed at the top or botton of pages more often, even if multiple floats follow each other in the document. I have tried inserting this in the preamble of the document: \renewcommand{\bottomfraction}{0.5} \renewcommand{\topfraction}{0.85} but that did not seem to solve the problem. Thank you for any hints that may help me solve this issue. Guillaume -- Waluyo Adi Siswanto, PhD Dept. Engineering Mechanics Univ. Tun Hussein Onn Malaysia (UTHM) http://www.uthm.edu.my
Float placement
Hi, I am writing my thesis using Lyx (Koma-script(Book) layout) and I have issues with the placement of floats. I find that in some cases, even if a figure only takes 50-60% of the page, the floats will be put on a separate page without any text over or below it. This is especially a problem when multiple floats are inserted one after the other in Lyx. What I would like is it a more compact document where floats are placed at the top or botton of pages more often, even if multiple floats follow each other in the document. I have tried inserting this in the preamble of the document: \renewcommand{\bottomfraction}{0.5} \renewcommand{\topfraction}{0.85} but that did not seem to solve the problem. Thank you for any hints that may help me solve this issue. Guillaume
Re: Float placement
I got my floats mostly to the right place when I set the options * Here if posible * Top of page * Bottom of page Therefore you have right-click on a collapsed float object and you can select these option in the Float-Settings. The user manual on embedded objects seems to suggest that these are already the default latex placement priorities. In fact, my problem seems to be related to the particular case where multiple floats are inserted one after the other in Lyx. Thanks, Guillaume
Re: Float placement
On Thu, Aug 14, 2008 at 05:11:43PM -0400, Guillaume Larocque wrote: > In fact, my problem seems to be > related to the particular case where multiple floats are inserted one after > the other in Lyx. Just a guess: Put each float in a seperate paragraph (press Enter). By, Friedrich Otherwise you could send me the lyx-file and I look up tomorow.
Re: Float placement
Just a guess: Put each float in a seperate paragraph (press Enter). Lyx won't allow me to insert paragraph breaks between floats. Guillaume
Re: Float placement
I had this problem before, then I found a way to control Figure float. You can control the float by "right click" inside the figure float and uncheck "use default placement", select either one "top of page", "bottom of page", "here if possible" or "here definitely". It behaves similarly in Table float, do the same thing. If you want to change the default, Document>Settings>Float placement> uncheck the default system and select other type. Actually, You can select more than one, but I have not tried. You can find the explanation in the User Guide 4.6.3 Regards /Adi On Fri, Aug 15, 2008 at 4:17 AM, Guillaume Larocque <[EMAIL PROTECTED]>wrote: > Hi, I am writing my thesis using Lyx (Koma-script(Book) layout) and I > have issues with the placement of floats. I find that in some cases, > even if a figure only takes 50-60% of the page, the floats will be put > on a separate page without any text over or below it. This is > especially a problem when multiple floats are inserted one after the > other in Lyx. What I would like is it a more compact document where > floats are placed at the top or botton of pages more often, even if > multiple floats follow each other in the document. I have tried > inserting this in the preamble of the document: > > \renewcommand{\bottomfraction}{0.5} > \renewcommand{\topfraction}{0.85} > > but that did not seem to solve the problem. > > Thank you for any hints that may help me solve this issue. > > Guillaume > -- Waluyo Adi Siswanto, PhD Dept. Engineering Mechanics Univ. Tun Hussein Onn Malaysia (UTHM) http://www.uthm.edu.my
Re: Default Float placement is pathetic
Marwan Boustany wrote: I understand, but one thing I noticed when allowing them to go on another page is that in the place where the figures used to be there is a gap in the text... If you put the float on a line of its own, then you have created a paragraph break and so there will be a gap in the text. You won't notice that gap _if_ the float happen to go exactly there anyway. Doing this is common because LyX looks neater that way. It is usually not a problem, because normal text have short paragraphs anyway. If you don't have that, be aware that you _may_ put a float in the middle of some sentence - and the sentence should then come out without any unusual breaks. this along with figures appearing in the wrong order, and appearing in the middle of my chapter conclusion... Figures should appear in the same order as in your LyX file. Tables should appear in the same order too. But I believe latex is allowed to move a figure past a table if that yields a better layout overall. If that is unacceptable, consider using only one type of float - i.e. put tables in figure floats too. Well, not if you really need separate list of figures and list of tables. Helge Hafting
Re: Default Float placement is pathetic
Marwan Boustany wrote: I understand, but one thing I noticed when allowing them to go on another page is that in the place where the figures used to be there is a gap in the text... If you put the float on a line of its own, then you have created a paragraph break and so there will be a gap in the text. You won't notice that gap _if_ the float happen to go exactly there anyway. Doing this is common because LyX looks neater that way. It is usually not a problem, because normal text have short paragraphs anyway. If you don't have that, be aware that you _may_ put a float in the middle of some sentence - and the sentence should then come out without any unusual breaks. this along with figures appearing in the wrong order, and appearing in the middle of my chapter conclusion... Figures should appear in the same order as in your LyX file. Tables should appear in the same order too. But I believe latex is allowed to move a figure past a table if that yields a better layout overall. If that is unacceptable, consider using only one type of float - i.e. put tables in figure floats too. Well, not if you really need separate list of figures and list of tables. Helge Hafting
Re: Default Float placement is pathetic
Marwan Boustany wrote: I understand, but one thing I noticed when allowing them to go on another page is that in the place where the figures used to be there is a gap in the text... If you put the float on a line of its own, then you have created a paragraph break and so there will be a gap in the text. You won't notice that gap _if_ the float happen to go exactly there anyway. Doing this is common because LyX looks neater that way. It is usually not a problem, because normal text have short paragraphs anyway. If you don't have that, be aware that you _may_ put a float in the middle of some sentence - and the sentence should then come out without any unusual breaks. this along with figures appearing in the wrong order, and appearing in the middle of my chapter conclusion... Figures should appear in the same order as in your LyX file. Tables should appear in the same order too. But I believe latex is allowed to move a figure past a table if that yields a better layout overall. If that is unacceptable, consider using only one type of float - i.e. put tables in figure floats too. Well, not if you really need separate list of figures and list of tables. Helge Hafting
Re: Default Float placement is pathetic
Marwan Boustany wrote: On Mon, 19 May 2008 22:12:57 +0100, Uwe Stöhr [EMAIL PROTECTED] wrote: Marwan Boustany schrieb: Peace, Nice joke. It was not a joke, if I wanted to joke I could say, What is the difference between a store and a stohr? and someone else would say what?, then I would say You can get something useful from a store. Well that's an insulting joke IMHO, especially for someone like Uwe who doesn't count his time when helping users... Is it really what you meant? Before answering this way maybe you could ask Uwe why he thinks this is a joke? I myself didn't understand why Uwe ;-) Abdel.
Re: Default Float placement is pathetic
Marwan Boustany wrote: As it happens the graphics are large, taking up, lengthwise about 40% of the page. And they tend to need to be where i put them for the most part. For dual side document, my experience is that, when a graphic is large (and 40% of the page height is certainly large enough), then p (page) will give you the best visual effect. In general you will be able to read the text and the graphics side by side. Hope this helps, Abdel.
Re: Default Float placement is pathetic
Uwe Stöhr wrote: Marwan Boustany schrieb: Peace, Nice joke. Just FYI 'Salam' in Arabic real meaning is 'Peace'. But that's the word Arabic people uses to say hello. Salam, Abdel.
Re: Default Float placement is pathetic
On 20.05.08, Marwan Boustany wrote: On Tue, 20 May 2008 00:49:45 +0100, Steve Litt wrote: On Monday 19 May 2008 12:51, Marwan Boustany wrote: Is it necessary to force [e]very float to be 'here definitely' if I actually want it to be correctly placed in the text? * If you want it exactly at the position where you have it in the input text (i.e. a non-floating float), yes. As the float will be put as one nonbreakable unit, there will be lots of vertical whitespace before or after in many cases. * If you want it at a correct position but not necessarily exact where it is, no. As it happens the graphics are large, taking up, lengthwise about 40% of the page. This is a very important part of information (as well as the number of floats in the document). We also need to know, whether your thesis layout should a) normally place floats at the top or bottom of a page b) always place floats at the top or bottom of a page c) preferabely puts floats between the text d) always puts floats between the text In case of d), using the global toggle here definitely in LyX helps. LaTeX has it's own idea about the correct position of a float, but there are a lot of parameters to customise this. Float placement in LaTeX is not *pathetic* but *complex*! Consulting a LaTeX guide (or local expert) about this topic is recommended. The counters topnumber and bottomnumber determine how many floats are allowed on one page and the commands \topfraction, \bottomfraction and \textfraction determine how much space they might take. Change with e.g. \setcounter{topnumber}{4} or \renewcommand{textfraction}{0.1} in the LaTeX preamble. Günter
Re: Default Float placement is pathetic
Andre Poenitz [EMAIL PROTECTED] writes: On Mon, May 19, 2008 at 08:29:19PM +0100, Marwan Boustany wrote: I think the point with me is that I have text and graphics in a way that the graphics really must be exactly where i put them, spacing as per latex formating is fine, but I cannot have them being grouped on separate pages or in the middle of other text willy nilly. Right, and then you can and should use 'definitely here'. It's not the default as the people creating these options did not consider this the 'usually wanted behaviour'. Or you can include graphics without putting them in a figure float. If the figures have to be in precise points, I am surprised that you need captions at all. JMarc
Re: Default Float placement is pathetic
Abdelrazak Younes [EMAIL PROTECTED] writes: I myself didn't understand why Uwe ;-) It is because he. JMarc
Re: Default Float placement is pathetic
On Tue, 20 May 2008 09:17:07 +0100, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: Andre Poenitz [EMAIL PROTECTED] writes: On Mon, May 19, 2008 at 08:29:19PM +0100, Marwan Boustany wrote: I think the point with me is that I have text and graphics in a way that the graphics really must be exactly where i put them, spacing as per latex formating is fine, but I cannot have them being grouped on separate pages or in the middle of other text willy nilly. Right, and then you can and should use 'definitely here'. It's not the default as the people creating these options did not consider this the 'usually wanted behaviour'. Or you can include graphics without putting them in a figure float. If the figures have to be in precise points, I am surprised that you need captions at all. JMarc It is because the context of figures is mostly local, with occasional need to reference them elsewhere. Also there are many figures in the so far 40 page document, approximately 20. so if they are placed around the place by latex they start to mix up. Finally, I may need to refer to up to three pictures in one paragraph, hence the need for the captions. -- Peace
Re: Default Float placement is pathetic
On Tue, 20 May 2008 08:31:42 +0100, Abdelrazak Younes [EMAIL PROTECTED] wrote: Marwan Boustany wrote: As it happens the graphics are large, taking up, lengthwise about 40% of the page. And they tend to need to be where i put them for the most part. For dual side document, my experience is that, when a graphic is large (and 40% of the page height is certainly large enough), then p (page) will give you the best visual effect. In general you will be able to read the text and the graphics side by side. Hope this helps, Abdel. what is p (page)? -- Peace
Re: Default Float placement is pathetic
Marwan Boustany [EMAIL PROTECTED] writes: Finally, I may need to refer to up to three pictures in one paragraph, hence the need for the captions. I this case you might want to reconsider the placement on a separate page. By placing some images that fit together on a page, you will give some flexibility for the others. Another possibility (when figures are not too large) is to put several or them in the same float (with several captions), so that they stay together. JMarc
Re: Default Float placement is pathetic
On Tue, 20 May 2008 09:35:35 +0100, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: Marwan Boustany [EMAIL PROTECTED] writes: Finally, I may need to refer to up to three pictures in one paragraph, hence the need for the captions. I this case you might want to reconsider the placement on a separate page. By placing some images that fit together on a page, you will give some flexibility for the others. Another possibility (when figures are not too large) is to put several or them in the same float (with several captions), so that they stay together. JMarc I understand, but one thing I noticed when allowing them to go on another page is that in the place where the figures used to be there is a gap in the text... this along with figures appearing in the wrong order, and appearing in the middle of my chapter conclusion... -- Peace
Re: Default Float placement is pathetic
On Tue, 20 May 2008 08:25:53 +0100, Abdelrazak Younes [EMAIL PROTECTED] wrote: Marwan Boustany wrote: On Mon, 19 May 2008 22:12:57 +0100, Uwe Stöhr uwestoehr-S0/[EMAIL PROTECTED] wrote: Marwan Boustany schrieb: Peace, Nice joke. It was not a joke, if I wanted to joke I could say, What is the difference between a store and a stohr? and someone else would say what?, then I would say You can get something useful from a store. Well that's an insulting joke IMHO, especially for someone like Uwe who doesn't count his time when helping users... Is it really what you meant? Before answering this way maybe you could ask Uwe why he thinks this is a joke? I myself didn't understand why Uwe ;-) Abdel. I suppose my joke was more verbose than his short implication ridden statement. But Let me interpret for you... I said peace, a genuine statement, even if it used allot. He said, nice joke, a statement laden with implications. My guess as to what this means (with some comedic license of course) is:- Peace? Peace?! with a name like Marwan Boustany I'm surprised that in between using lyx you are not screaming threats and insults at the infidels while riddling all your cielings with machine gun fire... :-) Anyway... That is all water under the bridge... which i do not plan to blow up... Peace. -- Peace
Re: Default Float placement is pathetic
Marwan Boustany [EMAIL PROTECTED] writes: I understand, but one thing I noticed when allowing them to go on another page is that in the place where the figures used to be there is a gap in the text... This should not happen. Is there something special about the place where you include the figures? this along with figures appearing in the wrong order, and appearing in the middle of my chapter conclusion... One other trick is to include the images at the beginning of the paragraph where you mention them. If you include them at the end, or at the place where you need them, they will often appear too late. JMarc
Re: Default Float placement is pathetic
Abdelrazak Younes schrieb: Well that's an insulting joke IMHO, No, it's OK, I just was in the mood to make a littel joke and he made one two (a nice attempt btw.), so everything is fine. regards Uwe
Re: Default Float placement is pathetic
Jean-Marc Lasgouttes wrote: Abdelrazak Younes [EMAIL PROTECTED] writes: I myself didn't understand why Uwe ;-) Hum... that was a typo of course, I meant: I myself didn't understand it, Uwe. Abdel
Re: Default Float placement is pathetic
Marwan Boustany wrote: On Tue, 20 May 2008 08:31:42 +0100, Abdelrazak Younes [EMAIL PROTECTED] wrote: Marwan Boustany wrote: As it happens the graphics are large, taking up, lengthwise about 40% of the page. And they tend to need to be where i put them for the most part. For dual side document, my experience is that, when a graphic is large (and 40% of the page height is certainly large enough), then p (page) will give you the best visual effect. In general you will be able to read the text and the graphics side by side. Hope this helps, Abdel. what is p (page)? Sorry, that is the LateX option that was used before the 1.5 days. I meant 'Page of Floats'. Abdel.
Re: Default Float placement is pathetic
Jean-Marc Lasgouttes wrote: Abdelrazak Younes [EMAIL PROTECTED] writes: I myself didn't understand why Uwe ;-) It is because he. He what? This thrad is becoming surrealistic :-) Abdel.