Re: threeparttablex with longtable

2015-12-07 Thread Charles de Miramon

> Hello Lyx,
> 
> 
> Im having a problem when using threeparttablex with longtables. In order
> to see the table I am working with, I have chosen to use ERT code to
> \begin{ThreePartTable} and then \begin{TableNotes}  \end{TableNotes}
> etc then ive inserted a table and made it a long table.
> 
> 
> Everything works if you just put in the ERT code \end{ThreePartTable}, but
> then there are no actual table notes. I cant work out where to put the ERT
> code \insertTableNotes. According to the documentation, it needs to be
> inside the longtable, but I cant work out how to do it without getting an
> error \misaligned etc.
> 

You can put in ERT just after the end of your Longtable and before 
\end{ThreePartTable}

\begin{tablenotes}
\footnotesize
\item[1] A note 
\item[2] Another note 
\end{tablenotes} 


Beware 'tablenotes' and not 'TableNotes'

Cheers,
Charles





Re: threeparttablex with longtable

2015-12-07 Thread John Kane
Couldn't you have stuck to a nice simple table? :)

Personally I'd go with what you have. The best is the enemy of the good.

If someone gets picky and wants a table heading or "continued on next page"
crap just stick it in a custom header or footer.

The only other thing I can think of, and remember I know nothing about the
subject area---not even what it is---would be to radically revamp the table
layout to present the data in a completely different way.

What way I don't know  but it seems like it might be possible just because
you seem to have too many footnotes.  For example is there any way to break
the table down into sub-tables with all elements with a footnote 1 in a
table and so on?  Remember, I'm just rambling as I have not idea of the
subject matter and have not spent any real time analyzing the layout of the
data

Otherwise, I'd say any extra work on what you already have done is going to
be  superfluous.

On 6 December 2015 at 19:33, Tyler Grummett <tyler.grumm...@flinders.edu.au>
wrote:

> Dear John and lyx community,
>
>
> Ive attached an actual table that I will be using, so apologies for the
> size. As you did in your example, the line \insertTableNotes needs to be
> inserted before \end{longtable} so I think you are all correct in stating
> that I need to do the whole thing in ERT. However due to how much I need to
> put into each cell, I need to be able to view the table in the document.
>
>
> Ive compromised by putting some text in the last row of the table and that
> should be good enough. If theres no other solution, I think I will just
> stick with that. I spoke to the creator of threeparttablex and he said that
> its only possible by writing the whole thing in LaTeX, so I guess thats
> that.
>
>
> Cheers everyone, feel free to reply if there is an alternative solution.
>
>
> Otherwise, thank you all for your help.
>
>
> Tyler
>
>
> *
>
> *Tyler Grummett ( BBSc, BSc(Hons I))*
> *PhD Candidate*
> *Brain Signals Laboratory*
> *Flinders University*
> *Rm 5A301*
> *Ext 66125*
>
>
> --
> *From:* John Kane <jrkrid...@gmail.com>
> *Sent:* Saturday, 5 December 2015 10:37 PM
> *To:* Tyler Grummett
> *Cc:* bishop.ja...@gmail.com; lyx-users@lists.lyx.org
> *Subject:* Re: threeparttablex with longtable
>
> Hi Tyler
> As Jacob also mentioned we really need to see an actual example of what
> you are trying to do.  Here is a discussion on how to approach the task :
> http://wiki.lyx.org/FAQ/MinimalExample
> <http://wiki.lyx.org/FAQ/MinimalExample>
> LyX wiki | FAQ / MinimalExample
> In a nutshell. A minimal example is a .lyx file that is as small as
> possible while still showing the behavior that you are asking about. It
> should include as few ...
> Read more... <http://wiki.lyx.org/FAQ/MinimalExample>
>
>
>
> On the other hand, given all the coding you already have done, I'd suggest
> doing the whole thing in LaTeX, that is, just stay in the ERT environment.
>
> I have never found LyX tables that easy to fill in---nice to work with
> otherwise but in terms of data entry, meh, not a lot easier than raw LaTeX.
>
> See a example I stole from somewhere on the web and slightly adapted a
> while ago.  It is attached below.
>
> On 4 December 2015 at 14:23, Tyler Grummett <
> tyler.grumm...@flinders.edu.au> wrote:
>
>> Hello John,
>>
>>
>> Yes the normal threeparttable package works for me with normal tables in
>> a table float, however I need table notes in a long table.
>>
>>
>> I have the following in ERT before the table (which is manually inserted
>> using the lyx GUI)
>>
>>
>> \begin{ThreePartTable}
>> \begin{TableNotes}
>> \item[a] A note
>> \item[b] Another note
>> \end{TableNotes}
>>
>> I then make the table. However the threeparttablex package asks for you
>> to put in a line of ERT code that says \insertTableNotes, however as the
>> code includes \end{longtable} when you make a table, you cant put it in
>> anywhere.
>>
>>
>> I have compromised (if there is no solution) by inserting some ERT code
>> in the bottom row of the table:
>>
>>
>> \footnotesize
>> 1 = blah
>> 2 = blah blah
>> 3 = blah blah blah
>>
>> which makes most of the code written before the table vestigial, Ill
>> remove it if there isnt a solution haha.
>>
>> Cheers for the prompt reply,
>>
>> Tyler
>>
>>
>> *
>>
>> *Tyler Grummett ( BBSc, BSc(Hons I))*
>> *PhD Candidate*
>> *Brain Signals Laboratory*
>> *Flinders University*
>> *Rm 

