I have TeXLive 2011 distribution on my Windows 7. I haven't updated it before. I downloaded it as an iso file. Anyway, I tried to use the mdframed package in an example document like below:
\documentclass{article}
\usepackage{mdframed}
\usepackage{xcolor}
\surroundwithmdframed[
hidealllines=true,
backgroundcolor=black!20,
skipbelow=\baselineskip,
skipabove=\baselineskip
]{equation}
\begin{document}
Text
\begin{equation}
1+1=2
\end{equation}
Text
\end{document}
But I got the message:
! Undefined control sequence.
As I've asked it means possibly my mdframed
package is not updated.
What should I do? I need to use the mdframed
package.
:-)
– user11232 Nov 27 '12 at 15:04TeXLive 2012
iso
if re-installation is an option – hpesoj626 Nov 27 '12 at 15:11