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 <[email protected]>
Sent: Thursday, 3 December 2015 11:20 PM
To: Tyler Grummett
Cc: [email protected]
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
<[email protected]<mailto:[email protected]>> 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