I am trying to remove a separator line for footnotes in mdframed environment. I tried using \renewcommand\footnoterule{}
inside the mdframed environment, but this doesn't seem to work.
When I had to change the footnote symbol I had to use some temp values like this:
\renewcommand{\thempfootnote}{\color{white}{$\dagger$}}
Are there any similar temp values for \footnoterule
as well? It would be fine if I could either remove the black line or make it white...
MWE:
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{color}
\usepackage{xcolor}
\usepackage[framemethod=TikZ]{mdframed}
\mdfdefinestyle{vprasanje}{%
font=\normalsize,
linecolor=red,
outerlinewidth=0pt,
roundcorner=2pt,
innertopmargin=4pt,
innerbottommargin=4pt,
innerrightmargin=10pt,
innerleftmargin=10pt,
backgroundcolor=red,
settings={\definecolor{linkcolor}{RGB}{255,255,255}}}
\usepackage{footmisc}
\def\footnotelayout{\color{white}}
\begin{document}
\begin{mdframed}[style=vprasanje]
\renewcommand\footnoterule{}
\renewcommand{\thempfootnote}{\color{white}{$\dagger$}}
\textcolor{white}{This is a footnote\footnote{You can see that line is still there and color is black...}}
\end{mdframed}
\end{document}
rendered: