I use tikz
and tcolorbox
for theorems. Also I want footnotes outside of the boxes, at the bottom of the page and with the same numbering like the others. I want something like this, but with the numbering style to be the same with the outside footnotes.
Is there any solution?
This is my code
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes,snakes}
\usepackage[most]{tcolorbox}
\usepackage{environ}
\renewcommand{\thefootnote}{[\Roman{footnote}]}% Footnote style!!!
\tikzstyle{mybox} = [draw=black, fill=white, very thick,
rectangle, rounded corners, inner sep=10pt, inner ysep=20pt]
\NewEnviron{tikzbox}{\begin{tikzpicture}
\node [mybox] (box){%
\begin{minipage}{0.50\textwidth}
\BODY
\end{minipage}
};
\end{tikzpicture}%
}
\NewEnviron{Tbox}{
\begin{tcolorbox}[enhanced,
breakable]
\BODY
\end{tcolorbox}
}
\begin{document}
Some main text Some main text Some main text Some main text Some main text Some main text\footnote{The first footnote.}
Other main text Other main text Other main text Other main text\footnote{The second footnote.}
\begin{tikzbox}
Some tikzboxed text Some tikzboxed text Some tikzboxed text\footnote{I want this footnote outside of the box and with number [III].}
\end{tikzbox}
\begin{Tbox}
Some tcolorboxed text Some tcolorboxed text Some tcolorboxed text Some tcolorboxed text Some tcolorboxed text Some tcolorboxed text\footnote{I want this footnote outside of the box and with number [IV].}
\end{Tbox}
\end{document}
and this is how it looks like:
Thanks in advance!!!
footnote
(not\footnotemark
) insidetikz
-box andticolorbox
. – Kώστας Κούδας Mar 25 at 12:04