Re: threeparttablex with longtable

2015-12-05 Thread John Kane
Hi Tyler
As Jacob also mentioned we really need to see an actual example of what you
are trying to do.  Here is a discussion on how to approach the task :
http://wiki.lyx.org/FAQ/MinimalExample

On the other hand, given all the coding you already have done, I'd suggest
doing the whole thing in LaTeX, that is, just stay in the ERT environment.

I have never found LyX tables that easy to fill in---nice to work with
otherwise but in terms of data entry, meh, not a lot easier than raw LaTeX.

See a example I stole from somewhere on the web and slightly adapted a
while ago.  It is attached below.

On 4 December 2015 at 14:23, Tyler Grummett <tyler.grumm...@flinders.edu.au>
wrote:

> Hello John,
>
>
> Yes the normal threeparttable package works for me with normal tables in a
> table float, however I need table notes in a long table.
>
>
> I have the following in ERT before the table (which is manually inserted
> using the lyx GUI)
>
>
> \begin{ThreePartTable}
> \begin{TableNotes}
> \item[a] A note
> \item[b] Another note
> \end{TableNotes}
>
> I then make the table. However the threeparttablex package asks for you to
> put in a line of ERT code that says \insertTableNotes, however as the code
> includes \end{longtable} when you make a table, you cant put it in anywhere.
>
>
> I have compromised (if there is no solution) by inserting some ERT code in
> the bottom row of the table:
>
>
> \footnotesize
> 1 = blah
> 2 = blah blah
> 3 = blah blah blah
>
> which makes most of the code written before the table vestigial, Ill
> remove it if there isnt a solution haha.
>
> Cheers for the prompt reply,
>
> Tyler
>
>
> *
>
> *Tyler Grummett ( BBSc, BSc(Hons I))*
> *PhD Candidate*
> *Brain Signals Laboratory*
> *Flinders University*
> *Rm 5A301*
> *Ext 66125*
>
>
> --
> *From:* John Kane <jrkrid...@gmail.com>
> *Sent:* Thursday, 3 December 2015 11:20 PM
> *To:* Tyler Grummett
> *Cc:* lyx-users@lists.lyx.org
> *Subject:* Re: threeparttablex with longtable
>
> Hi Tyler;
> Could you upload a minimal example of the table. It is not clear to me
> exactly how you are using the ERT.
>
> Is the entire table in the ERT or are you using a LyX-type table with the
> Insert commands in an ERT?
>
> On 30 November 2015 at 20:17, Tyler Grummett <
> tyler.grumm...@flinders.edu.au> wrote:
>
>> Hello Lyx,
>>
>>
>> Im having a problem when using threeparttablex with longtables. In order
>> to see the table I am working with, I have chosen to use ERT code to
>> \begin{ThreePartTable} and then \begin{TableNotes}  \end{TableNotes}
>> etc then ive inserted a table and made it a long table.
>>
>>
>> Everything works if you just put in the ERT code \end{ThreePartTable},
>> but then there are no actual table notes. I cant work out where to put the
>> ERT code \insertTableNotes. According to the documentation, it needs to be
>> inside the longtable, but I cant work out how to do it without getting an
>> error \misaligned etc.
>>
>>
>> Please help.
>>
>>
>> Tyler
>>
>>
>> *
>>
>> *Tyler Grummett ( BBSc, BSc(Hons I))*
>> *PhD Candidate*
>> *Brain Signals Laboratory*
>> *Flinders University*
>> *Rm 5A301*
>> *Ext 66125*
>>
>
>
>
> --
> John Kane
> Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


threepart.lyx
Description: application/lyx


Re: threeparttablex with longtable

2015-12-04 Thread Tyler Grummett
Hello John,


Yes the normal threeparttable package works for me with normal tables in a 
table float, however I need table notes in a long table.


I have the following in ERT before the table (which is manually inserted using 
the lyx GUI)


\begin{ThreePartTable}
\begin{TableNotes}
\item[a] A note
\item[b] Another note
\end{TableNotes}


