% quelques dimensions
\newlength{\bc@invboxh}\newlength{\bc@invboxd}%
\newlength{\bc@titleLength}%
-\newlength{\logowidth}
-\newlength{\bc@mdfboxwidth}
-\newlength{\bc@mdfboxheight}
-% \newlength{\bc@mdf@ymargin@length}
+\newlength{\logowidth}%
+\newlength{\bc@mdfboxwidth}%
+\newlength{\bc@mdfboxheight}%
+%\newlength{\bc@mdf@ymargin@length}
%
\setlength{\logowidth}{17pt}%
\ProcessOptionsX%
%
-%
\ifbclogotikz%
\RequirePackage{tikz}%
\usetikzlibrary{shadows}% pour l'ombre
\define@boolkey{bclogo}{noborder}[true]{\ifKV@bclogo@noborder\setlength{\bcval@borderWidth}{\z@}\fi}%
\define@boolkey{bclogo}{ombre}[true]{}%
\define@boolkey{bclogo}{avecBarre}[true]{}%
-\define@boolkey{bclogo}{nobreak}[false]{}%
+\define@boolkey{bclogo}{nobreak}[true]{}%
\define@boolkey{bclogo}{blur}[true]{\ifKV@bclogo@blur\KV@bclogo@ombretrue\fi}%
\define@choicekey{bclogo}{barre}{none,line,snake,motif,zigzag,imageExt,imageClip, wave}[line]{%
\ifthenelse{\equal{#1}{none}}{\KV@bclogo@avecBarrefalse\gdef\bc@barre{}}%
fontcolor=\bcval@couleurTexte,%
linewidth=\bcval@borderWidth,%
roundcorner={\bcval@arrondi cm},%
- nobreak=\bcval@nobreak]%
+ \ifdef{\mdf@nobreak}{,nobreak=\bcval@nobreak}{}%%l'option nobreak de mdframed vient avec la version 0.9
+]%
}%
{%
\endmdframed\par%
\fi%
}%
\rput[tl](\dimexpr0.5\bcval@framesep+\mdf@middlelinewidth@length,%
- \dimexpr\mdfboundingboxheight-0.75\bcval@framesep-\mdf@middlelinewidth@length){\usebox\bc@envbox}%
+ \dimexpr\mdfboundingboxheight-0.75\bcval@framesep-\mdf@middlelinewidth@length){\box\bc@envbox}%
\rput[bl](\dimexpr\mdf@middlelinewidth@length+0.5\bcval@framesep,0){\bc@barre}%
\rput[bl](\dimexpr\mdf@innerleftmargin@length+\mdf@middlelinewidth@length,0){\box\tw@}%
\end{pspicture}%