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}

closed as off-topic by Thomas F. Sturm, user31729, user13907, Mensch, Romain Picot Jan 8 '16 at 9:54

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 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. – Thomas F. Sturm Jul 18 '13 at 12:33
  • 1
    Alternatives to footnotes? might be useful- see the comment that quotes Jill Knuth :) – cmhughes Jul 18 '13 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 '13 at 20:23
  • 1
    @masu Unfortunately problem is not solved. I've decided to not use footnotes in that way. – mc2 Oct 28 '13 at 11:32
  • 5
    Currently, there seems to be no way to achieve the requirements. – Thomas F. Sturm Jan 8 '16 at 8:38