1

My preamble is as follows:

\documentclass{book}
\usepackage{xcolor}
\usepackage[framemethod=default]{mdframed}
\usepackage{lipsum}

\newmdenv[skipabove=7pt,
skipbelow=7pt,
rightline=false,
leftline=true,
topline=false,
bottomline=false,
backgroundcolor=black!10,
linecolor=black,
innerleftmargin=12pt,
innerrightmargin=12pt,
innertopmargin=12pt,
innerbottommargin=12pt,
splittopskip=16.5pt,
splitbottomskip=12pt,
leftmargin=0cm,
rightmargin=0cm,
footnotedistance=22pt,
linewidth=4pt]{dBox}
\begin{document}

\begin{dBox}
\lipsum[1]
\end{dBox}

\end{document}

I got the error Package kvsetkeys Error: Undefined key footnotedistance.

If I comment the line footnotedistance=22pt, then it works fine, The version of mdframed what I use is Package: mdframed 2013/07/01 1.9b: mdframed, please suggest what went wrong in my code...

Hope, it may require update of mdframed...

1

There's a typo in the documentation (or rather, in the code). The documentation says footnotedistance, but the code actually defines footenotedistance, with the extra e. The code should work if you change that.

This is unlikely to be fixed, as the last activity in the mdframed GitHub was in 2014, but I filed an issue anyway.

|improve this answer|||||
  • Thanks, this works.... I wondered no one realized this till date... – MadyYuvi Jan 24 at 5:13
  • @MadyYuvi It happens ;-) For example, in 11 years, nobody tried to use an O in a function name in TikZ. – Phelype Oleinik Jan 24 at 11:35
  • Ha ha ha... :-D, it's interesting... – MadyYuvi Jan 24 at 11:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.