footnote da una cella di una tabella

  • Creatore
    Topic
  • #983
    admin
    Amministratore del forum
      Up
      0
      Down
      ::


      era: Problemi con footnote

      ciao al lettore ho un problema non riesco a far apparire una nota che si rivolge ad un elemento in ambiente tabular in fondo alla pagina. Ho provato con l’ambiente minipage ma la nota così mi appare subito dopo la tabella e non in fondo alla pagina. Grazie in anticipo per la risposta.

    Visualizzazione 1 filone di risposte
    • Autore
      Risposte
      • #984
        ev
        Partecipante
          Up
          0
          Down
          ::

          non riesco a far apparire una nota che si rivolge ad un elemento in ambiente tabular in fondo alla pagina. Ho provato con l’ambiente minipage ma la nota così mi appare subito dopo la tabella e non in fondo alla pagina.

          Il comportamento descritto è perfettamente normale. Per alterarlo ci sono diverse soluzioni, ma se usi un tabular puro e semplice la strada maestra è:

          1. utilizzare il pacchetto footnote della collezione mdwtools (reperibile qui nel caso non fosse presente nella tua installazione locale)

          2. nel preambolo inserire il comando `\makesavenoteenv{tabular}`

          3. ricompilare 8)

        • #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

      Visualizzazione 1 filone di risposte
      • Devi essere connesso per rispondere a questo topic.

      Go to top