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}
mc2
  • 307
  • 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
  • @ThomasF.Sturm: Can this problem be solved with a newer version of tcolorbox 'now'? –  Dec 31 '15 at 09:21
  • @ChristianHupfer Sorry for the delay (I am offline on Christmas holiday). No, there is no change regarding footnotes. And I do not see a way to do this... – Thomas F. Sturm Jan 08 '16 at 08:22
  • @ThomasF.Sturm: Thanks for reply. Well, what to do with this question then. Closing because it's impossible? –  Jan 08 '16 at 08:28
  • @ChristianHupfer I do not expect an answer which could fulfill the requirements. So, maybe, this question should be closed. It could be reopened or asked again if new things are showing up. – Thomas F. Sturm Jan 08 '16 at 08:34
  • @ChristianHupfer But none of the closing options are really correct ... Something like 'cannot be done' is missing from the option list. – Thomas F. Sturm Jan 08 '16 at 08:35
  • @ThomasF.Sturm: Perhaps 'off-topic' as it requests a feature that is not yet possible with LaTeX (or even expl3)? –  Jan 08 '16 at 08:35
  • 5
    Currently, there seems to be no way to achieve the requirements. – Thomas F. Sturm Jan 08 '16 at 08:38
  • @ThomasF.Sturm: By the way: I think there will be a free TUG - membership competition in some days starting. I expect (;-)) you to nominate yourself again -- a year ago you stepped down to give Sean Allred the win. –  Jan 08 '16 at 08:38
  • @ThomasF.Sturm You said (a long time ago) “Currently, there seems to be no way to achieve the requirements”. But isn't this method provided by John Kormylo precisely a way to achieve the requirements? – Denis Bitouzé Dec 10 '23 at 20:25

0 Answers0