threeparttable: multicolumn table notes



  • 1. Best beginners' LaTeX book?
    Hi I came back to LaTeX recently after eight years in the wilderness. So much has changed! I've brought a bunch of newbies with me. They protested at first but the penny has now dropped. However, it's still a very steep learning curve for everyone. We need help! To keep us from going mad, we need a good, single volume LaTeX book, on paper, covering the basics but getting into some of the more advanced stuff as well (say anything up to minor class file hacking). What do you recommend? thanks!
  • 2. textcomp numero sign (? with PostScript fonts
    Tristan Miller < XXXX@XXXXX.COM > writes: > 1) If I don't care about using a Computer Modern version of the \textnumero > symbol, what commands do I need to use instead? In a group switch to fontfamily cmr before using \texnumero. It will look ugly. > 2) If I'd rather use a native version of the \textnumero symbol, how can I > fake it? That is, can someone suggest how to define a new symbol that > looks like the uppercase N plus a vertically centred, underlined, small > lowercase o? Unfortunately, the o is too high and the underline is far > too low with \newcommand\textnumero{N\underline{\textordmasculine}}. > \newcommand\textnumero{N\textsuperscript{\underline{o}}} looks a bit > better, but the o is still too high (especially noticeable at larger font > sizes, such as \Huge -- it's actually much higher than the N). I am not convinced that the o has to be underlined and that it has to be vertically centered, but you can start from something like this \usepackage{relsize} [...] N\raisebox{0.25em}{\relsize{-2}\underline{o}} and adjust it to your taste. IMO a thicker and shorter line would look better ... cheerio ralf
  • 3. YAP print directly to PostScript printer?
    How can I get YAP (2.4.1803) under Windows XP to print directly to a PostScript printer? If I select File > Print PostScript... and then, in the Print dialog designate a PostScript printer, and then select either of the two methods (DVI->PostScript->Printer or DVI->PostScript->Bitmaps->Printer), still YAP prints to a file rather than to the printer. The printer is an HP LaswerJet 4M Plus (which DOES have a PostScript interpreter). And it doesn't matter which of two PostScript drivers I select -- Adobe PS or Hewlett Packard's own PostScript driver for this printer. Note that if instead I use File > Print, then the output does go directly to the printer, no matter what driver is selected. -- Murray Eisenberg XXXX@XXXXX.COM Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
  • 4. Accents in code listings
    Hello. I am new to the /listings/ package and to TeX in general. I have been having trouble adding code listings to a document, when the code contains comments or other strings with accented letters. Here is the preamble of my document: \documentclass[a4paper,12pt]{abnt} \usepackage[brazil]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{times} \usepackage{verbatim} \usepackage{listings} \usepackage[pdftex]{color,graphicx} \lstset{basicstyle=\scriptsize, showstringspaces=false, extendedchars=true} And here is how I use the /listings/ package to include code: \begin{lstlisting}[language=C++, frame=tb, caption={Construtor da classe DistribuicaoGama}, label=ls:ctrgama, lineskip=-0.7pt] DistribuicaoGama::DistribuicaoGama(long double alfa, long double beta) : mAlfa(alfa), mBeta(beta) { if (!((alfa > 0) && (beta > 0))) throw std::domain_error("Os paretros alfa e beta da distribuio " "Gama devem ser maiores que zero."); } \end{lstlisting} The TeX processor complains as soon as it reaches "paretros", saying it has a malformed UTF-8 character. Has anyone managed to use accents in listings? I would appreciate any advice in order to sort this out. Thank you, -- Ney Andrde Mello Zunino Graduando em Cicia da Computao Universidade Federal de Santa Catarina
  • 5. what software to open .djvu files?
    Hi all, I saw some documents are in ".djvu" format. I am guessing this is related to latex or pdf, etc. How can I open this type of software? I am looking for the most popular and the best software of this type so I can install one software and save all the future hassle. Thanks a lot!

threeparttable: multicolumn table notes

Postby Bil Kleb » Mon, 05 Apr 2004 06:21:47 GMT

I am using the multicol package to set the tablenotes
in a threeparttable environment in columns.

With long table notes, however, I have to insert line
breaks by hand.  Is there a way to have the \tablenotes
list environment cope with multicols automatically, i.e.,
wrap based on the current \linewidth given by multicols?

I have tried hacking \tablenotes, but I no joy so far...

Here is my current test case:

   \caption{A \texttt{threeparttable} with multicolumn notes.}
    \multicolumn{3}{c}{Process Type}            \\
    None            & Defined       & Empirical \\\hline
    Ad hoc\tnote{1} & CMMI\tnote{2} & Agile     \\
    Ad hoc          & PMI           & Lean
     \item[1] Also known as code-n-fix.
     \item[2] For teams of ``code monkeys''

Thanks in advance,
Bil Kleb, Hampton, {*filter*}ia

Re: threeparttable: multicolumn table notes

Postby Bil Kleb » Sat, 10 Apr 2004 16:37:35 GMT

Arseneau assisted me offline.  The conclusion: the whole
idea of the \tablenotes list environment is set to be
'tablewidth' wide.  Therefore, merely make your own list
that inherits the existing \linewidth set by the multicols
environment.  A lame example:

    {\begin{footnotesize}\begin{list}{}{\topsep 0pt \partopsep  0pt
     \setlength\itemsep{4pt plus 1pt minus 1pt} \leftmargin 0pt
     \parsep 0pt \itemindent 0pt \labelsep 0pt \raggedright}%
     \settowidth{\labelwidth}{\textsuperscript 1}%

     \item[1] Also known as code-n-fix.
     \item[2] For teams of ``code monkeys''

Bil Kleb, Hampton, {*filter*}ia

Similar Threads:

1.Changing font size of table notes in threeparttable


I want to change the font size of table notes in a threeparttable.  I
did the following


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?

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
  Header 1   Header 2
   line1l     line1r*
   line2l     line2r
  Note.  This general 
  note should wrap at
  *  Specific notes 
  should be flush left 
  and also wrap like 

Here's my closest approximation so far:

\caption{A caption (which should be centered and extend across the
entire textwidth).}
Header 1 & Header 2\\    \hline
line 1 left &  line 1 right\tnote{*} \\
line 2 left &  line 2 right\\ \hline
\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.
\labelwidth 1em
\labelsep   .5em
\item[*] This specific footnote wraps nicely, but is indented at the

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:

      \item[a] ...

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,



  UK TUG FAQ online
  Documentation for booktabs and caption
  Leslie Lamport's LaTeX2e guide 
  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
Best Regards,





        \item #1


    \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
item} & \newitem{la} \\[-1em]
    \newitem{tee} & \newitem{tee} \\[-1em]
    \newitem{\ldots} & \newitem{\ldots}


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):

|    A    |    B    |

Here is my attempt to do this, but the output is not what I expected:


\multicolumn{2}{|c|}{HERE IS SOME TEXT} \\
A & B \\ 


|  A  |      B      |

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

Return to tex


Who is online

Users browsing this forum: No registered users and 10 guest