I then make the table. However the threeparttablex package asks for you to put 
in a line of ERT code that says \insertTableNotes, however as the code includes 
\end{longtable} when you make a table, you cant put it in anywhere.


I have compromised (if there is no solution) by inserting some ERT code in the 
bottom row of the table:


\footnotesize
1 = blah
2 = blah blah
3 = blah blah blah

which makes most of the code written before the table vestigial, Ill remove it 
if there isnt a solution haha.

Cheers for the prompt reply,

Tyler



*

Tyler Grummett ( BBSc, BSc(Hons I))
PhD Candidate
Brain Signals Laboratory
Flinders University
Rm 5A301
Ext 66125



From: John Kane <jrkrid...@gmail.com>
Sent: Thursday, 3 December 2015 11:20 PM
To: Tyler Grummett
Cc: lyx-users@lists.lyx.org
Subject: Re: threeparttablex with longtable

Hi Tyler;
Could you upload a minimal example of the table. It is not clear to me exactly 
how you are using the ERT.

Is the entire table in the ERT or are you using a LyX-type table with the 
Insert commands in an ERT?

On 30 November 2015 at 20:17, Tyler Grummett 
<tyler.grumm...@flinders.edu.au<mailto:tyler.grumm...@flinders.edu.au>> wrote:

Hello Lyx,


Im having a problem when using threeparttablex with longtables. In order to see 
the table I am working with, I have chosen to use ERT code to 
\begin{ThreePartTable} and then \begin{TableNotes}  \end{TableNotes} etc 
then ive inserted a table and made it a long table.


Everything works if you just put in the ERT code \end{ThreePartTable}, but then 
there are no actual table notes. I cant work out where to put the ERT code 
\insertTableNotes. According to the documentation, it needs to be inside the 
longtable, but I cant work out how to do it without getting an error 
\misaligned etc.


Please help.


Tyler


*

Tyler Grummett ( BBSc, BSc(Hons I))
PhD Candidate
Brain Signals Laboratory
Flinders University
Rm 5A301
Ext 66125



--
John Kane
Kingston ON Canada


Re: threeparttablex with longtable

2015-12-03 Thread John Kane
Hi Tyler;
Could you upload a minimal example of the table. It is not clear to me
exactly how you are using the ERT.

Is the entire table in the ERT or are you using a LyX-type table with the
Insert commands in an ERT?

On 30 November 2015 at 20:17, Tyler Grummett  wrote:

> Hello Lyx,
>
>
> Im having a problem when using threeparttablex with longtables. In order
> to see the table I am working with, I have chosen to use ERT code to
> \begin{ThreePartTable} and then \begin{TableNotes}  \end{TableNotes}
> etc then ive inserted a table and made it a long table.
>
>
> Everything works if you just put in the ERT code \end{ThreePartTable}, but
> then there are no actual table notes. I cant work out where to put the ERT
> code \insertTableNotes. According to the documentation, it needs to be
> inside the longtable, but I cant work out how to do it without getting an
> error \misaligned etc.
>
>
> Please help.
>
>
> Tyler
>
>
> *
>
> *Tyler Grummett ( BBSc, BSc(Hons I))*
> *PhD Candidate*
> *Brain Signals Laboratory*
> *Flinders University*
> *Rm 5A301*
> *Ext 66125*
>



-- 
John Kane
Kingston ON Canada


Re: threeparttablex with longtable

2015-12-03 Thread Jacob Bishop
On Mon, Nov 30, 2015 at 6:17 PM, Tyler Grummett <
tyler.grumm...@flinders.edu.au> wrote:

> Im having a problem when using threeparttablex with longtables.
>
Does the normal threeparttable package work for you? Is it just a longtable
and threeparttablex-specific problem? If so, have you tried putting the
entire table in ERT? For this, there is a demo table in the threeparttablex
package. That's where I would start, then try to go to a lyx table with ERT
until it the source preview pane gives you about the same as it did with
pure ERT. A minimal example would also be useful as suggested by John.


threeparttablex with longtable

2015-12-01 Thread Tyler Grummett
Hello Lyx,


Im having a problem when using threeparttablex with longtables. In order to see 
the table I am working with, I have chosen to use ERT code to 
\begin{ThreePartTable} and then \begin{TableNotes}  \end{TableNotes} etc 
then ive inserted a table and made it a long table.


Everything works if you just put in the ERT code \end{ThreePartTable}, but then 
there are no actual table notes. I cant work out where to put the ERT code 
\insertTableNotes. According to the documentation, it needs to be inside the 
longtable, but I cant work out how to do it without getting an error 
\misaligned etc.


Please help.


Tyler


*

Tyler Grummett ( BBSc, BSc(Hons I))
PhD Candidate
Brain Signals Laboratory
Flinders University
Rm 5A301
Ext 66125