7

I use in my document boxes created with tcolorbox package. Each box can cover few pages in document, and I would like to add some footnotes inside the box. But I want the footnotes to occur together with the standard footnotes in my document, so I use \footnotemark inside the box. But there is a problem. Each footnote should occur at the bottom of the page on which it appears, not after box.

Do you have any suggestions?

I've found this topic, but it didn't help me.

\documentclass[a4paper,12pt]{article}
\usepackage{lipsum,changepage}
\usepackage{parskip}
\usepackage[top=2cm,bottom=2cm,left=2cm,right=2cm]{geometry}
\usepackage[most]{tcolorbox}

\newtcolorbox{myquotation}{%
  blank,breakable,parbox=false,check odd page,left=2cm,
  toggle left and right}

\begin{document}

\lipsum[1-4]

\begin{myquotation}
\lipsum[1-5]
\textbf{And here I would like to add first footnote\footnotemark. At the bottom of this page.}
\lipsum[1-5]
\textbf{And after some text, here should be second footnote\footnotemark. At the bottom of this page.}
\lipsum[1-3]
\end{myquotation}

\addtocounter{footnote}{-1}\footnotetext{first footnote}
\addtocounter{footnote}{1}\footnotetext{second footnote}

\lipsum[1-3]

\end{document}
12
  • 2
    Currently, I see no solution for that wish. The footnotes are placed correctly, but not at the place you want them to be. To do the trick, the footnotes had to be transported outside the box while breaking the page which would heavily interfere with the break algorithm. I'm sorry. Jul 18, 2013 at 12:33
  • 1
    Alternatives to footnotes? might be useful- see the comment that quotes Jill Knuth :)
    – cmhughes
    Jul 18, 2013 at 18:01
  • @mc2 was your problem solved then? if so, please provide an answer for your question to remove it from the list of unanswered questions
    – masu
    Oct 10, 2013 at 20:23
  • 1
    @masu Unfortunately problem is not solved. I've decided to not use footnotes in that way.
    – mc2
    Oct 28, 2013 at 11:32
  • 5
    Currently, there seems to be no way to achieve the requirements. Jan 8, 2016 at 8:38

0

Browse other questions tagged or ask your own question.