Similar Threads:
1.Changing font size of table notes in threeparttable
Hi,
I want to change the font size of table notes in a threeparttable. I
did the following
\renewcommand{\TPTnoteSettings}{\small
\setlength\leftmargin{1.8em}%
\setlength\labelwidth{1.5em}%
\setlength\labelsep{.3em}%
}%
to get the right size, but the line leading is still too large,
appropriate for \footnotesize. How can I make the line leading
compatible with the font?
Thanks,
Scott Waichler
2.table footnotes flush left using threeparttable?
I'm using Donald Arseneau's package <threeparttable> to typeset tables
that contain both a general note (without footnote superscripts in the
table) and specific footnotes (which are indexed by superscripts in
the table body). It ALMOST works, but I cannot get the specific
footnotes to begin flush left (without any identation). Here's an
example of what I want to achieve:
Table 1: A caption (which is centered and extends across the entire
textwidth).
--------------------
Header 1 Header 2
--------------------
line1l line1r*
line2l line2r
--------------------
Note. This general
note should wrap at
linebreaks.
* Specific notes
should be flush left
and also wrap like
this.
Here's my closest approximation so far:
\begin{table}[htbp]
\centering
\caption{A caption (which should be centered and extend across the
entire textwidth).}
\begin{threeparttable}
\begin{tabular}{cc}\hline
Header 1 & Header 2\\ \hline
line 1 left & line 1 right\tnote{*} \\
line 2 left & line 2 right\\ \hline
\end{tabular}%
\textsl{Note}. This is a general note which wraps across several
lines. Its width is set to the width of the table, which is nice.
%
\begin{tablenotes}
\labelwidth 1em
\labelsep .5em
\item[*] This specific footnote wraps nicely, but is indented at the
left.
\end{tablenotes}
\end{threeparttable}
\end{table}
I like the separating space between the label [*] and the
corresponding tablenote, but need both the label and the text (in all
lines) to begin flush left. Having tried various combinations of
\itemindent and \leftmargin settings without success I'm grateful for
any ideas and suggestions. Thanks,
Hans [replace x by a in email]
3.Q: regarding footnotes in tables and notes in table captions
In short, what is a good way to put footnotes in tables? And, are
footnotes in tables avoidable or undesirable?
In writing scientific papers, often I need to list parameters of an
instrument, often as a two-column tabular environment with
left-flushed parameter description in the left column, and centered
values in the right column.
This does not qualify as a classical table as I understand it from the
caption documentation, and often extra explanations of some entries
are required in the caption or as footnotes under the table (mostly
owing to the use of abbreviations and to lack of space in the cells).
In the majority of cases, my method now is to mark the parameter
description text with a \textsuperscript{(1)} and add \emph{Notes:}
(1) ...; (2) ... after the the caption main text. This is my attempt
to do more or less what the fnpara package does for footnotes in the
text to save space (typesetting them as a run-in paragraph).
Footnotes in tables seem to be poorly supported, and from a
typographical point of view, I find that they make the table unsightly
and difficult to parse with the eye, especially when captions are
above the table. When I can stand the sight of footnotes (and when
space allows), then I have had the best success, under these
conditions, with a combination of booktabs, caption and
threeparttable, as follows:
\begin{table}[<options>]
\centering
\begin{threeparttable}
\caption{}
\begin{tabular}[<options>]
...
...\tnote{a}
...
\end{tabular}
\begin{tablenotes}
\item[a] ...
...
\end{tablenotes}
\end{threeparttable}
\end{table}
I wonder, what is the consensus among the LaTeX experts currently
about the use of footnotes in tables (avoid at all costs, necessary
evil, etc.), and is there any Right Way to do this nowadays?
Many thanks,
Gernot
References:
UK TUG FAQ online
Documentation for booktabs and caption
Leslie Lamport's LaTeX2e guide
l2tabu(en)
1994 version of the LaTeX Companion
--
Excellent and indispensable tools are no excuse for not learning how
things really work.
4.enumerate items in multicolumn table
please help me with the following:
I am trying to enumerate items in multicolumn tables. Earlier, I got
help and the following code works fine except that I want the item
numbers instead of bullets, and secondly I need the text to be "left
justified" as there is awkward spacing between words if I leave it
"center". I tried to change itemize with enumerate but it doesn't
work..
Best Regards,
Reez
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\setitemize{topsep=-2ex,itemsep=-
\baselineskip,partopsep=-2ex,leftmargin=*}
\def\newitem#1{%
\begin{itemize}
\item #1
\end{itemize}%
}%
\begin{tabular}{|p{0.4\linewidth}|p{0.4\linewidth}|}
\newitem{this is very neat and it may change next time} &
\newitem{this is very neat and it may change next time. this is
really a matter of safety and should not
be taken lightly.} \\[-1em]
\newitem{rae} & \newitem{rae} \\[-1em]
\newitem{me} & \newitem{me} \\[-1em]
\newitem{fa} & \newitem{fa} \\[-1em]
\newitem{so} & \newitem{here is another long line that should be
formatted as a regular paragraph} \\[-1em]
\newitem{and the left and right columns both along one another
per
item} & \newitem{la} \\[-1em]
\newitem{tee} & \newitem{tee} \\[-1em]
\newitem{\ldots} & \newitem{\ldots}
\end{tabular}
\end{document}
5.first-row multicolumn{2} table with equally wide consecutive rows
Dear TeXnicians,
I need to compose in LaTeX a simple 2x2 (all centered) table, having a
multicolumn forst row, and columns in the second row equally wide (i.
e. exactly 1/2 of the total width of table):
+-------------------+
| HERE IS SOME TEXT |
+-------------------+
| A | B |
+-------------------+
Here is my attempt to do this, but the output is not what I expected:
---CODE---
\documentclass[a4paper]{article}
\usepackage{array}
\begin{document}
\begin{center}
\begin{tabular}{|c|c|}
\hline
\multicolumn{2}{|c|}{HERE IS SOME TEXT} \\
\hline
A & B \\
\hline
\end{tabular}
\end{center}
\end{document}
---CODE---
---OUTPUT---
+-------------------+
| HERE IS SOME TEXT |
+-------------------+
| A | B |
+-------------------+
---OUTPUT---
As you may see, the resulting table is somewhat different of that I
would like to have -- all the contents is centered indeed, but the
second row has its columns NOT equally wide!
I would greatly appreciate any help/advice concerning this problem.
Thank you in advance!
6. problem with table, columncolor, multicolumn and multirow
7. [help]color table and \multicolumn
8. Table width with multicolumn/multirow