LyX ⇒ Title and footnotes in tables
Title and footnotes in tables
Is there a way of getting a title and footnotes for a table? I want the footnotes to be right under the table. Do I have to do this "manually"?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Title and footnotes in tables
As for table captions, you should use floats and simply put a table above its caption. Note that space between the table and its caption can be larger than wanted. You may correct it with a negative \vspace (use ERT box for it). You'll find an example in attachment.
- Attachments
-
- test.lyx.zip
- (1.13 KiB) Downloaded 478 times
Re: Title and footnotes in tables
Title and footnotes in tables
Code: Select all
\renewcommand{\footnoterule}{}
In attachment is an example of simple use of threeparttable and caption packages.
- Attachments
-
- test.lyx.zip
- (1.38 KiB) Downloaded 432 times
Re: Title and footnotes in tables
Rotating package has a "sidewaystable" command, but how do I combine with the ability to make footnotes?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Title and footnotes in tables
Why don't you just try? In case of upcoming problems just ask further questions.Matias wrote:[...] Is this possible when using threeparttable (combined with maybe rotating package or floatrow)? [...]
Just use rotating and threeparttable in combination. Read the according manuals carefully and start a first approach.Matias wrote:[...] Rotating package has a "sidewaystable" command, but how do I combine with the ability to make footnotes? [...]
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Title and footnotes in tables
Yes, I do try to read and search Google before I ask. Some things are, however, not so easy for a newbie like me. Maybe I don't try hard enough, but there is also a line between asking and spending countless hours trying to figure it out myself (though you may learn better that way).
I will continue trying to find a solution for this.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Title and footnotes in tables
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Title and footnotes in tables
As it is now, I have a threeparttable (described by meho_r) inside a float. I want to rotate this whole float to landscape view. I read the rotating and threeparttable manuals, but I still have problems getting it to work.
Title and footnotes in tables
Code: Select all
\begin{sidewaystable}
\begin{threeparttable}
\begin{tabular}{|c|c|c|c|c|c|c|}
\hline
test\tnote{1} & test & test & test & test & test & test\tabularnewline
\hline
\hline
test & test & test & test & test & test\tnote{a} & test\tabularnewline
\hline
\end{tabular}
\begin{tablenotes}% to print footnotes below the table
\footnotesize% to get a little bit smaller font of footnotes
\item[1]Text for the first footnote
\item[a]Text for the second footnote
\end{tablenotes}
\caption{And a table with a lot larger title than previous to show how it looks like in more than one line}
\label{ATableC}
\end{threeparttable}
\end{sidewaystable}
- Attachments
-
- test.lyx.zip
- (2.17 KiB) Downloaded 310 times