Re: footnote da una cella di una tabella

#985
Up
0
Down
::


Ciao,
il problema era già stato trattato nel vecchio forum ma non sono riuscito a trovarlo nell’archio dei messaggi ne cercando footnote ne note nei due file pdf, ed è un po’ un peccato perché c’erano informazioni interessanti. Fortunatamente ora il nuovo forum si occupa automaticamente dell’archiviazione e il motore di ricerca funziona bene, così che problemi del genere non dovrebbero più verificarsi.

per quanto riguarda la soluzione ti copio una parte delle faq di loria, se hai problemi con la traduzione o l’implementazione di quanto dice facci sapere:

Footnotes in tables

The standard LaTeX \footnote command doesn’t work in tables; the table traps the footnotes and they can’t escape to the bottom of the page.

If your table is floating, your best bet is (unfortunately) to put the table in a minipage environment and to put the notes underneath the table, or to use Donald Arseneau’s package threeparttable (which implements “table notes” proper).

Otherwise, if your table is not floating (it’s just a ‘tabular’ in the middle of some text), there are several things you can do to fix the problem.

    Use \footnotemark to position the little marker appropriately, and then put in \footnotetext commands to fill in the text once you’ve closed the tabular environment. This is described in Lamport’s book, but it gets messy if there’s more than one footnote.
    Stick the table in a minipage anyway. This provides all the ugliness of footnotes in a minipage with no extra effort.
    Use threeparttable anyway; the package is intended for floating tables, and the result might look odd if the table is not floating, but it will be reasonable.
    Use tabularx or longtable from the LaTeX tools distribution; they’re noticeably less efficient than the standard tabular environment, but they do allow footnotes.
    Grab hold of footnote, and put your tabular environment inside a savenotes environment. Alternatively, say \makesavenoteenv{tabular} in the preamble of your document, and tables will all handle footnotes correctly.
    Use mdwtab from the same bundle; it will handle footnotes properly, and has other facilities to increase the beauty of your tables. It may also cause other table-related packages (not the standard ‘tools’ ones, though) to become very unhappy and stop working.

Spero tu possa trovare la soluzione che fa al caso tuo,
ciao
f

Go to top