Footnotes in longtable captions












9















Is there a way to put a footnote in longtable caption?



documentclass{book}
usepackage{longtable}

begin{document}

begin{longtable}{|c|}
caption{Table
% footnote{Footnote} % Uncommenting results in error.
} \
hline
Something \
hline
end{longtable}

end{document}









share|improve this question





























    9















    Is there a way to put a footnote in longtable caption?



    documentclass{book}
    usepackage{longtable}

    begin{document}

    begin{longtable}{|c|}
    caption{Table
    % footnote{Footnote} % Uncommenting results in error.
    } \
    hline
    Something \
    hline
    end{longtable}

    end{document}









    share|improve this question



























      9












      9








      9


      3






      Is there a way to put a footnote in longtable caption?



      documentclass{book}
      usepackage{longtable}

      begin{document}

      begin{longtable}{|c|}
      caption{Table
      % footnote{Footnote} % Uncommenting results in error.
      } \
      hline
      Something \
      hline
      end{longtable}

      end{document}









      share|improve this question
















      Is there a way to put a footnote in longtable caption?



      documentclass{book}
      usepackage{longtable}

      begin{document}

      begin{longtable}{|c|}
      caption{Table
      % footnote{Footnote} % Uncommenting results in error.
      } \
      hline
      Something \
      hline
      end{longtable}

      end{document}






      footnotes longtable






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 18 '17 at 9:00









      David Carlisle

      494k4111381885




      494k4111381885










      asked Mar 30 '12 at 23:27









      Ivan BychkovIvan Bychkov

      381411




      381411






















          2 Answers
          2






          active

          oldest

          votes


















          10














          From longtable documentation:




          Note however that footnote will not work in the ‘head’ or ‘foot’
          sections of the table. In order to put a footnote in those sections
          (e.g., inside a caption), use footnotemark at that point, and
          footnotetext anywhere in the table body that will fall on the same
          page.




          Hence the MWE will be



          documentclass{article}
          usepackage{longtable}
          begin{document}
          begin{longtable}{|c|}
          caption[Table is very long]{Table is very longprotectfootnotemark}\ %<------footnote mark here
          hline
          Something footnotetext{This is a caption} \ %<------footnote text here
          hline
          end{longtable}
          end{document}


          Edit: Added short caption as per Gonzalo's suggestion. With short caption added, protect won't be necessary.



          enter image description here






          share|improve this answer





















          • 4





            It could be sensible to use the optional argument of caption, as in caption[Table is very long]{Table is very longprotectfootnotemark} to prevent the mark from having a wrong numbering in the text and from appearing also in a possible list of figures

            – Gonzalo Medina
            Mar 30 '12 at 23:52











          • @GonzaloMedina, Thanks, I have made the changes.

            – user11232
            Mar 30 '12 at 23:57











          • With the changes made, protect is unnecessary.

            – Ivan Bychkov
            Apr 1 '12 at 21:50











          • I am trying this as well. My documentclass is report. It returns errors if I don't use protect. It does not produce any notes either with protectfootnotetext or with protectfootnotemark.

            – Cost
            Aug 24 '12 at 8:49






          • 1





            @Costi: Refer How do I update my TeX distribution?

            – user11232
            Aug 24 '12 at 14:09



















          0














          You can keep the normal footnote command by using the footnotehyper package:



          documentclass{book}
          usepackage{longtable}
          usepackage{footnotehyper}
          makesavenoteenv{longtable}

          begin{document}

          begin{longtable}{|c|}
          caption[tab]{Tablefootnote{Footnote}} \
          hline
          Something \
          hline
          end{longtable}

          end{document}





          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "85"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f50151%2ffootnotes-in-longtable-captions%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            10














            From longtable documentation:




            Note however that footnote will not work in the ‘head’ or ‘foot’
            sections of the table. In order to put a footnote in those sections
            (e.g., inside a caption), use footnotemark at that point, and
            footnotetext anywhere in the table body that will fall on the same
            page.




            Hence the MWE will be



            documentclass{article}
            usepackage{longtable}
            begin{document}
            begin{longtable}{|c|}
            caption[Table is very long]{Table is very longprotectfootnotemark}\ %<------footnote mark here
            hline
            Something footnotetext{This is a caption} \ %<------footnote text here
            hline
            end{longtable}
            end{document}


            Edit: Added short caption as per Gonzalo's suggestion. With short caption added, protect won't be necessary.



            enter image description here






            share|improve this answer





















            • 4





              It could be sensible to use the optional argument of caption, as in caption[Table is very long]{Table is very longprotectfootnotemark} to prevent the mark from having a wrong numbering in the text and from appearing also in a possible list of figures

              – Gonzalo Medina
              Mar 30 '12 at 23:52











            • @GonzaloMedina, Thanks, I have made the changes.

              – user11232
              Mar 30 '12 at 23:57











            • With the changes made, protect is unnecessary.

              – Ivan Bychkov
              Apr 1 '12 at 21:50











            • I am trying this as well. My documentclass is report. It returns errors if I don't use protect. It does not produce any notes either with protectfootnotetext or with protectfootnotemark.

              – Cost
              Aug 24 '12 at 8:49






            • 1





              @Costi: Refer How do I update my TeX distribution?

              – user11232
              Aug 24 '12 at 14:09
















            10














            From longtable documentation:




            Note however that footnote will not work in the ‘head’ or ‘foot’
            sections of the table. In order to put a footnote in those sections
            (e.g., inside a caption), use footnotemark at that point, and
            footnotetext anywhere in the table body that will fall on the same
            page.




            Hence the MWE will be



            documentclass{article}
            usepackage{longtable}
            begin{document}
            begin{longtable}{|c|}
            caption[Table is very long]{Table is very longprotectfootnotemark}\ %<------footnote mark here
            hline
            Something footnotetext{This is a caption} \ %<------footnote text here
            hline
            end{longtable}
            end{document}


            Edit: Added short caption as per Gonzalo's suggestion. With short caption added, protect won't be necessary.



            enter image description here






            share|improve this answer





















            • 4





              It could be sensible to use the optional argument of caption, as in caption[Table is very long]{Table is very longprotectfootnotemark} to prevent the mark from having a wrong numbering in the text and from appearing also in a possible list of figures

              – Gonzalo Medina
              Mar 30 '12 at 23:52











            • @GonzaloMedina, Thanks, I have made the changes.

              – user11232
              Mar 30 '12 at 23:57











            • With the changes made, protect is unnecessary.

              – Ivan Bychkov
              Apr 1 '12 at 21:50











            • I am trying this as well. My documentclass is report. It returns errors if I don't use protect. It does not produce any notes either with protectfootnotetext or with protectfootnotemark.

              – Cost
              Aug 24 '12 at 8:49






            • 1





              @Costi: Refer How do I update my TeX distribution?

              – user11232
              Aug 24 '12 at 14:09














            10












            10








            10







            From longtable documentation:




            Note however that footnote will not work in the ‘head’ or ‘foot’
            sections of the table. In order to put a footnote in those sections
            (e.g., inside a caption), use footnotemark at that point, and
            footnotetext anywhere in the table body that will fall on the same
            page.




            Hence the MWE will be



            documentclass{article}
            usepackage{longtable}
            begin{document}
            begin{longtable}{|c|}
            caption[Table is very long]{Table is very longprotectfootnotemark}\ %<------footnote mark here
            hline
            Something footnotetext{This is a caption} \ %<------footnote text here
            hline
            end{longtable}
            end{document}


            Edit: Added short caption as per Gonzalo's suggestion. With short caption added, protect won't be necessary.



            enter image description here






            share|improve this answer















            From longtable documentation:




            Note however that footnote will not work in the ‘head’ or ‘foot’
            sections of the table. In order to put a footnote in those sections
            (e.g., inside a caption), use footnotemark at that point, and
            footnotetext anywhere in the table body that will fall on the same
            page.




            Hence the MWE will be



            documentclass{article}
            usepackage{longtable}
            begin{document}
            begin{longtable}{|c|}
            caption[Table is very long]{Table is very longprotectfootnotemark}\ %<------footnote mark here
            hline
            Something footnotetext{This is a caption} \ %<------footnote text here
            hline
            end{longtable}
            end{document}


            Edit: Added short caption as per Gonzalo's suggestion. With short caption added, protect won't be necessary.



            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Aug 24 '12 at 12:59

























            answered Mar 30 '12 at 23:42







            user11232















            • 4





              It could be sensible to use the optional argument of caption, as in caption[Table is very long]{Table is very longprotectfootnotemark} to prevent the mark from having a wrong numbering in the text and from appearing also in a possible list of figures

              – Gonzalo Medina
              Mar 30 '12 at 23:52











            • @GonzaloMedina, Thanks, I have made the changes.

              – user11232
              Mar 30 '12 at 23:57











            • With the changes made, protect is unnecessary.

              – Ivan Bychkov
              Apr 1 '12 at 21:50











            • I am trying this as well. My documentclass is report. It returns errors if I don't use protect. It does not produce any notes either with protectfootnotetext or with protectfootnotemark.

              – Cost
              Aug 24 '12 at 8:49






            • 1





              @Costi: Refer How do I update my TeX distribution?

              – user11232
              Aug 24 '12 at 14:09














            • 4





              It could be sensible to use the optional argument of caption, as in caption[Table is very long]{Table is very longprotectfootnotemark} to prevent the mark from having a wrong numbering in the text and from appearing also in a possible list of figures

              – Gonzalo Medina
              Mar 30 '12 at 23:52











            • @GonzaloMedina, Thanks, I have made the changes.

              – user11232
              Mar 30 '12 at 23:57











            • With the changes made, protect is unnecessary.

              – Ivan Bychkov
              Apr 1 '12 at 21:50











            • I am trying this as well. My documentclass is report. It returns errors if I don't use protect. It does not produce any notes either with protectfootnotetext or with protectfootnotemark.

              – Cost
              Aug 24 '12 at 8:49






            • 1





              @Costi: Refer How do I update my TeX distribution?

              – user11232
              Aug 24 '12 at 14:09








            4




            4





            It could be sensible to use the optional argument of caption, as in caption[Table is very long]{Table is very longprotectfootnotemark} to prevent the mark from having a wrong numbering in the text and from appearing also in a possible list of figures

            – Gonzalo Medina
            Mar 30 '12 at 23:52





            It could be sensible to use the optional argument of caption, as in caption[Table is very long]{Table is very longprotectfootnotemark} to prevent the mark from having a wrong numbering in the text and from appearing also in a possible list of figures

            – Gonzalo Medina
            Mar 30 '12 at 23:52













            @GonzaloMedina, Thanks, I have made the changes.

            – user11232
            Mar 30 '12 at 23:57





            @GonzaloMedina, Thanks, I have made the changes.

            – user11232
            Mar 30 '12 at 23:57













            With the changes made, protect is unnecessary.

            – Ivan Bychkov
            Apr 1 '12 at 21:50





            With the changes made, protect is unnecessary.

            – Ivan Bychkov
            Apr 1 '12 at 21:50













            I am trying this as well. My documentclass is report. It returns errors if I don't use protect. It does not produce any notes either with protectfootnotetext or with protectfootnotemark.

            – Cost
            Aug 24 '12 at 8:49





            I am trying this as well. My documentclass is report. It returns errors if I don't use protect. It does not produce any notes either with protectfootnotetext or with protectfootnotemark.

            – Cost
            Aug 24 '12 at 8:49




            1




            1





            @Costi: Refer How do I update my TeX distribution?

            – user11232
            Aug 24 '12 at 14:09





            @Costi: Refer How do I update my TeX distribution?

            – user11232
            Aug 24 '12 at 14:09











            0














            You can keep the normal footnote command by using the footnotehyper package:



            documentclass{book}
            usepackage{longtable}
            usepackage{footnotehyper}
            makesavenoteenv{longtable}

            begin{document}

            begin{longtable}{|c|}
            caption[tab]{Tablefootnote{Footnote}} \
            hline
            Something \
            hline
            end{longtable}

            end{document}





            share|improve this answer




























              0














              You can keep the normal footnote command by using the footnotehyper package:



              documentclass{book}
              usepackage{longtable}
              usepackage{footnotehyper}
              makesavenoteenv{longtable}

              begin{document}

              begin{longtable}{|c|}
              caption[tab]{Tablefootnote{Footnote}} \
              hline
              Something \
              hline
              end{longtable}

              end{document}





              share|improve this answer


























                0












                0








                0







                You can keep the normal footnote command by using the footnotehyper package:



                documentclass{book}
                usepackage{longtable}
                usepackage{footnotehyper}
                makesavenoteenv{longtable}

                begin{document}

                begin{longtable}{|c|}
                caption[tab]{Tablefootnote{Footnote}} \
                hline
                Something \
                hline
                end{longtable}

                end{document}





                share|improve this answer













                You can keep the normal footnote command by using the footnotehyper package:



                documentclass{book}
                usepackage{longtable}
                usepackage{footnotehyper}
                makesavenoteenv{longtable}

                begin{document}

                begin{longtable}{|c|}
                caption[tab]{Tablefootnote{Footnote}} \
                hline
                Something \
                hline
                end{longtable}

                end{document}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 20 mins ago









                Andrew DunningAndrew Dunning

                639316




                639316






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f50151%2ffootnotes-in-longtable-captions%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Entries order in /etc/network/interfaces

                    新発田市

                    Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)