Re: floats and subfloats with longtables SOLVED
On Fri, Jan 15, 2010 at 7:53 AM, Daniel Lohmann daniel.lohm...@informatik.uni-erlangen.de wrote: a clean solution might be possible using the afterpage package. Basically it provides the \afterpage{something} command, which causes the expansion of something to be postponed until LaTeX has shipped out the current page. If you insert your long table this way, it should (theoretically) appear on the beginning of the next page without interrupting the flow of text on the current page. It seems that this should be possible. This document [1] describes the usage. Liviu [1] http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf
Re: floats and subfloats with longtables SOLVED
Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: Friday, January 15, 2010 8:13 AM To: Daniel Lohmann Cc: Rob Oakes; lyx mail list Subject: Re: floats and subfloats with longtables SOLVED On Fri, Jan 15, 2010 at 7:53 AM, Daniel Lohmann daniel.lohm...@informatik.uni-erlangen.de wrote: a clean solution might be possible using the afterpage package. Basically it provides the \afterpage{something} command, which causes the expansion of something to be postponed until LaTeX has shipped out the current page. If you insert your long table this way, it should (theoretically) appear on the beginning of the next page without interrupting the flow of text on the current page. It seems that this should be possible. This document [1] describes the usage. Liviu [1] http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf longtablepage.module Description: Binary data
Re: floats and subfloats with longtables SOLVED
2010/1/15 Rob Oakes lyx-de...@oak-tree.us: Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen
Re: floats and subfloats with longtables SOLVED
Can more than one inset layout be placed in a module? Or does this (landscape longtable) have to be a second module? 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: 2010/1/15 Rob Oakes lyx-de...@oak-tree.us: Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen -- Stephen
Re: floats and subfloats with longtables SOLVED
Any number of InsetLayouts can be placed in a module. You will want to make sure that you define a new macro, however. Cheers, Rob Sent from Rob's Palm On Jan 15, 2010, at 3:16 PM, stephen's mailinglist account stephen4mailingli...@googlemail.com wrote: Can more than one inset layout be placed in a module? Or does this (landscape longtable) have to be a second module? 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com : 2010/1/15 Rob Oakes lyx-de...@oak-tree.us: Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen -- Stephen
Re: floats and subfloats with longtables SOLVED
On Fri, Jan 15, 2010 at 7:53 AM, Daniel Lohmann daniel.lohm...@informatik.uni-erlangen.de wrote: a clean solution might be possible using the afterpage package. Basically it provides the \afterpage{something} command, which causes the expansion of something to be postponed until LaTeX has shipped out the current page. If you insert your long table this way, it should (theoretically) appear on the beginning of the next page without interrupting the flow of text on the current page. It seems that this should be possible. This document [1] describes the usage. Liviu [1] http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf
Re: floats and subfloats with longtables SOLVED
Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: Friday, January 15, 2010 8:13 AM To: Daniel Lohmann Cc: Rob Oakes; lyx mail list Subject: Re: floats and subfloats with longtables SOLVED On Fri, Jan 15, 2010 at 7:53 AM, Daniel Lohmann daniel.lohm...@informatik.uni-erlangen.de wrote: a clean solution might be possible using the afterpage package. Basically it provides the \afterpage{something} command, which causes the expansion of something to be postponed until LaTeX has shipped out the current page. If you insert your long table this way, it should (theoretically) appear on the beginning of the next page without interrupting the flow of text on the current page. It seems that this should be possible. This document [1] describes the usage. Liviu [1] http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf longtablepage.module Description: Binary data
Re: floats and subfloats with longtables SOLVED
2010/1/15 Rob Oakes lyx-de...@oak-tree.us: Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen
Re: floats and subfloats with longtables SOLVED
Can more than one inset layout be placed in a module? Or does this (landscape longtable) have to be a second module? 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com: 2010/1/15 Rob Oakes lyx-de...@oak-tree.us: Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen -- Stephen
Re: floats and subfloats with longtables SOLVED
Any number of InsetLayouts can be placed in a module. You will want to make sure that you define a new macro, however. Cheers, Rob Sent from Rob's Palm On Jan 15, 2010, at 3:16 PM, stephen's mailinglist account stephen4mailingli...@googlemail.com wrote: Can more than one inset layout be placed in a module? Or does this (landscape longtable) have to be a second module? 2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com : 2010/1/15 Rob Oakes lyx-de...@oak-tree.us: Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen -- Stephen
Re: floats and subfloats with longtables SOLVED
On Fri, Jan 15, 2010 at 7:53 AM, Daniel Lohmannwrote: > a clean solution might be possible using the afterpage package. Basically it > provides the \afterpage{} command, which causes the expansion of > to be postponed until LaTeX has shipped out the current page. If > you insert your long table this way, it should (theoretically) appear on the > beginning of the next page without interrupting the flow of text on the > current page. > It seems that this should be possible. This document [1] describes the usage. Liviu [1] http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf
Re: floats and subfloats with longtables SOLVED
Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: Friday, January 15, 2010 8:13 AM To: Daniel Lohmann Cc: Rob Oakes; lyx mail list Subject: Re: floats and subfloats with longtables SOLVED On Fri, Jan 15, 2010 at 7:53 AM, Daniel Lohmann <daniel.lohm...@informatik.uni-erlangen.de> wrote: > a clean solution might be possible using the afterpage package. > Basically it provides the \afterpage{} command, which > causes the expansion of to be postponed until LaTeX has > shipped out the current page. If you insert your long table this way, > it should (theoretically) appear on the beginning of the next page > without interrupting the flow of text on the current page. > It seems that this should be possible. This document [1] describes the usage. Liviu [1] http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf longtablepage.module Description: Binary data
Re: floats and subfloats with longtables SOLVED
2010/1/15 Rob Oakes: > Dear Daniel, Liviu and Other LyX Users, > > Daniel and Liviu, thank you very much for the recommendations and for the > link. I've been experimenting with the \afterpage package all morning, and I > am very happy to report that it works famously. I am able to exactly the > type of behavior that I wanted by using the \afterpage{\clearpage LongTable} > macro. > > Because I've never been a huge fan of using ERT in LyX documents (at least no > more than is necessary), I decided to create a custom inset that would > automatically place long tables at the top of a new page, while maintaining > the wrapping of the text. > > The attached module is a first run at that inset. I've been testing it on a > couple of rather complicated documents, and it works exactly like I want it > to. I'm relatively sure that I'll come across bugs and other such stuff, so > I'm sure that it will get posted to my website at some point. > > I am forwarding it to the group in the hope that others will find it useful. > > Cheers, > > Rob Oakes > that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen
Re: floats and subfloats with longtables SOLVED
Can more than one inset layout be placed in a module? Or does this (landscape longtable) have to be a second module? 2010/1/15 stephen's mailinglist account: > 2010/1/15 Rob Oakes : >> Dear Daniel, Liviu and Other LyX Users, >> >> Daniel and Liviu, thank you very much for the recommendations and for the >> link. I've been experimenting with the \afterpage package all morning, and >> I am very happy to report that it works famously. I am able to exactly the >> type of behavior that I wanted by using the \afterpage{\clearpage LongTable} >> macro. >> >> Because I've never been a huge fan of using ERT in LyX documents (at least >> no more than is necessary), I decided to create a custom inset that would >> automatically place long tables at the top of a new page, while maintaining >> the wrapping of the text. >> >> The attached module is a first run at that inset. I've been testing it on a >> couple of rather complicated documents, and it works exactly like I want it >> to. I'm relatively sure that I'll come across bugs and other such stuff, so >> I'm sure that it will get posted to my website at some point. >> >> I am forwarding it to the group in the hope that others will find it useful. >> >> Cheers, >> >> Rob Oakes >> > > that seems to work very well thank you very much. Float the long > table to the top of a page. Table breaks and text continues after > table finishes on second page. > > module can also be modified for putting longtables sideways on a page > change preamble to this > \usepackage{afterpage} > \usepackage{pdflscape} > \newcommand{\longtablelandscapepage}[1]{% > \afterpage{\clearpage\begin{landscape} > {#1}\end{landscape}}} > > > -- > Stephen > -- Stephen
Re: floats and subfloats with longtables SOLVED
Any number of InsetLayouts can be placed in a module. You will want to make sure that you define a new macro, however. Cheers, Rob Sent from Rob's Palm On Jan 15, 2010, at 3:16 PM, "stephen's mailinglist account"wrote: Can more than one inset layout be placed in a module? Or does this (landscape longtable) have to be a second module? 2010/1/15 stephen's mailinglist account : 2010/1/15 Rob Oakes : Dear Daniel, Liviu and Other LyX Users, Daniel and Liviu, thank you very much for the recommendations and for the link. I've been experimenting with the \afterpage package all morning, and I am very happy to report that it works famously. I am able to exactly the type of behavior that I wanted by using the \afterpage{\clearpage LongTable} macro. Because I've never been a huge fan of using ERT in LyX documents (at least no more than is necessary), I decided to create a custom inset that would automatically place long tables at the top of a new page, while maintaining the wrapping of the text. The attached module is a first run at that inset. I've been testing it on a couple of rather complicated documents, and it works exactly like I want it to. I'm relatively sure that I'll come across bugs and other such stuff, so I'm sure that it will get posted to my website at some point. I am forwarding it to the group in the hope that others will find it useful. Cheers, Rob Oakes that seems to work very well thank you very much. Float the long table to the top of a page. Table breaks and text continues after table finishes on second page. module can also be modified for putting longtables sideways on a page change preamble to this \usepackage{afterpage} \usepackage{pdflscape} \newcommand{\longtablelandscapepage}[1]{% \afterpage{\clearpage\begin{landscape} {#1}\end{landscape}}} -- Stephen -- Stephen
Re: floats and subfloats with longtables SOLVED
Liviu Andronic wrote: Dear all Sorry for the cross-posting, but this is at the same time posting a solution and requesting a feature. I've been using table floats with subfloats and normal tables, and they work nicely. However, when the float becomes too long for the page---because of the length of the subtables---, it will not break. I've tried to use longtables in the subfloats, but compilation fails. This seems to be normal behaviour for LaTeX [1]. A float supposed to never break - that is the point of having floats in the first place. A float may float to the next page precisely to avoid breaking. This because images/tables cannot be broken in a useful way. (Especially images.) A float is supposed to be a single unbreakable block, no matter what you actually put into it. Non-breaking is not the main effect of a float, an image or table won't break if you put it directly in the text without a float. But then you get bad page breaking with large white gaps. A float floats so that these white gaps is avoided. The longtable is what you use when you want a table to break across pages. You don't put it in a float, you just put the longtable directly in the text. It will break when necessary, and optionally repeat header rows after the break so the continued table will be easier to read. So: When you want a one-piece table, use a table inside a float. When you want a table that can break across pages, use a longtable without the float. And if you want several tables so that the page can break between them, put each table into a float of its own. If you want two tables together without a page break between them, put them in the same float. With these rules, no ERT is necessary. (I.e. LyX is fine as-is.) Are you trying to do something unusual? I guess your ERT is there to get the captions you want? It seems risky putting floats in between tables, because the floats might float somewhere else and that would look wrong. Helge Hafting
RE: floats and subfloats with longtables SOLVED
Hi Helge, You make good points, but there is a third use case that I am currently struggling with (and which Liviu's solution appears to address, at least in part). What do you do with long tables that you don't want to disrupt the flow of the text? Let me give you an example. I am currently working on a book about writing with open source tools. One of the chapters in this book is an overview of the different LaTeX classes and their options. For some of the classes (like Memoir and Beamer), there are many different options that control the appearance of headers, footers and chapter headings. In trying to describe the options, I've found that the most space efficient way is to create a long-table. Some of these tables can stretch over two, or sometimes even three pages. However, I want them to work like floats, in that the table will be started at the top of a new page without disrupting the flow of the other text. The current long-table approach doesn't work very well in that I have to manually calculate the page breaks and move the environment to an appropriate place in the text. This is similar to how I would need to work with Word and is very frustrating. Are you aware of a method to position long tables so that they combine the best featrues of the float environment (e.g. semi-automatic displacement so that they don't disrupt the flow of the text) and the long-table environment (so that you can have page breaks at appropriate places)? For me, getting the sort of sub-labeling described by Liviu is not something I am concerned about. In fact, I would prefer to maintain the standard labeling scheme (Table ChapNum.TableNum). Cheers, Rob Oakes
Re: floats and subfloats with longtables SOLVED
Hello On Thu, Jan 14, 2010 at 3:01 PM, Helge Hafting helge.haft...@hist.no wrote: So: When you want a one-piece table, use a table inside a float. When you want a table that can break across pages, use a longtable without the float. And if you want several tables so that the page can break between them, put each table into a float of its own. If you want two tables together without a page break between them, put them in the same float. With these rules, no ERT is necessary. (I.e. LyX is fine as-is.) Are you trying to do something unusual? Yes, it seems so. These days I had to deal with tables that stretched easily over two pages, prompting the use of longtable. However, there were too many of them, hence the need for grouping. The standard approaches that you described no longer applied. I guess your ERT is there to get the captions you want? It seems Yes. risky putting floats in between tables, I don't think I'm doing this. because the floats might float somewhere else and that would look wrong. The longtable construct is using [H] (Here definitely placement) for the caption float, while longtable is used for the rest of the (sub-)tables. And all these are wrapped in \begin{subtables} [..] \end{subtables} This allows for grouping several long-tables under one caption, something not immediately obvious in LaTeX (or LyX). Perhaps this is not a frequent case, but it might arise from time to time.
Re: floats and subfloats with longtables SOLVED
Hello Rob On Thu, Jan 14, 2010 at 3:20 PM, Rob Oakes lyx-de...@oak-tree.us wrote: Are you aware of a method to position long tables so that they combine the best featrues of the float environment (e.g. semi-automatic displacement so that they don't disrupt the flow of the text) and the long-table environment (so that you can have page breaks at appropriate places)? I am not sure if this is of help, but there is a patched version of longtable [1]. Perhaps it implements what you need. Liviu [1] http://www.digitas.harvard.edu/cgi-bin/wiki/ken/LongTable
Re: floats and subfloats with longtables SOLVED
Hi Rob, a clean solution might be possible using the afterpage package. Basically it provides the \afterpage{something} command, which causes the expansion of something to be postponed until LaTeX has shipped out the current page. If you insert your long table this way, it should (theoretically) appear on the beginning of the next page without interrupting the flow of text on the current page. Daniel On 14.01.2010, at 16:20, Rob Oakes wrote: Hi Helge, You make good points, but there is a third use case that I am currently struggling with (and which Liviu's solution appears to address, at least in part). What do you do with long tables that you don't want to disrupt the flow of the text? Let me give you an example. I am currently working on a book about writing with open source tools. One of the chapters in this book is an overview of the different LaTeX classes and their options. For some of the classes (like Memoir and Beamer), there are many different options that control the appearance of headers, footers and chapter headings. In trying to describe the options, I've found that the most space efficient way is to create a long-table. Some of these tables can stretch over two, or sometimes even three pages. However, I want them to work like floats, in that the table will be started at the top of a new page without disrupting the flow of the other text. The current long-table approach doesn't work very well in that I have to manually calculate the page breaks and move the environment to an appropriate place in the text. This is similar to how I would need to work with Word and is very frustrating. Are you aware of a method to position long tables so that they combine the best featrues of the float environment (e.g. semi- automatic displacement so that they don't disrupt the flow of the text) and the long-table environment (so that you can have page breaks at appropriate places)? For me, getting the sort of sub-labeling described by Liviu is not something I am concerned about. In fact, I would prefer to maintain the standard labeling scheme (Table ChapNum.TableNum). Cheers, Rob Oakes
Re: floats and subfloats with longtables SOLVED
Liviu Andronic wrote: Dear all Sorry for the cross-posting, but this is at the same time posting a solution and requesting a feature. I've been using table floats with subfloats and normal tables, and they work nicely. However, when the float becomes too long for the page---because of the length of the subtables---, it will not break. I've tried to use longtables in the subfloats, but compilation fails. This seems to be normal behaviour for LaTeX [1]. A float supposed to never break - that is the point of having floats in the first place. A float may float to the next page precisely to avoid breaking. This because images/tables cannot be broken in a useful way. (Especially images.) A float is supposed to be a single unbreakable block, no matter what you actually put into it. Non-breaking is not the main effect of a float, an image or table won't break if you put it directly in the text without a float. But then you get bad page breaking with large white gaps. A float floats so that these white gaps is avoided. The longtable is what you use when you want a table to break across pages. You don't put it in a float, you just put the longtable directly in the text. It will break when necessary, and optionally repeat header rows after the break so the continued table will be easier to read. So: When you want a one-piece table, use a table inside a float. When you want a table that can break across pages, use a longtable without the float. And if you want several tables so that the page can break between them, put each table into a float of its own. If you want two tables together without a page break between them, put them in the same float. With these rules, no ERT is necessary. (I.e. LyX is fine as-is.) Are you trying to do something unusual? I guess your ERT is there to get the captions you want? It seems risky putting floats in between tables, because the floats might float somewhere else and that would look wrong. Helge Hafting
RE: floats and subfloats with longtables SOLVED
Hi Helge, You make good points, but there is a third use case that I am currently struggling with (and which Liviu's solution appears to address, at least in part). What do you do with long tables that you don't want to disrupt the flow of the text? Let me give you an example. I am currently working on a book about writing with open source tools. One of the chapters in this book is an overview of the different LaTeX classes and their options. For some of the classes (like Memoir and Beamer), there are many different options that control the appearance of headers, footers and chapter headings. In trying to describe the options, I've found that the most space efficient way is to create a long-table. Some of these tables can stretch over two, or sometimes even three pages. However, I want them to work like floats, in that the table will be started at the top of a new page without disrupting the flow of the other text. The current long-table approach doesn't work very well in that I have to manually calculate the page breaks and move the environment to an appropriate place in the text. This is similar to how I would need to work with Word and is very frustrating. Are you aware of a method to position long tables so that they combine the best featrues of the float environment (e.g. semi-automatic displacement so that they don't disrupt the flow of the text) and the long-table environment (so that you can have page breaks at appropriate places)? For me, getting the sort of sub-labeling described by Liviu is not something I am concerned about. In fact, I would prefer to maintain the standard labeling scheme (Table ChapNum.TableNum). Cheers, Rob Oakes
Re: floats and subfloats with longtables SOLVED
Hello On Thu, Jan 14, 2010 at 3:01 PM, Helge Hafting helge.haft...@hist.no wrote: So: When you want a one-piece table, use a table inside a float. When you want a table that can break across pages, use a longtable without the float. And if you want several tables so that the page can break between them, put each table into a float of its own. If you want two tables together without a page break between them, put them in the same float. With these rules, no ERT is necessary. (I.e. LyX is fine as-is.) Are you trying to do something unusual? Yes, it seems so. These days I had to deal with tables that stretched easily over two pages, prompting the use of longtable. However, there were too many of them, hence the need for grouping. The standard approaches that you described no longer applied. I guess your ERT is there to get the captions you want? It seems Yes. risky putting floats in between tables, I don't think I'm doing this. because the floats might float somewhere else and that would look wrong. The longtable construct is using [H] (Here definitely placement) for the caption float, while longtable is used for the rest of the (sub-)tables. And all these are wrapped in \begin{subtables} [..] \end{subtables} This allows for grouping several long-tables under one caption, something not immediately obvious in LaTeX (or LyX). Perhaps this is not a frequent case, but it might arise from time to time.
Re: floats and subfloats with longtables SOLVED
Hello Rob On Thu, Jan 14, 2010 at 3:20 PM, Rob Oakes lyx-de...@oak-tree.us wrote: Are you aware of a method to position long tables so that they combine the best featrues of the float environment (e.g. semi-automatic displacement so that they don't disrupt the flow of the text) and the long-table environment (so that you can have page breaks at appropriate places)? I am not sure if this is of help, but there is a patched version of longtable [1]. Perhaps it implements what you need. Liviu [1] http://www.digitas.harvard.edu/cgi-bin/wiki/ken/LongTable
Re: floats and subfloats with longtables SOLVED
Hi Rob, a clean solution might be possible using the afterpage package. Basically it provides the \afterpage{something} command, which causes the expansion of something to be postponed until LaTeX has shipped out the current page. If you insert your long table this way, it should (theoretically) appear on the beginning of the next page without interrupting the flow of text on the current page. Daniel On 14.01.2010, at 16:20, Rob Oakes wrote: Hi Helge, You make good points, but there is a third use case that I am currently struggling with (and which Liviu's solution appears to address, at least in part). What do you do with long tables that you don't want to disrupt the flow of the text? Let me give you an example. I am currently working on a book about writing with open source tools. One of the chapters in this book is an overview of the different LaTeX classes and their options. For some of the classes (like Memoir and Beamer), there are many different options that control the appearance of headers, footers and chapter headings. In trying to describe the options, I've found that the most space efficient way is to create a long-table. Some of these tables can stretch over two, or sometimes even three pages. However, I want them to work like floats, in that the table will be started at the top of a new page without disrupting the flow of the other text. The current long-table approach doesn't work very well in that I have to manually calculate the page breaks and move the environment to an appropriate place in the text. This is similar to how I would need to work with Word and is very frustrating. Are you aware of a method to position long tables so that they combine the best featrues of the float environment (e.g. semi- automatic displacement so that they don't disrupt the flow of the text) and the long-table environment (so that you can have page breaks at appropriate places)? For me, getting the sort of sub-labeling described by Liviu is not something I am concerned about. In fact, I would prefer to maintain the standard labeling scheme (Table ChapNum.TableNum). Cheers, Rob Oakes
Re: floats and subfloats with longtables SOLVED
Liviu Andronic wrote: Dear all Sorry for the cross-posting, but this is at the same time posting a solution and requesting a feature. I've been using table floats with subfloats and normal tables, and they work nicely. However, when the float becomes too long for the page---because of the length of the subtables---, it will not break. I've tried to use longtables in the subfloats, but compilation fails. This seems to be normal behaviour for LaTeX [1]. A float supposed to never break - that is the point of having floats in the first place. A float may float to the next page precisely to avoid breaking. This because images/tables cannot be broken in a useful way. (Especially images.) A float is supposed to be a single unbreakable block, no matter what you actually put into it. Non-breaking is not the main effect of a float, an image or table won't break if you put it directly in the text without a float. But then you get bad page breaking with large white gaps. A float "floats" so that these white gaps is avoided. The longtable is what you use when you want a table to break across pages. You don't put it in a float, you just put the longtable directly in the text. It will break when necessary, and optionally repeat header rows after the break so the continued table will be easier to read. So: When you want a one-piece table, use a table inside a float. When you want a table that can break across pages, use a longtable without the float. And if you want several tables so that the page can break between them, put each table into a float of its own. If you want two tables together without a page break between them, put them in the same float. With these rules, no ERT is necessary. (I.e. LyX is fine as-is.) Are you trying to do something unusual? I guess your ERT is there to get the captions you want? It seems risky putting floats in between tables, because the floats might float somewhere else and that would look wrong. Helge Hafting
RE: floats and subfloats with longtables SOLVED
Hi Helge, You make good points, but there is a third use case that I am currently struggling with (and which Liviu's solution appears to address, at least in part). What do you do with long tables that you don't want to disrupt the flow of the text? Let me give you an example. I am currently working on a book about writing with open source tools. One of the chapters in this book is an overview of the different LaTeX classes and their options. For some of the classes (like Memoir and Beamer), there are many different options that control the appearance of headers, footers and chapter headings. In trying to describe the options, I've found that the most space efficient way is to create a long-table. Some of these tables can stretch over two, or sometimes even three pages. However, I want them to work like floats, in that the table will be started at the top of a new page without disrupting the flow of the other text. The current long-table approach doesn't work very well in that I have to manually calculate the page breaks and move the environment to an appropriate place in the text. This is similar to how I would need to work with Word and is very frustrating. Are you aware of a method to position long tables so that they combine the best featrues of the float environment (e.g. semi-automatic displacement so that they don't disrupt the flow of the text) and the long-table environment (so that you can have page breaks at appropriate places)? For me, getting the sort of sub-labeling described by Liviu is not something I am concerned about. In fact, I would prefer to maintain the standard labeling scheme (Table ChapNum.TableNum). Cheers, Rob Oakes
Re: floats and subfloats with longtables SOLVED
Hello On Thu, Jan 14, 2010 at 3:01 PM, Helge Haftingwrote: > So: > > When you want a one-piece table, use a table inside a float. > > When you want a table that can break across pages, use a longtable > without the float. > > And if you want several tables so that the page can break > between them, put each table into a float of its own. > > If you want two tables together without a page break between them, > put them in the same float. > > With these rules, no ERT is necessary. (I.e. LyX is fine as-is.) > Are you trying to do something unusual? > Yes, it seems so. These days I had to deal with tables that stretched easily over two pages, prompting the use of "longtable". However, there were too many of them, hence the need for grouping. The standard approaches that you described no longer applied. > I guess your ERT is there to get the captions you want? It seems > Yes. > risky putting floats in between tables, > I don't think I'm doing this. > because the floats > might float somewhere else and that would look wrong. > The "longtable" construct is using [H] ("Here definitely" placement) for the "caption float", while "longtable" is used for the rest of the (sub-)tables. And all these are wrapped in \begin{subtables} [..] \end{subtables} This allows for grouping several long-tables under one caption, something not immediately obvious in LaTeX (or LyX). Perhaps this is not a frequent case, but it might arise from time to time.
Re: floats and subfloats with longtables SOLVED
Hello Rob On Thu, Jan 14, 2010 at 3:20 PM, Rob Oakeswrote: > Are you aware of a method to position long tables so that they combine the > best featrues of the float environment (e.g. semi-automatic displacement so > that they don't disrupt the flow of the text) and the long-table environment > (so that you can have page breaks at appropriate places)? > I am not sure if this is of help, but there is a patched version of longtable [1]. Perhaps it implements what you need. Liviu [1] http://www.digitas.harvard.edu/cgi-bin/wiki/ken/LongTable
Re: floats and subfloats with longtables SOLVED
Hi Rob, a clean solution might be possible using the afterpage package. Basically it provides the \afterpage{} command, which causes the expansion of to be postponed until LaTeX has shipped out the current page. If you insert your long table this way, it should (theoretically) appear on the beginning of the next page without interrupting the flow of text on the current page. Daniel On 14.01.2010, at 16:20, Rob Oakes wrote: Hi Helge, You make good points, but there is a third use case that I am currently struggling with (and which Liviu's solution appears to address, at least in part). What do you do with long tables that you don't want to disrupt the flow of the text? Let me give you an example. I am currently working on a book about writing with open source tools. One of the chapters in this book is an overview of the different LaTeX classes and their options. For some of the classes (like Memoir and Beamer), there are many different options that control the appearance of headers, footers and chapter headings. In trying to describe the options, I've found that the most space efficient way is to create a long-table. Some of these tables can stretch over two, or sometimes even three pages. However, I want them to work like floats, in that the table will be started at the top of a new page without disrupting the flow of the other text. The current long-table approach doesn't work very well in that I have to manually calculate the page breaks and move the environment to an appropriate place in the text. This is similar to how I would need to work with Word and is very frustrating. Are you aware of a method to position long tables so that they combine the best featrues of the float environment (e.g. semi- automatic displacement so that they don't disrupt the flow of the text) and the long-table environment (so that you can have page breaks at appropriate places)? For me, getting the sort of sub-labeling described by Liviu is not something I am concerned about. In fact, I would prefer to maintain the standard labeling scheme (Table ChapNum.TableNum). Cheers, Rob Oakes
Re: floats and subfloats with longtables SOLVED
2010/1/9 Liviu Andronic landronim...@gmail.com: [...] I've been using table floats with subfloats and normal tables, and they work nicely. However, when the float becomes too long for the page---because of the length of the subtables---, it will not break. I've tried to use longtables in the subfloats, but compilation fails. This seems to be normal behaviour for LaTeX [1]. Today I managed to get working in LyX table floats that break over multiple pages. The first solution is the equivalent of having table floats that can extend over as many pages as there are table subfloats (see the .pdf file [3]). It involves putting table floats within [...] with a couple more ERT hacks that you will find in the attached .lyx file [4]. Although this will do the job in many cases, the solution is still unsatisfactory: it will not work if at least one subtable extends over two pages or more. The second solution is the equivalent of having table floats containing longtables (see .pdf file [5]). Similarly, it involves putting longtables within [...] and some ERT hacks. See .lyx document [6]. Both solutions were inspired from this LaTeX [2] thread. As for the request, It would be nice if LyX supported these two constructs natively, via the GUI. Especially since at first sight this seems impossible to achieve in LaTeX: combine a table float and longtable subfloats. Should I file a bug report? It sounds interesting to have such functionality, but if you have LaTeX-based solution you should consider publishing it as a package, then it could be used by LyX. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: floats and subfloats with longtables SOLVED
On 1/11/10, Manveru manv...@manveru.pl wrote: It sounds interesting to have such functionality, but if you have LaTeX-based solution you should consider publishing it as a package, then it could be used by LyX. The solution uses the package subfloat, an existing LaTeX package. Liviu
Re: floats and subfloats with longtables SOLVED
2010/1/11 Liviu Andronic landronim...@gmail.com: On 1/11/10, Manveru manv...@manveru.pl wrote: It sounds interesting to have such functionality, but if you have LaTeX-based solution you should consider publishing it as a package, then it could be used by LyX. The solution uses the package subfloat, an existing LaTeX package. Liviu But you are extending them... I did not look into details, but if you are making subfloat better somehow... -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: floats and subfloats with longtables SOLVED
2010/1/9 Liviu Andronic landronim...@gmail.com: [...] I've been using table floats with subfloats and normal tables, and they work nicely. However, when the float becomes too long for the page---because of the length of the subtables---, it will not break. I've tried to use longtables in the subfloats, but compilation fails. This seems to be normal behaviour for LaTeX [1]. Today I managed to get working in LyX table floats that break over multiple pages. The first solution is the equivalent of having table floats that can extend over as many pages as there are table subfloats (see the .pdf file [3]). It involves putting table floats within [...] with a couple more ERT hacks that you will find in the attached .lyx file [4]. Although this will do the job in many cases, the solution is still unsatisfactory: it will not work if at least one subtable extends over two pages or more. The second solution is the equivalent of having table floats containing longtables (see .pdf file [5]). Similarly, it involves putting longtables within [...] and some ERT hacks. See .lyx document [6]. Both solutions were inspired from this LaTeX [2] thread. As for the request, It would be nice if LyX supported these two constructs natively, via the GUI. Especially since at first sight this seems impossible to achieve in LaTeX: combine a table float and longtable subfloats. Should I file a bug report? It sounds interesting to have such functionality, but if you have LaTeX-based solution you should consider publishing it as a package, then it could be used by LyX. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: floats and subfloats with longtables SOLVED
On 1/11/10, Manveru manv...@manveru.pl wrote: It sounds interesting to have such functionality, but if you have LaTeX-based solution you should consider publishing it as a package, then it could be used by LyX. The solution uses the package subfloat, an existing LaTeX package. Liviu
Re: floats and subfloats with longtables SOLVED
2010/1/11 Liviu Andronic landronim...@gmail.com: On 1/11/10, Manveru manv...@manveru.pl wrote: It sounds interesting to have such functionality, but if you have LaTeX-based solution you should consider publishing it as a package, then it could be used by LyX. The solution uses the package subfloat, an existing LaTeX package. Liviu But you are extending them... I did not look into details, but if you are making subfloat better somehow... -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: floats and subfloats with longtables SOLVED
2010/1/9 Liviu Andronic: [...] > I've been using table floats with subfloats and normal tables, and > they work nicely. However, when the float becomes too long for the > page---because of the length of the subtables---, it will not break. > I've tried to use longtables in the subfloats, but compilation fails. > This seems to be normal behaviour for LaTeX [1]. > > Today I managed to get working in LyX table "floats" that break over > multiple pages. The first solution is the equivalent of having table > floats that can extend over as many pages as there are table subfloats > (see the .pdf file [3]). It involves putting table floats within [...] > with a couple more ERT hacks that you will find in the attached .lyx > file [4]. Although this will do the job in many cases, the solution is > still unsatisfactory: it will not work if at least one subtable > extends over two pages or more. > > The second solution is the equivalent of having table floats > containing longtables (see .pdf file [5]). Similarly, it involves putting > longtables within [...] > and some ERT hacks. See .lyx document [6]. Both solutions were > inspired from this LaTeX > [2] thread. > > As for the request, It would be nice if LyX supported these two > constructs natively, via the GUI. Especially since at first sight this > seems impossible to achieve in LaTeX: combine a table float and > longtable subfloats. Should I file a bug report? It sounds interesting to have such functionality, but if you have LaTeX-based solution you should consider publishing it as a package, then it could be used by LyX. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
Re: floats and subfloats with longtables SOLVED
On 1/11/10, Manveruwrote: > It sounds interesting to have such functionality, but if you have > LaTeX-based solution you should consider publishing it as a package, > then it could be used by LyX. > The solution uses the package subfloat, an existing LaTeX package. Liviu
Re: floats and subfloats with longtables SOLVED
2010/1/11 Liviu Andronic: > On 1/11/10, Manveru wrote: >> It sounds interesting to have such functionality, but if you have >> LaTeX-based solution you should consider publishing it as a package, >> then it could be used by LyX. >> > The solution uses the package subfloat, an existing LaTeX package. > Liviu But you are extending them... I did not look into details, but if you are making subfloat better somehow... -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
floats and subfloats with longtables SOLVED
(apparently first attempted failed for lyx-users, so I'm reposting) Dear all Sorry for the cross-posting, but this is at the same time posting a solution and requesting a feature. I've been using table floats with subfloats and normal tables, and they work nicely. However, when the float becomes too long for the page---because of the length of the subtables---, it will not break. I've tried to use longtables in the subfloats, but compilation fails. This seems to be normal behaviour for LaTeX [1]. Today I managed to get working in LyX table floats that break over multiple pages. The first solution is the equivalent of having table floats that can extend over as many pages as there are table subfloats (see the .pdf file [3]). It involves putting table floats within \usepackage{subfloat} \begin{subtables} [..] \end{subtables} with a couple more ERT hacks that you will find in the attached .lyx file [4]. Although this will do the job in many cases, the solution is still unsatisfactory: it will not work if at least one subtable extends over two pages or more. The second solution is the equivalent of having table floats containing longtables (see .pdf file [5]). Similarly, it involves putting longtables within \usepackage{subfloat} \begin{subtables} [..] \end{subtables} and some ERT hacks. See .lyx document [6]. Both solutions were inspired from this LaTeX [2] thread. As for the request, It would be nice if LyX supported these two constructs natively, via the GUI. Especially since at first sight this seems impossible to achieve in LaTeX: combine a table float and longtable subfloats. Should I file a bug report? Please let me know Liviu [1] http://www.tex.ac.uk/cgi-bin/texfaq2html?label=longtab [2] http://www.tug.org/pipermail/texhax/2008-June/010577.html [3] http://s000.tinyupload.com/index.php?file_id=14139438047625482515 [4] http://s000.tinyupload.com/index.php?file_id=39990798368762771776 [5] http://s000.tinyupload.com/index.php?file_id=37710379096139728420 [6] http://s000.tinyupload.com/index.php?file_id=02514420116119327209 -- 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
floats and subfloats with longtables SOLVED
(apparently first attempted failed for lyx-users, so I'm reposting) Dear all Sorry for the cross-posting, but this is at the same time posting a solution and requesting a feature. I've been using table floats with subfloats and normal tables, and they work nicely. However, when the float becomes too long for the page---because of the length of the subtables---, it will not break. I've tried to use longtables in the subfloats, but compilation fails. This seems to be normal behaviour for LaTeX [1]. Today I managed to get working in LyX table floats that break over multiple pages. The first solution is the equivalent of having table floats that can extend over as many pages as there are table subfloats (see the .pdf file [3]). It involves putting table floats within \usepackage{subfloat} \begin{subtables} [..] \end{subtables} with a couple more ERT hacks that you will find in the attached .lyx file [4]. Although this will do the job in many cases, the solution is still unsatisfactory: it will not work if at least one subtable extends over two pages or more. The second solution is the equivalent of having table floats containing longtables (see .pdf file [5]). Similarly, it involves putting longtables within \usepackage{subfloat} \begin{subtables} [..] \end{subtables} and some ERT hacks. See .lyx document [6]. Both solutions were inspired from this LaTeX [2] thread. As for the request, It would be nice if LyX supported these two constructs natively, via the GUI. Especially since at first sight this seems impossible to achieve in LaTeX: combine a table float and longtable subfloats. Should I file a bug report? Please let me know Liviu [1] http://www.tex.ac.uk/cgi-bin/texfaq2html?label=longtab [2] http://www.tug.org/pipermail/texhax/2008-June/010577.html [3] http://s000.tinyupload.com/index.php?file_id=14139438047625482515 [4] http://s000.tinyupload.com/index.php?file_id=39990798368762771776 [5] http://s000.tinyupload.com/index.php?file_id=37710379096139728420 [6] http://s000.tinyupload.com/index.php?file_id=02514420116119327209 -- 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
floats and subfloats with longtables SOLVED
(apparently first attempted failed for lyx-users, so I'm reposting) Dear all Sorry for the cross-posting, but this is at the same time posting a solution and requesting a feature. I've been using table floats with subfloats and normal tables, and they work nicely. However, when the float becomes too long for the page---because of the length of the subtables---, it will not break. I've tried to use longtables in the subfloats, but compilation fails. This seems to be normal behaviour for LaTeX [1]. Today I managed to get working in LyX table "floats" that break over multiple pages. The first solution is the equivalent of having table floats that can extend over as many pages as there are table subfloats (see the .pdf file [3]). It involves putting table floats within \usepackage{subfloat} \begin{subtables} [..] \end{subtables} with a couple more ERT hacks that you will find in the attached .lyx file [4]. Although this will do the job in many cases, the solution is still unsatisfactory: it will not work if at least one subtable extends over two pages or more. The second solution is the equivalent of having table floats containing longtables (see .pdf file [5]). Similarly, it involves putting longtables within \usepackage{subfloat} \begin{subtables} [..] \end{subtables} and some ERT hacks. See .lyx document [6]. Both solutions were inspired from this LaTeX [2] thread. As for the request, It would be nice if LyX supported these two constructs natively, via the GUI. Especially since at first sight this seems impossible to achieve in LaTeX: combine a table float and longtable subfloats. Should I file a bug report? Please let me know Liviu [1] http://www.tex.ac.uk/cgi-bin/texfaq2html?label=longtab [2] http://www.tug.org/pipermail/texhax/2008-June/010577.html [3] http://s000.tinyupload.com/index.php?file_id=14139438047625482515 [4] http://s000.tinyupload.com/index.php?file_id=39990798368762771776 [5] http://s000.tinyupload.com/index.php?file_id=37710379096139728420 [6] http://s000.tinyupload.com/index.php?file_id=02514420116119327209 -- 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