TeX - LaTeX Asked by simonm12 on July 3, 2021
I would like to know how to put footnotes outside of a tcolorbox.
An simple example of what I get with the usual footnote command :
documentclass[10pt,a4paper]{article}
usepackage[english]{babel}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{tcolorbox}
begin{document}
begin{tcolorbox}
this is textfootnote{and a footnote inside the box} but I would like to have this footnote at the end of the page
end{tcolorbox}
end{document}
documentclass[10pt,a4paper]{article}
usepackage[english]{babel}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{tcolorbox}
usepackage{footnote}
usepackage{etoolbox}
BeforeBeginEnvironment{tcolorbox}{savenotes}
AfterEndEnvironment{tcolorbox}{spewnotes}
begin{document}
begin{tcolorbox}
this is textfootnote{and a footnote inside the box} but I would like to have this footnote at the end of the page
end{tcolorbox}
end{document}
Correct answer by js bibra on July 3, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP